An AVR Atmega based PID magnetic levitator
This is a magnetic levitator implemented using Atmega8 microcontroller. Magnetic levitation is a method by which an object is suspended with no support other than magnetic fields. To make a magnet levitate, an hall sensor is attached to a coil. The coil acts as an electromagnet, and the hall sensor measure the distance of the magnet from the coil. …