Using LEDs and a Sound Sensor with Arduino

Hey!

Since Halloween is just around the corner, I was thinking about using an Arduino to create music reactive lights. How should I go about wiring this? The LED strip I’m using takes 5V of power, and the music sensor also takes 3.3-5V. Should I wire the battery straight to the LEDs, or to the Arduino?

I’ll link the two below:

Thank you!

Use a power supply like this to power your project.

5V 5 Amp power supply

The problem is, I’m going to be wearing it on my body. It’s going to be on a hat.

Also where should I connect it?

Then there are a great many 5v power banks you can use.

You need to get your amp hour to match your expected use time.

Example:
5v Power Bank

image

Thanks! Question: do you think just a 9V battery would be enough?

No.

Alright. Do you know of anything cheaper by any chance?

The internet is your friend.
:wink:

True true. :slight_smile: Thanks for your help!

Be scared, be very scared of dark places on Sunday October 31 !

image

That’s why I’m creating these lights! :wink:

One more question, I’ll just send the power directly to the Arduino Uno, right? And then the led strip and the sound sensor will take from there?

I found a power supply, by the way.

You would have 3 wires connected to each supply lead, i.e. +5v and GND power Bank terminals.

The Arduino 5v pin goes to one of the +5v Bank wires.
NOTE: Do not connect an UNO or Pro Mini to the Bank when you upload your sketch to the Arduino from the PC.


What Arduino are you using ?

The Arduino Uno.

So it doesn’t go to vin, right?

Vin requires 7 to 9v (12v if you are careful).


The 5v pin is your connection point for the 5v Power Bank.


NOTE: Do not connect an UNO or Pro Mini to the Bank when you upload your sketch to the Arduino from the PC.

That’s what I thought. Thanks again!