This project demonstrates working with a LED and a Push Button using Arduino in TinkerCAD circuits.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Objective
- Make the LED ON when the Push Button is Pressed.
- Make the LED OFF when the Push Button is Pressed.
Step 2: Components Required
- Arduino UNO (1 No.)
- Breadboard (1 No.)
- Resistor 1k ohm (2 No.)
- LED (1 No.)
- Push Button (1 No.)
- Jumper wire (5 No.)
Step 3: Breadboard Diagram
Make the connections as shown in the figure above.
Step 4: Block Code: LED Turns ON When Push Button Is Pressed
Step 5: Block Code: LED Turns OFF When Push Button Is Pressed
Step 6: Start Simulation
Click Start Simulation to see the action