Home / Arduino / Arduino Project 7- Button tactile switch and LED

Arduino Project 7- Button tactile switch and LED

In this tutorial, we will use the digitalRead function and learn how to read a digital pin.
In our case, the digital sensor that will be read will be a common button/reset tactile switch that when pressed will turn on the LED.

Components required:

Name Quantity Component
U1 1 Arduino Uno R3
D1 1 Green LED
R1 1 220 Ω Resistor
S1 1 Pushbutton
R2 1 10 kΩ Resistor

  • Facebook
  • Twitter
  • Linkedin
  • Pinterest

Leave a Comment

Your email address will not be published. Required fields are marked *

fifty five + = 58

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This div height required for enabling the sticky sidebar
Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views : Ad Clicks : Ad Views :

Please Subscribe

Thank you!