Levitating Magnet

 

Using a hall effect device a magnet is allowed to hover in mid air. A microcontroller monitors the hall effect feedback to determine how close the magnet is and adjusts the strength of the electromagnet to attract the magnet or allow it to drop. This calculation and adjustment is performed so quickly that the magnet appears to remain at a constant height.

Project Page

Thanks for the tip Chris.

2 Comments


  1. Very clever. I’m pretty sure the code/equation for this is simple. I’m thinking of it as magnetic PWM 😉

Comments are closed.