Author Options:

Animating toy soldiers Answered

Hi community help needed. I want to use the headphone output from a "DFplayer mini" to control 2 servo's. This movement is to animate some toy soldiers, nothing needs to be precise, just some movement. I know there must be a link somewhere but I can't see one. Much appreciated Bill



4 weeks ago

No offence but why would you use an audio player to control a servo?
The player needs a SD card to work, so using that with some custom code to mode the soldier would be far easier.
Otherwise use the many example for "light organs" and replace the lights with servos ;)
Makes the soldiers dance to the music....