LED Blinking with Button Using Raspberry Pi

Опубликовано: 24 Июль 2026
на канале: Smit Shah
2,597
55

In this video, I had explained how you can blink led using Raspberry Pi and tactile switch.

Here, what I had done is when my switch is in the off state, my led will keep blinking and when I press the switch that means my switch is in on state, then led will be continuously in on state.


Components Required:
Raspberry Pi 4
Adapter: for power supply
LAN Cable: for connecting RPi with laptop
Bread Board
Jumper Wire: Male-Male, Male-Female
Led
Tactile Switch

Code: https://github.com/smitshah99/YouTube...

============================================================

Link from where you can buy components


Raspberry Pi 4, 2GB kit: https://amzn.to/35zgyqj

Jumper wire: https://amzn.to/34sqGSs

Breadboard: https://amzn.to/35CVlvR


Software used:
For schematic - KiCAD:

============================================================

Subscribe:    / @smitshah1304  

Get in touch
Email: [email protected]