TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Control RGB LED bike lights with Raspberry Pi

    Scheduled Pinned Locked Moved Raspberry Pi
    raspberry pi
    1 Posts 1 Posters 1.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • RussR Offline
      Russ
      last edited by Russ

      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
      

      raspberry pi bike lights

      This shows the Raspberry Pi with the button and the 300 LED strip connected.

      pinout high level

      pinout 1

      pinout 2

      Russell VanderMey

      1 Reply Last reply Reply Quote 0
      • RussR 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
      • First post
        Last post