Building the hardware was pretty straightforward. The only "innovation" is the custom housing build around a 33 mm ( 1 5/16" ) diameter wooden dowel I salvaged as part of a home renovation.
Yet another levitator. Made to show at U of A DiscoverE camp "FUNday".
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Building the hardware was pretty straightforward. The only "innovation" is the custom housing build around a 33 mm ( 1 5/16" ) diameter wooden dowel I salvaged as part of a home renovation.
ElectroMagSupport.scadSupport for electromagnet.scad - 2.68 kB - 07/08/2018 at 05:58 |
|
|
ElectroMagBase.scadBase to hold the dowel and house the Arduino + shieldscad - 1.15 kB - 07/08/2018 at 05:58 |
|
|
PIDLevitator.inoArduino UNO program for magnetic levitatorino - 4.70 kB - 07/08/2018 at 05:38 |
|
Using the Arduino Shield listed, connect the circuit shown in the https://bit.ly/2MXQdYd">Arduino Project Hub project, noting the following differences.
1) Arduino pins 10 and 11 are connected to the prototype shield LEDs
2) The switches are connected to Arduino pins 12 and 13
3) Arduino pin 9 is connected to the base of the TIP120
Also, I don't have an external DC jack for the 12VDC supply, but just plug 12VDC into the Arduino's jack and use Vin.
The screw terminal is just for convenience; you can solder the electromagnet wires to the shield (but then you can't easily use the magnet for other projects :-)
Use the openSCAD files to generate the upper magnet support and the base.
I printed the parts on a MendelMax 2, but most any printer should work. No special settings, printed in PLA.
You may need to change the diameter for the dowel if you haven't got a 33 mm dowel available.
The 3/8" nuts should fit in the hexagonal recesses in the upper support.
I printed knurled knobs for the 3/8" bolts, but they are not absolutely necessary.
The Arduino program may need tweaking for the Kp, Ki, and Kd parameters depending on the weight and neodymium magnet used.
Create an account to leave a comment. Already have an account? Log In.
Become a member to follow this project and never miss any updates