Working With a LED and a Push Button Using Arduino in TinkerCAD

This project demonstrates working with a LED and a Push Button using Arduino in TinkerCAD circuits.

Supplies:

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

Share

    Recommendations

    • Classroom Science Contest

      Classroom Science Contest
    • IoT Challenge

      IoT Challenge
    • Fandom Contest

      Fandom Contest

    Discussions