Working with a Push Button

Abstract

  • This project demonstrates the use of a push button to operate a LED.

Objective

  • To Set LED ON when Button is pressed.
  • To Set LED OFF when Button is pressed (the opposite effect).
Components Required
Component Qty Remarks
Arduino 1 UNO
Breadboard 1 Small
Push Button 1
LED 1
Resistor 2 1 kΩ
Jumper Wires as required
Circuit Diagram
Circuit Diagram: working with Push Button
Schematic Diagram
Shematic Diagram: working with Push Button
Breadboard Diagram
Breadboard Diagram: working with Push Button

Code

Comments

Popular Posts

Arduino