Control RGB LED bike lights with Raspberry Pi
-
I extended this project with a physical button, and published the code on Github.
This Youtube video shows it working: https://youtu.be/IYHZDfvMqgA
This Github repo has the code I used: https://github.com/rvmey/bike-pi
LED strip: https://www.amazon.com/gp/product/B07BKQ6KCK <- I used 30 LED's, but if you use the full 300 LED strip, change this line in the fancy.py script to 300 to get the rainbow effect throughout all 300 leds.num_pixels = 300
This shows the Raspberry Pi with the button and the 300 LED strip connected.



-
R Russ referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login