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


The forums are retiring in 2021 and are now closed for new topics and comments.

1 year 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....