I made a flapping butterfly actuated by a hand wound coil of magnet wire in a strong magnetic field.
After destroying one 555 timer IC (probably by a high voltage inductive spike) I decided to incorporate a PC817 #optoisolator in the #MOSFET driver circuit.
A #microbit sends signals to the optoisolated #MOSFET gate driver, unaffected by the higher voltages involved in pulsing current through a coil of magnet wire which causes the paper heart to beat.