June 2016
Intermediate to advanced
272 pages
5h 11m
English
IN THIS PROJECT, YOU’LL ADD A PUSHBUTTON SWITCH TO AN LED CIRCUIT TO CONTROL WHEN THE LED IS LIT.


PARTS REQUIRED
• Arduino board
• Breadboard
• Jumper wires
• LED
• Momentary tactile four-pin pushbutton
• 10k-ohm resistor
• 220-ohm resistor
This project will take you through the basics of switches, which you’ll be using a lot throughout this book. Almost all electrical items use switches to turn an element on or off. There are many types of switches, and the one you’ll use now is a pushbutton (Figure 1-1