I have a project I'm working on where I want to play pre-recorded mp3s and make jaw movements along with them. I'll say up front I don't know much about electronics. What I have:
- Arduino Uno (I also have a Mega if it's really needed)
- AC/DC adapter for the Uno
- adafruit mp3 shield
- hobby servo
- Some cheap computer speakers which plug into the mains, with a 3.5mm jack into the shield
The issue I'm having is that when it's all connected up, the servo is jittery and the arduino keeps resetting. I should note, the jittering doesn't happen when the servo is run on the arduino by itself, and everything works fine when it's just the mp3 shield. So it seems it's the combo.
From what I've read online, that's probably to be expected because of the power required for the servo when it's in action.
adafruit and some other places recommended using a 470uF capacitor for servo instability. Tried that, didn't work and then I read some more posts saying of course that wouldn't work, I would need a Schottky diode to make it work. All a bit over my head.
So I assume the easy thing to do is power the servo separately, which is fine - I already have 2 AC converters, one for the arduino and one for the speakers so what's a third, I'll put them all on a mains power board and hide it in the base of the project. I don't want to use batteries for this project, just to plug it in.
So: if a separate power supply is the right answer, how would I power the servo separately? Seems like a simple question but I just haven't come up with anything.