I would like to know a little more about Arduino inputs and outputs.
I'm doing a small project which is composed of 1 LED strip with 40 LED's.
Can't find any definitely information about Arduino + LED strip.
At the moment all of this doesn't work correctly and I guess the reason is bad power connection .
The main power is from USB. So all of this in a car. I have ~12v (+2 or -2 Volts ) and then Voltage regulator to 5V with USB output and then cable connecting 5V through USB Arduino . Then I took wires from VIN ( pin number 30 ) to LED strip +5V ( which is basically main fuse on the strip ) and then GND to ground of led strip and of course DIN to DIN like it should be.
Conclusion is - the led strip won't work normally and colors are not proper .
How should I do connect ?
If I will take off the voltage regulator then main fuse from the car ~12V connect to the VIN (it will be a main arduino power) . GND - GND pin obviously. - and then again from same point ~12V of car will connect to voltage regulator 12V to 5V and that 5V must be with LED strip FUSE +5V ?
Is it will be correct way ? And one more question, shall I put between "main fuse from the car ~12V connect to the VIN (it will be a main arduino power)" - Voltage regulator 12V to 5V ? is it necessary ?
Thanks for you answers guys, hope you will help me with this.
I'm going to read same questions and answer with this any way. Will wait your answers too :)