0

July 12, 2016 AT 12:17 pm

NeoPixel Rear Bicycle Light Auto-Blinks when Turning #Arduino

arduino-bike1-1

arduino-bike-4

arduino-bike-7-1

This Arduino bike lighting project upgrades your bike’s light and takes it to the next level so that the backlight of the bike automatically notifies others when you are turning.

We used Arduino UNO as our main microcontroller (use Nano or Pro mini to shrink the size if needed), Accelerometer to detect the 3 axis directions and Neopixel to blink the LEDs in the corresponding direction of movement.

Description

Blinks toward the direction you are turning in green (e.g. Turning to the left or the right)
Turns to red when you are riding forward.

Thanks to Omar Hussein for sharing this fun beginner project and providing the code here on GitHub.


Featured Adafruit Products!

NewImage

NeoPixel Stick – 8 x 5050 RGB LED with Integrated Drivers: Make your own little LED strip arrangement with this stick of NeoPixel LEDs. We crammed 8 of the tiny 5050 (5mm x 5mm) smart RGB LEDs onto a PCB with mounting holes and a chainable design. Use only one microcontroller pin to control as many as you can chain together! Each LED is addressable as the driver chip is inside the LED. Each one has ~18mA constant current drive so the color will be very consistent even if the voltage varies, and no external choke resistors are required making the design slim. Power the whole thing with 5VDC (4-7V works) and you’re ready to rock. Read more.


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — HAX Hardware Trends 2017

Wearables — Stay put, paint!

Electronics — Clarify your supply

Biohacking — Nucleus 7 – A Native Cochlear Sound Processor for iPhone

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.