You can 3D print the body or not.

https://www.thingiverse.com/thing:1392023

Easy to print and mount (Just some glue, no screws).
Just install the firmware(Levitator.ino) in the arduino board.
Do not need a computer, just the 12V power supply, after install the firmware.
Use the switches to adjust the permanent magnet position.
Use the arduino serial monitor to see the correct value for you.
You can hard code the correct value in your toy.
You can use a protoboard or make your board (Arduino Nano).”

Link

Related Content