Working With Two LEDs and Two Push Buttons

This project illustrates the use of two PUSH BUTTONS to operate two LEDs

Teacher Notes

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

For one set of LED and the Push button, when button is pressed LED is set ON and when the button is released, LED will be set OFF. for the other set, its the opposite effect.

Step 2: Components Required

  • Arduino (1 No.)
  • Breadboard (1 No.)
  • LED (2 No.)
  • Push Buttons (2 No.)
  • Resistor (4 No.)
  • Jumper Wires (10 No.)

Step 3: Breadboard Diagram

Make Connections as shown in the figure.

Step 4: Block Code

Create blocks as shown in figure.

Step 5: Start Simulation

Click Start Simulation to see it in action.

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions