MSP432 Powered Magnetic Levitation <-Back

Magnetic levitation device I made for an embedded programming class. The device levetates a neodymium magnet with a solenoid driven by a standard motor driver H-bridge. Four hall-effect sensors in the solenoid detect the distance the magnet is away from the solenoid. Analog signals from the hall-effect sensors are sampled by the microcontroller ADC and are used to modulate the solenoid drive power in order to keep the magnet floating at a fixed distance.