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.8.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glowingbike-1.0.8-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file glowingbike-1.0.8.tar.gz.

File metadata

  • Download URL: glowingbike-1.0.8.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for glowingbike-1.0.8.tar.gz
Algorithm Hash digest
SHA256 7b93085f4952313b63267db24d704bd10f8538dbd695cf023970fd3c4f3ce094
MD5 b0de9d75bc7f6c92486365b7f13ed7d9
BLAKE2b-256 b7b02fb19305cff3a322fe942f80f007557c13f6204a4610f0f138e958fcb05d

See more details on using hashes here.

File details

Details for the file glowingbike-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: glowingbike-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for glowingbike-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 eb072df95bbcc6fa9f51cfe3a7adc0c4a2898c6a81a4158077250592216e358e
MD5 66dc183b583d817ec307bd7f02f7a861
BLAKE2b-256 4dee20b72dfa51520fe614bcb6fbbcc0b2a06d2288c66cad197f07fdbc09bbc7

See more details on using hashes here.

Supported by

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