Skip to main content

Upgrade your bike with LEDs, raibows and turn signals.

Project description

The Glowing Bike Project

Upgrade your bike with LEDs, raibows and turn signals.

Want your bike getting upgraded by me or do you have some ideas for the project? Fill out this contact form.

Want to support the development and stay updated?

Become a Patreon Donate using Liberapay

Click here to see photos of the bike.

Features

  • Turn left & right animation
  • Rainbow animation
  • Safe driving animation

Requirements

Hardware

  • your bike
  • 1x ESP8266 or ESP32 (for example NodeMCU)
  • 3x WS2812B LED strips with waterproof protection
  • 3x USB to MicroUSB cables with switch to turn on/off power
  • 2x Toggle switches
  • 1x external battery with 3 or more USB ports
  • a bunch of longer cable ties
  • tape
  • soldering iron, solder
  • cables, to connect LED strips, Toggle switches, USB power cables and ESP
  • fur fabric

Software

  • Python 3
  • clone this repo
  • latest MicroPython for your ESP8266 or ESP32 (.bin file)

How to test the code

pip install glowingbike

sudo python

from glowingbike import Bike

Bike(test=True).on()

How to upgrade your bike

Software

Electronics overview

Photo

Hardware

  • tape one LED strip to the back of your bike, one to the center part and one at the front of your bike
  • for each LED strip solder the LED strip power and ground to the power and ground of one of the USB cables with a switch in the middle (on Micro USB side) - and connect the power and ground of the ESP to the USB cable with the least amount of LEDs connected
  • solder the data cables of the LED strips to the ESP (GPIO 13 for the front LEDs, GPIO 12 for the center LEDs and GPIO 14 for the back LEDs)
  • connect the USB cables with the external battery and fix the battery on the back of your bike
  • fix the toggle switches to your bike handlebar at the front (using tape and cable ties) and solder it to the ESP (use GPIO 3 for the data pin of the left switch, GPIO 1 for the right switch)
  • once you connected all the electronics, cut out pieces of fabric to cover the cables connecting the front LED strip and switches, cover the bike with your fabric and make sure the LEDs aren't covered with the fabric
  • fix the fabric, LED strips and wires using cable ties

Done! Turn on all three switches and you are ready to drive:)

Photos

Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo Photo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glowingbike-1.0.10.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

glowingbike-1.0.10-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page