Project tutorial

Interactive Bike Motion Light and Display © CC BY

Flashy LED decor lights that respond to your bike's motion.

  • 6,582 views
  • 2 comments
  • 36 respects

Components and supplies

Apps and online services

About this project

prototype demo

Once every month I ride with "Critical Mass" cycling group of 300+ riders roaming city at night. I want to pimp up my bicycle with unique colorful lights that react to how I ride for safety and attention.

What it does

Interactive bike motion lights controller and display

  • Colorful LED patterns flashes and scrolls responds to bikes motion
  • Color change over vibrating bumpy road. Waving and turning. Accelerating and braking.
  • Control light patterns using smartphone over Bluetooth. Display speed / distance Speedometer and tachometer display.
  • Tracking distance traveled / health exercise counter.
  • Safety night riding with added breaking light effect and headlights.

How I built it

Parts:

  • Arduino 101
  • push button
  • magnets
  • Reed switch
  • LCD display
  • LED
  • addressable LED lights strips
  • Relay
  • 5V DC regulator
  • High power LED lights

Operation (see wiring diagram):

  • Reed switch to count tire rotation to determine speed, distance and light effect.
  • Build in gyro and accelerator in Arduino 101 triggered light effect.
  • Break switch to trigger all strip lights to bright red to warn trailing motorists.
  • Using phone running Blynk GUI App connected to Arduino as optional display and controller.
  • App displays Speed graph, distance. Allow color and light effect selection.

Break switch wiring: I wired a continuous close circuit loop that when a break in the handle bar will break the circuit. Interrupt will trigger all strip lights to red to warn tailing riders.

Reed switch wiring: I used the home security reed switch tied to the front wheel frame. Magnets secured to the wheel spool with groove cut into corners and sealed with duct tape.

Headlight Relay: Used a relay for powering the 12V high white LED head lights. Physical switch should suffice. But I want to control it via phone Arduino for other power devices. Such as musical horn.

LED light strip mounting: To spread colored LED lights more evenly. I mounted the colored led strip under the bike central bar and wrap acrylic tube to spread lights. I used angled tube plastic cover leftover from windshield wiper blade packaging. The thin angled acrylic cover reflects the LED lights like mirror and creates illusion of multiple strips of light from a single strip, - a nice surprising effect.

Wire all switches to a wire harness and connected to the Arduino with the per-tested prototype.

Blynk GUI APP: Download Blynk app. Scan the QR code to obtain the Bike LED Display GUI. Press Bluetooth button.

  • Select Bike Display. Wait for Bluetooth connection.
  • Press back button to return to interface after establish BLE connection to Arduino.
  • Press Play button on upper right corner.
  • Wait for Speed and graph to update.
  • View, control color and light effects with the GUI app.

Code

Bike LED Display Arduino code

Schematics

Wiring diagram
Bike led wiring diagram u32h2pchbe

Comments

Similar projects you might like

Binary Clock

Project showcase by pdio

  • 100 views
  • 4 comments
  • 1 respect

Central Heating Boiler Control Box

Project tutorial by Peter Groeneveld

  • 2,632 views
  • 6 comments
  • 17 respects

Arduino - Set Schedule via Web

Project tutorial by phpoc_man

  • 404 views
  • 2 comments
  • 13 respects

Protect Your Room with Fingerprints for Under $20

Project tutorial by Srivishnu Piratla

  • 3,137 views
  • 1 comment
  • 11 respects

Sump Pit Alarm

Project showcase by loupalladino

  • 110 views
  • 0 comments
  • 3 respects

Smart Talking Humanoid Robot Just with Arduino!

Project tutorial by ashraf_minhaj

  • 1,079 views
  • 4 comments
  • 10 respects
Add projectSign up / Login