Finally got a full mockup of my bike lights POV project going! I wrote

Finally got a full mockup of my bike lights POV project going!

I wrote a small Python app that takes images and “unrolls” them so that they will display properly on the wheel, ultimately storing RGB pixel values into a unique text file. The text files are then stored on a micro SD card that is loaded into the reader within the wheel itself.

When the lights are turned on they automatically load a “default” picture but I wrote a companion Android app that can connect to the bluetooth module in the wheel, receive a list of all the files (images) on the SD card, and then select which one should be loaded into RAM and displayed (as seen in the video).

The project is built around a Teensy 3.1 and utilizes a bluetooth module, a hall sensor, a micro SD reader, and the ever-wonderful FAST_LED to bit bang a bunch of 8806s (ws28*s weren’t fast enough for this application). I’m hoping to get some custom 8806 strips going to increase the pixel density 2-3x in order to further improve the image replication.

A whole bunch of finalizing needs to be done to turn this from cardboard and duct tape to a reliable, waterproof implementation that I can strap to a bike, but at least that gives me something to do for a few weeks. Once I’m done I’ll put together diagrams and all of the code involved in case anyone is curious. I know video cameras can’t capture POV very well, you’ll have to trust me when I say it looks totally wicked :slight_smile:
http://www.youtube.com/watch?v=Cu0mKToSdps

Nice!!!

I can’t wait to check out your code it would really help me understand a few things for my future project.

Are you using a timing mechanism, hall sensor, reed switch … I didn’t see a little gerbil, so I’m assuming something else.

He’s using a hall

Yep, hall in the wheel and a magnet on the fork

How did you get blue tooth working? I’m having a he’ll of a time making mine transmit to the micro

He used the force. :slight_smile:

But I’m not strong with the force :frowning:

What exactly are you trying to do? The Arduino/Teensy side was pretty simple, the Android side was less so.

Well I’m fine with android to the device but it doesn’t talk to the arduino and control it

Wrong rx / tx pins being used?

Nope I checked

I’m not sure about the Micro but I know on the Nano that the serial TX/RX pins are shared with the USB port, meaning that if you have a USB cable plugged in to the Nano there’s no way you’re going to be able to transmit or receive any intelligible data from the TX/RX pins. If you’re doing your testing using the USB as a power source or serial monitor this could be a problem.

This’ll be @JJ_Graham in a not too distant future: http://en.miui.com/thread-11198-1-1.html

I hadn’t even considered animated images… hmmm…

Did you see how MonkeyLectric does it? http://www.monkeylectric.com/monkey_light_pro/

I would like it check out the web app they talked about.

Compare the different styles they have here: http://www.monkeylectric.com/wheel_light_comparison/

The monkey lights actually served as inspiration, I loved the functionality but hated the price (almost a grand per wheel!) so I set off to make my own :slight_smile:

Same reason I’m making mine.