Arduino – Magnet levitation

My first Arduino project, floating a permanent magnet using an electromagnet that pulls it up. The power on the coil is regulated by an Arduino Duemilanove board. The only sensor is a Hall effect sensor at the bottom of the electromagnet. Detailed description at http://mekonik.wordpress.com/2009/03/17/arduino-magnet-levitation/, more pictures at http://mekonik.wordpress.com/2009/03/02/my-first-arduino-project/

Duration : 0:0:40



Posted

in

by

Comments

25 responses to “Arduino – Magnet levitation”

  1. havocdaemon Avatar
    havocdaemon

    Now that was an …
    Now that was an awesome idea! Thanks for the vid!

  2. TD47 Avatar
    TD47

    YES!!! COMPLEX …
    YES!!! COMPLEX ANALYSIS! The bane of my existence.

    Prove: e^jTh = 1 ftw!

  3. npozar Avatar
    npozar

    @lecorfec Hey, …
    @lecorfec Hey, thanks for the interest. I actually don’t remember exactly, it was such a long time ago. See my blog post for more details (linked from the video description). I used an external amplifier to increase the sensitivity and to use the whole range of Arduino analog inputs.

  4. lecorfec Avatar
    lecorfec

    Très joli, très …
    Très joli, très instructif!!!
    What is the resolution of your Hall sensor in your project and in a normal environnement (without “parasite magnetic field”) ? I mean in term of output variation/ position variation dVout /d(x)
    What is the working range of the Hall sensor with a standard NeFBo magnet?
    thanks again for your contribution!

  5. intermitrj Avatar
    intermitrj

    Energy sources …
    Energy sources without the need for fuel or energy input exist ,But the Oil coporations life depends on covering this up,Check this free energy magnet motor at LT-MAGNET-MOTORdotCOM ,Be the revolution!

  6. npozar Avatar
    npozar

    @iwan0t0smith Not …
    @iwan0t0smith Not to forget, once the magnet is moving in either direction so that a current is generated and one wants to do something about it to prevent the motion, it’s too late. It’s takes some time to energize the coil (around ~50ms in my case), enough time for the magnet to fall.

  7. npozar Avatar
    npozar

    @iwan0t0smith …
    @iwan0t0smith Thanks for the idea. The reason why this would be quite hard to implement though is that the current on the coil has to be adjusted based on the magnet’s current position. Reading the induced current on the coil as you suggest can give you velocity only. One then integrate which would lead to an increased error over time. And the system is very unstable (it was hard to make this work as it is), with a lot of noise (such as 60Hz from the grid)…

  8. npozar Avatar
    npozar

    @CSPhysics Thanks a …
    @CSPhysics Thanks a lot. Yep, hall effect sensor it is, inside the ugly clay patch 😉

  9. CSPhysics Avatar
    CSPhysics

    @CSPhysics –oh, …
    @CSPhysics –oh, yup. Should have read the blurb first. Great work!

  10. CSPhysics Avatar
    CSPhysics

    @iwan0t0smith -ooh, …
    @iwan0t0smith -ooh, hip idea. i guess you could try using the analog read… but it doesn’t seem like the 0-255 resolution would be as sensitive as his set up.

  11. CSPhysics Avatar
    CSPhysics

    VERY COOL! Are you …
    VERY COOL! Are you using a Hall Effect Sensor to give feedback to the electromagnet?

  12. sanches2 Avatar
    sanches2

    @iwan0t0smith i was …
    @iwan0t0smith i was thinking ’bout the very same method…

  13. jsbach333 Avatar
    jsbach333

    bad ass
    bad ass

  14. kleenextx Avatar
    kleenextx

    very awesome

    very awesome

  15. hackman3000 Avatar
    hackman3000

    how’d you make the …
    how’d you make the electromaget?, imean did you just hot glue a coil to a peice of metal? how?

  16. iwan0t0smith Avatar
    iwan0t0smith

    You could probably …
    You could probably get away with just using the one coil and scrapping the hall probe. If you can measure the current accurately going through the coil you will be able to measure whether or not the magnet is moving since the magnet will induce a current in the coil and hence change the current going through the coil. By passing this data back into the arduino you could then change the current from the battery to change the strength of the magnet

  17. q7spiz Avatar
    q7spiz

    Cool work you did. …
    Cool work you did. It was funny when you were flicking around the dart thingy. I always enjoy seeing what special things could be figured out in science.

  18. penguin86penguin86 Avatar
    penguin86penguin86

    Gorgeous *.*
    Gorgeous *.*

  19. mrmeval1 Avatar
    mrmeval1

    One link is dead
    One link is dead

  20. centerorbit Avatar
    centerorbit

    @mkillerz979 yes
    @mkillerz979 yes

  21. richardfirthucsb Avatar
    richardfirthucsb

    LOL at the books …
    LOL at the books you are using to prop it up.

  22. danimal511 Avatar
    danimal511

    Thermo is a good …
    Thermo is a good class

  23. MichiZ90 Avatar
    MichiZ90

    watch “levitation …
    watch “levitation board”!!!

  24. hla27b Avatar
    hla27b

    Excellent project

    Excellent project
    and very nice job on the web tutorial too.
    keep up the good work

  25. metalcore13 Avatar
    metalcore13

    just awesome… Did …
    just awesome… Did you build the Hall effect sensor yourself?

Leave a Reply