I'm fairly new to electronics and power (especially to power and leds and all this...) and still trying to learn. So I'm rebuilding some projects to widen my knowledge. But I don't always get just the same components...
So at the moment I'm trying to recreate a project (You Can't Creep up on This Creepy Cauldron! - Arduino Project Hub) that uses a
- ultrasound sensor
- ir led
- mp3 shield and
- old speaker
The goal is to control a ir led light (therefor the ir led) and play some sound files (mp3 shield and speaker) depending on the distance someone has to the arduino us sensor. By getting nearer the lights will change and the sound will get louder.
My biggest problem now is: how will I connect the mp3/speaker AND the us sensor simultaneously to the 5V of the arduino? I don't want to fry it. In the project they use a grove shield (I have one, too), but I'm still not certain if that will protect the arduino "by itself", or if I am missing something.
So, what will I have to check to be sure not to drain too much power from the arduino? I also have a secondary power board, meant to drive stepper motors. At the moment, I used that to power the mp3 shield, but I'm really not sure if that is the right thing, as after some moments the soundfile gets to "stutter" and buzz when I do it that way.
Thank you for your help. If I've forgotten something necessary, please ask and I try to provide the info.