Projects / Ideas / Magnetic levitation demo

Magnetic levitation demo

AdvancedMotionIdeaReviewed
In short

How do you build a magnetic levitation demo?

An electromagnet and a hall sensor hold a small magnet floating in the air. You need Arduino Nano, A1302 linear hall sensor, IRF520 MOSFET driver module, Enamelled copper wire (magnet wire, 0.3 mm), Neodymium magnets (10 × 3 mm) and 12 V 2 A DC adapter.

Level
Advanced
Time
About 480 min
Parts
6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal

Stabilise an unstable system.

How to build it

  1. Wind the coil
  2. Read the field
  3. Run PID fast
  4. Drive the coil with PWM
  5. Tune until it floats

Related projects

Common questions

What parts do I need for the magnetic levitation demo?

Arduino Nano, A1302 linear hall sensor, IRF520 MOSFET driver module, Enamelled copper wire (magnet wire, 0.3 mm), Neodymium magnets (10 × 3 mm) and 12 V 2 A DC adapter.

How long does the magnetic levitation demo take to build?

About 480 minutes for a advanced maker.