Hello all! I have reached a point in my project where I have learned a lot about the Neopixel library, and received my 5V 2A power supply in the mail for my neopixel! however, I kinda forgot an important part...how will I power both my neopixel AND my Arduino board! i have a few ideas, but am open to any suggestions. my first idea way using a dual USB wall charger to power both the neopixel and Arduino board. another one was trying to use the power supply on the Arduino and then using that to power the neopixel.
any suggestions would be awesome, as i am pretty stumped on how to effectively do this
Power your Arduino with 5V from the power supply directly through the 5V pin on the board.
Just a bit of confusion on the reply, and if anyone else can clarify before the above poster does: so I can use the 5V 2A power supply to power BOTH the Arduino AND the neopixel? i'm a little worried about that. I know that the 5V pin on the board would be enough for the neopixel, but the biggest problem is Amps. I need at least 1.5A for both my neopixel (the light source for the lamp), and the Bluetooth module I will have included with the project. I don't want to have to have to plug in two separate cords, one for the Arduino and one for the neopixel. i'd prefer to have just one power supply included in this project.
so I can use the 5V 2A power supply to power BOTH the Arduino AND the neopixel?
Yes.
The Arduino takes about 30mA.
thank you so much for the reply! the next problem is, how exactly to use the power supply to power them. what I currently have is: a 5V 2A switching power supply and a Female DC Power adapter. what I did for the neopixel was use wires to attach the - and + on the power adaptor directly to the neopixel. how would this work, if the power supply was directly inserted into the Arduino Uno?
what I did for the neopixel was use wires to attach the - and + on the power adaptor directly to the neopixel.
Then solder another set of wires to those and connect them to the 5V and Ground of the Arduino.
Just for clarification, NOT the pins, right? because the 5V pin is supposed to output 5V, and the ground pin provides ground, right?