Magnetic Levitation With Arduino

by Fraens in Circuits > Arduino

958 Views, 0 Favorites, 0 Comments

Magnetic Levitation With Arduino

Schwebender Magnet.jpg

In this video I build a levitated magnet. The video should serve as a guide to build it yourself. I show technical details, circuit diagrams, Arduino codes and much more. I also show my workflow for making circuit boards. An electromagnet was wound with 0.5mm copper wire. A Hall sensor was used to query the position of the magnet. This reacts to magnetic fields. The electromagnet is controlled with an arduino. You can download all 3d printed parts on thingiverse or prusarprinters. I hope I was able to answer all questions as best as possible.

Youtube: https://www.youtube.com/watch?v=7Gu4Gx1BEIM&list=PL9Jzxu1vDldMNZdv_c5Pis4F-nQ77MFtc&index=5

Thingiverse: https://www.thingiverse.com/fraens/designs

Prusarprinters: https://www.printables.com/de/social/183722-fraens/models

1.jpg
2.jpg
3.jpg

Printing the parts.

5.jpg
4.jpg

Winding the coil. I use 0.5mm Kufper wire.

6.jpg
7.jpg

Here you can see the Hall Sensor. A Hall sensor can measure a magnetic field. It detects the distance to the floating object.

10.jpg
8.jpg
9.jpg

Assembly of the parts. A thread was cut directly into the 3D printed part.

13.jpg
12.jpg

The video describes the function of the Hall sensor.

15.jpg
14.jpg

The control takes over an Arduino. I have tested 2 control techniques. A simple 2 point controller and a more complex PID controller.

19.jpg
16.jpg
17.jpg
18.jpg

Here you can see the circuit diagram. In the video I show my workflow for creating circuit boards. I used a PCB etcher for this.

21.jpg
20.jpg

Solder and screw everything together.

Screenshot 2022-04-29 221712.jpg
22.jpg
23.jpg
24.jpg
25.jpg
26.jpg