Introduction: Levitating Key-holder Shelf

Picture of Levitating Key-holder Shelf

You've surely seen some of those videos on youtube about levitating stuff.

In this Instructable, i will share with you the process of making a levitating key-holder shelf. It wasn't an easy build, since i am not good in electronics, but after some research it was done.

With the electromagnets in this settings you can levitate up to 34 Gr.

I hope every one will finde this useful.

( I will upload Pdf's, for the different cuts in this project, in a couple of days )

Step 1: What You Will Need :

For making the box :

- some wood, i used a thickness of 3 mm.

For the Electromagnets :

- 5Volt-Regulator 78L05 x 3 ( 0,2 USD x 3 )

- hall sensor SS495 x 3 ( 4 USD x 3 )

- op-amp UA741 or LM348 x 3 ( 5 USD x 3 )

- P-channel MOSFET IRF4905 x 3 ( 1,25 USD x 3 )

- capacitor 10 uf x 3 + 100 n x 6 ( 4 USD x 9 )

- resistor 10 k + 100 k x 3 ( 0,1 USD x 6 )

- an electromagnet 15 mH, 2.4 Ω1.5 A maximum1.5'' diameter x 1.0'' length x 3 ( 14 USD x 3 )

- N52 neodymium disc magnet1/2'' diameter x 1/4'' thickness, 6 gNi coated x 3 ( 4 USD x 3 )

- a board for soldering components


Otherwise you can buy a kit, a good place is from

a price for : 48 USD for a kit

Step 2: Building the Box

Picture of Building the Box

I used a laser cutter from my friends school to cut the pieces, it is straightforward, i will attach the drawings here. otherwise just follow the steps.

The rings are made to hold the electromagnets in place.

Step 3: The Electromagnets - Some Theory

Picture of The Electromagnets - Some Theory

The electromagnetic levitation controls the magnetic field generated by an electromagnet to levitate a small magnet in midair. The small magnet levitates in the air indefinitely without any disturbance.

The physics behind it is to simply provide a magnetic force which equal and opposite to the gravitational force on the object. The two forces cancel and the object remains suspended. Practically this is done by a circuit which reduces electromagnet force when an object gets to close, and increases it when the object is out of range.The vertical position of the levitating magnet is measured using a linear Hall effect sensor and the current in the electromagnet is controlled using a digital signal controller.

Step 4: Building the Electromagnets

Picture of Building the Electromagnets

Since i am not good in electronics, I bought a kit from, . So i cannot share the schematics here. So i wont go in details here, since if you choose to buy the kit it is self explanatory.

But there is a lot of tutorials out there on how you can build your own levitation device, one of the best websites is this one :

( the items of my component list are compatible with this schematics )

When the electromagnets are built, put them inside the box, inside the wooden rings, so they can be hold in place.

Step 5: Building the Magnetsholder for the Key Ring

Picture of Building the Magnetsholder for the Key Ring

I will attach my pdf for the cuts. it is self explanatory. the aim is to build some wooden holders for the key rings,

Step 6: Bringing Every Thing Together.

Picture of Bringing Every Thing Together.

Fill the box with electromagnets, and attach it to the wall, plug the power adaptor ( 12 v, 4 A ).

Step 7: The Final Step.

Picture of The Final Step.



ede waard (author)2015-12-25

that's a pretty odd key for a car

AlexA214 (author)ede waard2017-08-28

It's a Volkswagen key.

stevempotter (author)2015-11-29

Nice! How to scale up for heavier loads?

Is erasing credit cards in your pocket a problem with the magnet on the keychain?

mscott41 (author)2015-10-26

the hall sensor adjusts the power to the electrmagnets to compensate for the weight based on distance, more weight =more power =stronger magnetic field

stregoi (author)mscott412015-11-06

exactly !

andrea biffi (author)2015-10-27

great project!

stregoi (author)andrea biffi2015-11-06


Team Z (author)2015-10-27

Amazing project! Very very cool. Thanks a lot for sharing it with us!

stregoi (author)Team Z2015-11-06

thank you

mick__326 (author)2015-10-28

Looks great and easy to make it... cheers

stregoi (author)mick__3262015-11-06


velikara (author)2015-10-28

It looks very nice

stregoi (author)velikara2015-11-06


Raspberryhacker (author)2015-10-29

So if your power runs out, the first thing you will hear... ;D

stregoi (author)Raspberryhacker2015-11-06

hehe .. yeah right

GeorgeO13 (author)2015-10-26

Just what that fantastic!

DIY Hacks and How Tos (author)2015-10-25

This looks amazing!

What stops the magnets rising further?

Jiajiun (author)pstaples22015-10-25

I think the pull of the magnet is not a fixed value, it is dependence on the weight of the keys. but how it works? I think it is the function of "Hallsensor".

dan3008 (author)pstaples22015-10-25

the weight of the keys. Once the gravity on the keys, matches the pull of the magnet, the keys will stop moving

ShakeTheFuture (author)2015-10-25


About This Instructable




More by stregoi:Arduino Plant MonitorRe-creating artLevitating key-holder shelf
Add instructable to: