<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Control RGB LED bike lights with Raspberry Pi]]></title><description><![CDATA[<p dir="auto">I extended <a href="https://www.triggercmd.com/forum/topic/636/led-strip-control-from-a-raspberry-pi">this project</a> with a physical button, and published the code on Github.</p>
<p dir="auto">This Youtube video shows it working:  <a href="https://youtu.be/IYHZDfvMqgA" rel="nofollow ugc">https://youtu.be/IYHZDfvMqgA</a><br />
This Github repo has the code I used:  <a href="https://github.com/rvmey/bike-pi" rel="nofollow ugc">https://github.com/rvmey/bike-pi</a><br />
LED strip:  <a href="https://www.amazon.com/gp/product/B07BKQ6KCK" rel="nofollow ugc">https://www.amazon.com/gp/product/B07BKQ6KCK</a>  &lt;- I used 30 LED's, but if you use the full 300 LED strip, change <a href="https://github.com/rvmey/bike-pi/blob/master/fancy.py#L15" rel="nofollow ugc">this line in the fancy.py script</a> to 300 to get the rainbow effect throughout all 300 leds.</p>
<pre><code>num_pixels = 300
</code></pre>
<p dir="auto"><img src="https://triggercmdagents.s3.amazonaws.com/Pics/bike-pi.jpg" alt="raspberry pi bike lights" class=" img-fluid img-markdown" /></p>
<p dir="auto">This shows the Raspberry Pi with the button and the 300 LED strip connected.</p>
<p dir="auto"><img src="https://triggercmdagents.s3.amazonaws.com/Pics/bike-pi-pinout/pinout1.jpg" alt="pinout high level" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://triggercmdagents.s3.amazonaws.com/Pics/bike-pi-pinout/pinout2.jpg" alt="pinout 1" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://triggercmdagents.s3.amazonaws.com/Pics/bike-pi-pinout/pinout3.jpg" alt="pinout 2" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.triggercmd.com/forum/topic/1739/control-rgb-led-bike-lights-with-raspberry-pi</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 02:22:53 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/1739.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Oct 2021 21:28:01 GMT</pubDate><ttl>60</ttl></channel></rss>