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.
- Arduino 101
- push button
- Reed switch
- LCD display
- addressable LED lights strips
- 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.