O'Reilly logo

Arduino for Kids by Vijay Varada, Rishi Gaurav Bhatnagar, Priya Kuber

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Testing an external influence on LEDs - pushbutton switch

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required