Using their NeoPixel and Feather products as the main components, Adafruit has built a sci-fi-inspired bicycle headlight that can navigate through a variety of colors and animations. All of the parts (for building this project) are available to download, so you can remix and remodify.
Let’s get to work!
Adafruit picked the Feather platform because it comes fully featured and can be expanded using FeatherWing add-ons. This board has USB charging and comes with CircuitPython. Check out the newest version of CircuitPython and, if necessary, update your board before you begin your building process. Install the NeoPixel library for Circuit Python, then upload the code.
Here are the STL files. The pieces need tight tolerances, and this may mean having to adjust slicer settings.
Adafruit used Ultimaker’s CURA, recommending 20% infill, 60-mm/s printing speed, 0.2-mm layer height (with a 0.4-mm nozzle), and 0.38-mm line width (inner and outer widths).
Adafruit went for Rapunzel Silver PLA and Vertigo Galaxy PLA. These options were picked from Fillamentum’s ExtraFill filaments.
The basic steps for wiring and soldering are the following:
At this stage, your headlight is ready for assembly, but not before you test NeoPixels. First, ensure that they are wired the right way. Then use a NeoPixel example code to test the NeoPixels. The testing process may involve updating and uploading the code. Plug in the battery, and you are ready to go.
Here’s how to put it all together:
Whenever you connect the Adafruit Feather to a computer, you get a chance to access the code and the libraries (as it will show up as a flash drive). The code – which is written in Adafruit’s Circuit Python – lives on the drive to allow for quick code changes without the need for an IDE.
If you think these steps to be too complicated, Adafruit has excellent resources to take you through soldering as well as handling the Feather M4 Express, Circuit Python, and NeoPixels:
Enjoy your new multicolor bike light!
License: The text of "Weekend Project: NeoPixel Bike Light" by All3DP is licensed under a Creative Commons Attribution 4.0 International License.
Subscribe to updates from All3DP
You are subscribed to updates from All3DP
You can’t subscribe to updates from All3DP. Learn more…