I have a LED strip that takes 12v, and am wondering what the best means of powering both it and the arduino through a single wall outlet is.
I have a 12v 10amp power brick that should drive the whole thing (LEDs draw 8amp max, should in practice draw far less).
It currently works when I power the arduino via my USB outlet on my computer, and the LEDs via the power brick (connect both grounds so the data line on the LEDs will receive from the arduino).
So one idea is:
I power the LED strip in the same way that I currently do, but then I also supply 12v directly to the VIN pin? (and ground directly to a ground pin?) Would it really be that easy? Is the arduino somewhat isolated in this way from the power draw of the LED strip?
Same as before, but rather than putting the 12v into the VIN pin, I instead put it into a 12v->5v converter, then put that 5v into the arduino's 5v pin (and its corresponding ground to the arduino ground). Is this any better? And if I do this, do I have to still connect the 12v ground to the arduino ground? (technically they'd already be connected through the 12v->5v converter?)
It would be ideal if there were some way to just plug the 12v power brick directly into the arduino's barrel jack, and then drive the LEDs from one of the arduino pins (but the research I've done makes me think that's not going to happen- can't draw >1amp from VIN, and I don't know how else I'd do it...).