Arduino Bootcamp : From Novice to
Professional - Learning Through Projects
Controlling an LED with a Push Button Switch
Project Objectives
• In this project you will learn:
• How an LED works
• How to wire an LED in a circuit
• How a push button switch works
• How to connect a push button switch in a circuit
• Using the digitalRead() function
Parts
• Arduino Uno
• USB A-B cable
• Breadboard
• Red LED (or any color)
• 220 Ω and 1 kΩ resistor
• Push Button Switch
• Connecting wires
Circuit Diagram
Summary
• In this project you learnt:
• How an LED works
• How a push button switch works
• How to connect them in a circuit
• Using the digitalRead() function