Project tutorial

Interactive Bike Motion Light and Display © CC BY

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

  • 4,508 views
  • 1 comment
  • 27 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.

Schematics

Wiring diagram
Bike led wiring diagram u32h2pchbe

Code

Bike LED Display Arduino code

Comments

Similar projects you might like

Pac-Man LED Pixel Panel Costume

Project tutorial by Ben Muller

  • 4,498 views
  • 3 comments
  • 78 respects

LoRa Gateway for DeviceHive

Project tutorial by DeviceHive IoT team

  • 1,156 views
  • 2 comments
  • 16 respects

IoT Bird Feeder with Sigfox and Tweeter

Project showcase by Gaël Porté

  • 326 views
  • 0 comments
  • 7 respects

Raspberry Pi and Arduino Laptop

Project tutorial by Dante Roumega

  • 17,563 views
  • 6 comments
  • 44 respects

SmartWay

Project tutorial by Universum

  • 194 views
  • 0 comments
  • 4 respects

Arduino-Based Automatic Guitar Tuner

Project tutorial by Ben Overzat

  • 3,168 views
  • 0 comments
  • 10 respects
Add projectSign up / Login