Is this okay? I was wondering is it okay for one: to power my arduino from the car battery? Will it be too many amps? I'm just confused I the car battery part.. Will my arduino use the whole amp from the battery(along with the other things in the car)? I'm just afraid of the car battery frying my arduino.
My arduino will be controlling 3 TIP120 transistors.. 1 for each color. The amps o the LED bars ten selfs will be under 1Amp for sure..
Yes, you can use a car battery to power the Arduino. The Arduino will only draw the power it needs. The fact that the car battery can supply hundreds of Amps makes not difference.
The TIP120 should do a fine job of turning your light bars on and off. They can handle 5A and 60V so they have plenty of safety margin.
With a PWM pin you can fade a light on and off so the Arduino UNO can fade up to 6 lights.
Oh, also do i use the place with the circular jack and solder the wires from the battery to the jack connector for my power? Or do I put the car battery wires in Vnn? I'm always confused what Vnn is..
I'm not too much of a noob, but I'm still learning a lot, seeing is im 14. These are going in my brothers car, and I came up with the design
Also if anyone is interested, im building a box with switches, 5 of them, one for red, green, and blue, and then one for white(lighten) and one for black(darken) so I'm writing my sketch to say that if for ex. Red and white were on it would make pink, and blue and white would make cyan, etc. also, if all switches are on it will do a RGB fade through.
I'm having some trouble with the sketch, so I might be on here again..
But anyways, thanks a lot everyone, those were some of the best answers I've had on this forum, some people are just smart-alecs.
Yes, VIN is where you input your power source, you can also put it in the power jack as well. Both will be regulated to 5V through the onboard regulator.
tmacke17:
Oh, also do i use the place with the circular jack and solder the wires from the battery to the jack connector for my power? Or do I put the car battery wires in Vnn? I'm always confused what Vnn is..
The Vin pin connects directly to the input to the 5V regulator. The center pin of the power jack goes through a protection diode to the input to the 5V regulator. Either one will work if you get the polarity right (Vin is +, Gnd is -). The advantage of the power jack is that nothing gets fried if you hook the power up backwards (because of the protection diode).