Atmel Atmega based Electromagnetic Floater

We have all seen these floating globes in the novelty stores and online. How would you like to build one? J. Hodgie has put together an article that will walk you through the required steps to make your own. The code for the Atmel ATMega168 Microcontroller is also provided.

“It is much like the floating globes you can buy, except it works by balancing the forces of permanent magnets with electromagnets, rather then simply using combinations of permanent magnets. This is done by using a microcontroller and an IR sensor to detect where an object is floating below. Then based on a set value, the microcontroller uses the electromagnets to to hold the floating object at a given height.

The place the object floats at depends on the weight of the object and the power of the magnets in the object. The height is set by holding the object under the magnets and sensor and pushing the button. The object floats at the point where the force of gravity down equals the force of the magnets pulling up, which allows it to use non-industrial electromagnets and less power to float. The program also dynamically adjusts so the object is always at the perfect height.”

9 Comments


  1. well its about time they showed us how to make one!


  2. now, this is some crazy shit!


  3. I have one of the aforementioned globes, and it works by adjusting an electromagnet’s strength based on an EMF reading several times a second.

    Also, the ones you linked to all state that they need to be plugged in also.

    Just thought you guys might want to know, for the sake of accuracy in the article.


  4. This is cool.
    But how does one make this with permanent magnets (so that we dont need battery’s etc)?


  5. does this have to attach to a computer?
    what do the cables end up going to?


  6. wow, can you give me the circuit of that

Comments are closed.