In this video I show how to control a 5v single color LED strip using a Raspberry Pi and a MOSFET. I'm powering the LED strip directly from the Raspberry Pi. If you are using a short run of lights this should be fine, but for larger runs you will need an external power supply.
Announcing the BasementMaker Raspberry Pi Configurator script:
https://github.com/basementmaker/rasp...
The script will automatically update your Raspberry Pi and configure it with the software required to work on this project.
How to use:
wget https://raw.githubusercontent.com/bas...
chmod +x pi-config.sh
./pi-config.sh
You can also use the shorter url:
wget https://basementmaker.net/pi-config.sh
chmod +x pi-config.sh
./pi-config.sh
Run the script, select: Standard Setups
and then select: PiGPIO
If you prefer to install PiGPIO manually, here are those commands:
sudo apt install -y build-essential python-setuptools python3-setuptools
wget https://github.com/joan2937/pigpio/ar... && unzip master.zip && cd pigpio-master && make && sudo make install
Commands:
sudo pigpiod
pigs p 17 255
Subscribe to my channel: http://bit.ly/subscribe2basementmaker
My Website: https://basementmaker.net/
Twitter: / basementmaker
Instagram: / basementmaker
Facebook: / basementmaker
Items Used in this Video (affiliate links):
Breadboard (Half Size): https://amzn.to/2qSem9v
CanaKit Raspberry Pi 3 B+ with 2.5A Power Supply: https://amzn.to/2FtdPox
ELEGOO Half-Size Breadboard - 3 Pack: https://amzn.to/2SZPaKQ
Helping Hands Third Hand Soldering Tool and Vise: https://amzn.to/2T9X45n
N-Channel Power Mosfet: https://amzn.to/2FvpeEn
Raspberry Pi 3 Model B+: https://amzn.to/2W9HdWa
US Art Supply 18" x 24" GREEN/BLACK Professional Self Healing Mat: https://amzn.to/2GtNhB7
USB LED Strip Light White 5V Non-Waterproof: https://amzn.to/2SPAiRr
This video on my website: https://bounce.basementmaker.net/vide...
Watch video Raspberry Pi Controlling LED Strip Lights (5v) online without registration, duration hours minute second in high quality. This video was added by user BasementMaker 11 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,122 once and liked it 78 people.