Hello Arduino users!
I had some amazing help last time around with a project and hoping I can have the same luck again.
I just purchased a new motorcycle (Pulsar AS200 Red) and I want to personalize it with LEDs. However I don't want to go with the regular taxi driver in Cancun look, where they just glue the strips on.
I am thinking of two projects. The first is much more straight forward which I can probably do on my own, but would like any input and suggestions.
This first project consists of 20 5 mm amber LEDs (10 on each side) as turn signals, and about 20 5 mm red LEDs, as rear lights and break lights. (I do know I will need a large resistor for the blinker on the bike to work)
I plan to use a 12 v to two 5v 3A USB female connectors converter which I should be able to plug straight onto my motorcycle. From what I understand the motorcycle output is not a steady 12v but the converter does output a steady 5v so I don't have to worry about that anymore.
The questions I have that would help me out would be:
Should I put a resistor to each LED (doing the math for the right size), or can I get away with perhaps using only 2 resistors, one to drop from 5v to the right v's for the red and another for the amber, and just connect them parallel accordingly. Or would a combination of both be best, serial 2 or 3 leds plus a resistor to work out to 5v.
For the red LEDs, when I turn on the lights I would like for the leds to light up to 50%, and when I turn lights off for them to go off, but when break lights go on, for all leds to light up 100% regardless if lights are on or off. I was thinking of using the license plate light (which turns on and off with the lights) with extra resistors to lower the Vs enough to light up the red lights half way, but at the same time also have the break light connected to all red Leds, but with resistance to light reds 100 %. Would this work, or if lights are on (50%) then I turn the break lights on (add enough power to get to 100% on its own) the energy would add up and I would burn the Leds? (basically LEDs connected to two positives, one with lower voltage than the other)
The other project is the fun one, using an arduino. My last project (which was my first project) I created my own arduino instead of using a pre made one. For this project I will splurge and I do plan to use an actual Arduino Uno R3.
With this project I want to control about 80 Leds. Plan to put about 30 to 35 in the front windshield, embedded into the edges of the plexiglass. About 15 to 20 on each side panel behind some metal grills embedded onto the plastics. And about 5 to 6 leds on each side of the rear fender.
Undecided on the color yet. The bike is Red, I am on the fence between Red and Blue leaning a bit more towards the red. Both my GF and a good friend of my think blue would be nicer. What do you guys think?
I plan to use the arduino plus 2 TLC 5940 DIPs to control them. Each TLC can handle 16 Leds, so with two up to 32 at one time, since I am talking of up to 80 I would multiplex (if that is what is called). Would this be the advisable way of doing it?
To control the Leds/sequences I plan to use two toggle (on/off) switches and a push button. I plan to use the on/off switches to create 4 options (0,0 0,1 1,0 and 1,1), and have those switches control the function of the push button. Something like:
0,0 push button cycles through light density (very low, low, middle, high, very high)
0,1 push button cycles through animation speed
1,0 push button cycles through programmed animations, that use density and speed already set
1,1 push button cycles through custom animations that already have the density and speed of animation programmed in.
Is there a better way to accomplish what I want, or is that a good solution?
As an extra, would there be a way to use the push button, pressed for longer than x seconds to turn the lights completely off and on, or would I have to introduce another switch for that?