Skip to content

r-trigo/raspberrypi-ledstrip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Raspberry Pi & LED-Strip

Hardware setup

Use the following pins:

  • GPIO17 for red
  • GPIO27 for green
  • GPIO22 for blue

Note: I used an external power supply for the LEDs 12v and ground connections.

Software setup

apt install pigpio python3-pip
pip3 install pigpio
chmod u+x rgb-launcher.sh
./rgb-launcher.sh

Set script to run on reboot (optional)

crontab -e
# insert the path to the script and save
@reboot /home/pi/repos/raspberrypi-ledstrip/rgb-launcher.sh

Useful links

Here you can find a tutorial about how to connect a Raspberry Pi to a LED-Strip Here is a tutorial for running fading.py on boot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.2%
  • Shell 7.8%