Skip to main content

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

Metadata

Release files for glowingbike 1.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glowingbike 1.0.10
File Size Uploaded
glowingbike-1.0.10.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for glowingbike 1.0.10
File Interpreter ABI Platform
glowingbike-1.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 14.8 kB

Release files / glowingbike-1.0.10.tar.gz

Download URL glowingbike-1.0.10.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1f3843ead0f119b5f117d8e5b029dc71b4f4e272f4c19abb640fcd7b9e84208a
BLAKE2b-256 checksum
How to use checksums
7df617b484a7d8cde8f8dc1111e952e9870e05d68c084850756763017a642702
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release files / glowingbike-1.0.10-py3-none-any.whl

Download URL glowingbike-1.0.10-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f602502e58992487ac82c92d9634466707d4a3de20e77b0934909bc575b610c6
BLAKE2b-256 checksum
How to use checksums
629e1b6962b75d1a79d3d78317fce1eea8a67a009ed591c0edecd5d761b7707c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.0.10 This release

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page