Hi there, I came across this magnetic levitation project using Arduino. I followed all the steps to the end; unfortunately the floating magnet just won't stay on top. I am new to Arduino and I am hoping experts from here can help take a look at the code (attached) and advise if any adjustments can be made to make it work. Thank you very much.
Levitation.ino (2.36 KB)
It would be helpful if you posted your code.
In code tags.
Hi,
Welcome to the forum.
Please read the post at the start of any forum , entitled "How to use this Forum".
OR
http://forum.arduino.cc/index.php/topic,148850.0.html.
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Thanks.. Tom... 