Hi everyone,
I'm currently working on navigation lights for my RC airplane 8). I have been lurking through the forum and other places looking for a way to best select the battery and general wiring for my project. I did not want to take up all my IO ports as I actually wanted to follow Airbus lighting sequence and lighting and that would require a lot of ports for things that are essentially doing the same thing.
My problem:
I have 4 separate sets of lights (Strobe Lights, Positioning Lights, Beacon, and Tail Strobe, additionally in the future I'll add extra landing lights) in groups doing the same thing each.
The code has already been written and the lights tested with one LED per function group. So far, so good. But now, as I need to place this on an RC airplane, I need to run the Arduino Uno on batteries, as well as the whole LED setup. I can't figure out for the life of me how to choose the correct batteries to power it up safely and sufficiently. I have read all those tutorials on calculating the load of a circuit, power, and series/parallel arrays, Ohm's Law, so on and so forth... I just can't figure out how to calculate the power requirements and how much will be sufficient for everyone to be safely happy (board and LEDs).
The problem is that the lights are not going to go in same color groups which makes lights share a common current and voltage. For instance:
Position Lights
I plan on connecting 2 LEDs in place of every light.
So: 2x Red LEDs (left wing), 2x Green LEDs (right wing) and 2X Yellow LEDs (tail) and since they're all doing the same thing (just being on permanently while the code runs) I want to wire them together and connect them to just one port. (Yes, with a transistor (BC337), and each with their own current limiting resistor).
Strobe Lights:
2 White LEDs (left wing), 2 White LEDs (right wing) (each)
Beacon Lights:
2 Red LEDs (top) 2 Red LEDs (bottom) (connected to PWM as they fade in and out)
Tail Strobe:
2 White LEDs
I don't know how to best wire them, I was thinking to place them parallel so that I can rely more on Amperage rather than Voltage. I believe a series/parallel array would work, but I'm not sure.
LED Specs
White LED 3v2 @ 25mA
Red LED 2v @ 15mA
Green LED 2.1 @ 20mA
Yellow LED 2.1 @ 20mA
Any help would really really be extremely appreciated, I will post my code and make an instructables tutorial for anyone interested but I want to be as precise as possible and I don't want to fry my Arduino or have trouble down the line with the components and board.
Any light that would be shone on how to calculate my required voltage and best wiring practice would be amazing, and awesome for my future projects as well.
Thanks! I appreciate everyone's input immensely .