Go Down

Topic: Arduino Lamp Project Problems - Powering Neopixel Part 2 (Read 92 times) previous topic - next topic

Lovell

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.

Lovell

any suggestions would be awesome, as i am pretty stumped on how to effectively do this

Grumpy_Mike

Power your Arduino with 5V from the power supply directly through the 5V pin on the board.

Lovell

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.

Grumpy_Mike

Quote
so I can use the 5V 2A power supply to power BOTH the Arduino AND the neopixel?
Yes.
The Arduino takes about 30mA.

Lovell

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?

Grumpy_Mike

Quote
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.

Lovell

Just for clarification, NOT the pins, right? because the 5V pin is supposed to output 5V, and the ground pin provides ground, right?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy