Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino for Kids

You're reading from   Arduino for Kids A cool guide to help kids develop robots and electronics

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781785884818
Length 218 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (3):
Arrow left icon
Rishi Gaurav Bhatnagar Rishi Gaurav Bhatnagar
Author Profile Icon Rishi Gaurav Bhatnagar
Rishi Gaurav Bhatnagar
Priya Kuber Priya Kuber
Author Profile Icon Priya Kuber
Priya Kuber
Vijay Varada Vijay Varada
Author Profile Icon Vijay Varada
Vijay Varada
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. The World around Us FREE CHAPTER 2. Systems and Logic 3. Components and Connections 4. The Magic Wand 5. Hello World! 6. Safety Box 7. Make a Friend 8. Save Energy 9. High 5! 10. Plant, Meet Arduino!

Testing an external influence on LEDs - pushbutton switch


We all know what a switch is don't we. We just read about it in the previous chapter. We know how it works conceptually. Let's see how it works practically and in circuits.

In this project, we will use a push button switch. This is how it looks.

Image source: https://www.sparkfun.com/products/97

The working principle of the switch is rather simple. You press it, circuit connection is formed hence the circuit works, if you release it, the circuit breaks, so the circuit doesn't work.

At the stage when the pushbutton is un-pressed, we will call the state of pushbutton to be open. When the pushbutton is pressed, we will call that state as closed.

We will use the following components:

  • Resistor - 10KOhm

  • Push button switch

  • Breadboard

The following diagram explains how the circuit looks:

To make the above circuit connections, we are going to use a breadboard.

Note

Do you know what a breadboard is? Find out what a breadboard is how it works using...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime