user55240: 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 :)

user4143: 
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 . 

Good. That is the best way of powering an Arduino in a car. Use a phone charger is best.

Then I took wires from VIN ( pin number 30 ) to LED strip +5V

There's no such thing as a "pin number 30" on an Arduino Uno. However, powering anything from VIN when you are supplying power into the Arduino through USB is very bad.
Basically, the current has to flow backwards through the onboard regulator to get to the VIN pin - and the regulator really doesn't like that.
Instead, you should be connecting your LED strip to the 5V pin of the Arduino so it is connected direct to the 5V USB power.
Note, however, that the USB power has a limit of 500mA.  This is not a limit of the supply - it is a limit imposed by a 500mA PTC fuse on the Arduino that will shut off the current if more than 500mA is drawn.  It would be far better if you could cut the USB cable and take the 5V and GND wires and directly connect them to both the Arduino's 5V and GND pins, and the LED strip's 5V and GND connections.  That will then mean that the LEDs are taking their power directly from the power supply, not from the Arduino.

55240: <p>I would like to know a little more about Arduino inputs and outputs.</p>

<p>I'm doing a small project which is composed of 1 LED strip with 40 LED's. </p>

<p>Can't find any definitely information about Arduino +  LED strip.</p>

<p>At the moment all of this doesn't work correctly and I guess the reason is bad power connection .</p>

<p>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. </p>

<p>Conclusion is - the led strip won't work normally and colors are not proper .</p>

<p>How should I do connect ?    </p>

<p>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 ? </p>

<p>Is it will be correct way ? 
And one more question, shall I put between "<em>main fuse from the car ~12V connect to the VIN (it will be a main arduino power)</em>" - Voltage regulator 12V to 5V ? is it necessary ? </p>

<p>Thanks for you answers guys, hope you will help me with this.</p>

<p>I'm going to read same questions and answer with this any way. Will wait your answers too :)</p>
 4143: <blockquote>
  <p>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 . </p>
</blockquote>

<p>Good. That is the best way of powering an Arduino in a car. Use a phone charger is best.</p>

<blockquote>
  <p>Then I took wires from VIN ( pin number 30 ) to LED strip +5V</p>
</blockquote>

<p>There's no such thing as a "pin number 30" on an Arduino Uno. However, powering <em>anything</em> from VIN when you are supplying power into the Arduino through USB is <em>very</em> bad.</p>

<p>Basically, the current has to flow <em>backwards</em> through the onboard regulator to get to the VIN pin - and the regulator <em>really</em> doesn't like that.</p>

<p>Instead, you should be connecting your LED strip to the 5V pin of the Arduino so it is connected direct to the 5V USB power.</p>

<p>Note, however, that the USB power has a limit of 500mA.  This is not a limit of the supply - it is a limit imposed by a 500mA PTC fuse on the Arduino that will shut off the current if more than 500mA is drawn.  It would be far better if you could cut the USB cable and take the 5V and GND wires and directly connect them to both the Arduino's 5V and GND pins, and the LED strip's 5V and GND connections.  That will then mean that the LEDs are taking their power directly from the power supply, not from the Arduino.</p>
