If you make this seriously, it is quite troublesome to build a voice coil drive circuit with a power op-amp whose output current is about 100mA, make a circuit to read the PDIC output signal with an ADC, write microcontroller software, and so on.

Therefore, I designed it with the theme of "Let’s push all the troublesome things to Analog Discovery 2".

Details (ENGLISH)