LED Blanking using Button
Вставка
- Опубліковано 11 лис 2024
- LED Blinking with a Push Button using Arduino Uno
In this Project, You’ll add a push button switch to an led circuit to control when the led is lit.
Parts Required:
• Arduino board
• Breadboard
• Jumper wires
• LED
• Momentary tactile four-pin push-button
• 10 k-ohm resistor • 220-ohm resistor
How it Works:
When pressed, a push-button completes a circuit, turning it on. As soon as the button is released, the connection will spring back and break that circuit, turning it off. The push-button switch is also known as a momentary or normally open switch, and is used in, for example, computer keyboards. This is in contrast to a toggle switch, which stays either on or off until you toggle it to the other position, like a light switch.This type of push-button has four pins, but you generally use only two at a time for connection. You’ll use the top connections in this project, although the two unused pins at the bottom would do the same job.