Acoustic Levitator





Introduction: Acoustic Levitator

Make It Fly! Contest 2017

First Prize in the
Make It Fly! Contest 2017

Use acoustic waves to hold in mid-air samples such as water, ants or tiny electric components. This technology has been previously restricted to a couple of research labs but now you can make it at your home.

If you want more background and details you can check our Open Access papers:

Do not forget to watch the attached video. The first video is the instructions whereas the second one is a fantastic video by Physics Girl explaining the physics behind it.

If you want to build other devices coming directly from the research lab subscribe or get in touch: Youtube:

Twitter: @AsierMarzo

Step 1: Gather the Components


Now you can get all the components in this kit:

Individual components

We present a list of the necessary components. I have tried to place links for different countries. However, the same parts can be found all around the world, some useful websites are

  • 72x 10mm 40kHz transducers. Manorshi provides MSO-P1040H07T at a very good price, minimum order is 500 but they will ship with less at a higher price. Also Ningbo has good ones FBULS1007P-T
  • 1x 3D-printed TinyLev support. (STL file provided in Step 2)

Necessary Tools

  • 3D printer -> you can use an online service
  • Soldering Iron, Tin and Flux.
  • Hot-glue gun
  • Multimeter
  • Cable Peeler
  • Screwdriver and Pliers.
  • Drill
  • Oscilloscope with two probes (optional) -> you can get one for less than 50£

Step 2: 3D Print the Base

3D print the STL file included in this step. We used a 0.4mm nozzle and brim but no support. It should be possible to print it in one piece.

  • You may also want to print the fantastic stand from Jeff Bearer
  • Or you can also use a full case to make more robust and look awesome. by Jakub_Nagy

Step 3: Clean the Base

You may need to use a file to clean the edges around the levitator and clean the sockets. A Dremel will do the job faster. You may also want to drill a hole in the centre of each side, this will allow to insert a camera, a needle or evacuate liquids.

Step 4: Mark Polarity (Recommended Method)

The easiest way to mark the polarity is to use the Arduino itself. This method does not require an oscilloscope or to poke the transducers inside.

Install the code from this section into the Arduino. Connect one wire to A0 and another wire to GND.

While the Arduino is connected to the PC, run the Serial Plotter (Tools->Serial Plotter) and be sure that the speed is set to 115200.

When a transducer is connected between A0 and GND the signal will do one of the following things:

  • Signal goes down or remains at 0. Then, mark the leg connected to GND.
  • Signal goes up or remains at 1023. Then, Mark the leg connected to A0.
  • It is important to not touch the transducers leg or the wires while doing that or the values will reset.

If it is still not possible to detect the polarity, poke the inside of the transducer with a thin wire and check if the spike goes up or down (like in the obsolete method). Spike up -> mark A0 leg, spike down -> mark GND.

Step 5: Mark Polarity (Obsolete Method)

The transducers have polarity and it is important to glue them in the base oriented with the same polarity. Do not trust the marks made by the manufacturer, they are not reliable at all. The easiest way is to connect a transducer to an oscilloscope and poke the inside with a thin wire. If the spike goes up, mark the leg connected to the positive part of the probe. If the spike goes down, mark the leg connected to ground. You can use two stripes of copper to make this process faster. After all, you will need to mark 72 transducers.

Step 6: Glue the Transducers

Apply a little bit of hot glue on the side of the socket (if you apply glue near the holes for the legs, the legs will be covered in glue when you push the transducers through), push the transducer in and apply some pressure with your fingers to make it lay as flat as possible in the socket.

It is very important that all the marked legs are pointing towards the centre of the device (where the hole is).

Step 7: Wire the Transducers

Wrap the exposed wire in six concentric rings around the legs of the transducers.

Step 8: Solder

Solder the pins to the wires.

Step 9: Prepare 4 Long Wires

Now, we need to make the wires that connect the transducers to the driver board.

2 red wires and 2 black wires. They need to be around 1 meter. In one side there is only the tip exposed. On the other side there are 3 segments exposed, in the video it is shown how this can be done.

The side with 3 segments will go into the transducers rings and the side with only the tip will go into the driver board.

Step 10: Solder Long Wires

Solder the long wires to the transducers. The side with the 3 segments exposed goes into the transducers, one segment for each ring. Each side of the levitator has a black and a red wire. You can use flux and tweezers to facilitate the soldering. Tin the other sides of the wires (the side that only has the tip exposed)

Step 11: Solder Arduino Headers

Solder the headers of the Arduino, backwards if possible.

Step 12: Program the Arduino

Upload the code provided in this step into the Arduino Nano.

Step 13: Glue Arduino and Driver

Glue the Arduino Nano and the Driver into the base. It is important to use the positions and orientations of the figures.

Step 14: Create the DC Supply

You will need to solder the DC female connector to the Switch and leave two wires prepared to supply power to the driver board.

Step 15: Glue DC and Wiring

Glue the DC connector and the switch.

Connect the red wire from the supply into the 12V input of the driver.

Connect the ground from the supply into the middle connector of the driver, also insert a male-female jumper there.

Insert a male-female jumper into the 5V input of the Driver.

Connect the male-female jumpers that we connected to the driver into ground and 5V of the Arduino.

Connect 4 female jumpers from the Arduino (A0,A1,A2,A3) into the inputs of the driver (IN1,IN2,IN3,IN4).

Connect a female-male jumper into ground of the Arduino, this jumper can be connected to D2, D3 or D4 to move the particles up, down or reset them to their original position.

Connect D10 to D11 with a jumper. This is vital for the synchronised emission of the signals.

Step 16: Test the Driver

When powered (always between 6V and 12V) the output signals of the driver (IN1&IN2 or IN3&IN4) should output a 40kHz square wave of twice the voltage provided to the circuit.

Step 17: Test for Shortcuts

Test that there are no shortcuts between the red and black wires of the levitator.

Step 18: Test the Transducers

Connect the levitator to the driver board and switch it on (always provide between 6V and 12V). For testing, 6V will be enough.

You will need two probes with transducers connected (pay attention to connect the marked leg into the positive part of the probe).

Transducers of the same array (side) should be in phase.

You can correct mistakes by cutting the exposed wire and bridging with wires.

Step 19: Test Optimum Resonance

Connecting the wires as shown in the right should provide optimum performance and minimum power consumption. Otherwise, swap the red and black wire.

Step 20: Secure the Wires and Glue the Legs

Apply some hot-glue to glue the wires to the levitator for mechanical support.

You can now glue the legs.

Step 21: Levitating Solids

Provide up to 10V. You can use a tweezer to place the particles. Also a metallic grid or thin fabric (acoustically transparent) will be useful since the particles can be placed there and then introduced into the levitator.

Step 22: Levitating Liquids

It is necessary to adjust the voltage to the type of liquid. Too high and the droplets will pop, too low and they will fall. For water around 9V is enough and for alcohol around 8V.

It is important to place a thin fabric on the bottom to absorb falling droplets, they can damage the transducers.

Place a particle to have a guidance of where to inject the droplets.

A syringe with a bent needle and the tip removed is the best option.

Step 23: BIGLev (optional Device)

If you want a more powerful levitator you can use the 16mm transducers. The process is exactly the same but you will need to 3d-print the levitator base in 2 part and glue them together (one half is attached in this step). This levitator can take up to 20V in the driver board (40Vpp) and levitate solids of up to 6g/cm3 but it is not as easy to use for liquids.

You can use instead 25kHz transducers, they are weaker but would allow to levitate larger objects. For that use the simplified code attached, and modify it to match your frequency.

Step 24: Mid-Lev (Optional Device)

If you want to use 16mm diameter transducers but BIGLev is too big, you can use MidLev. It uses 16mm diameter transducers but it will fit most of the printers.

Step 25: MiniLev (Optional Ultra Low-budget Device)

This solution only requieres an Arduino Nano and two transducers. You can desolder the transducers from a cheap Range Finder HC-SR04.

Install the provided Arduino Code from Step 12. Connect pin D10 to D11. Connect one transducer to A0 and A1; and another transducer to A2 and A3.

Put the transducers opposite to each other to levitate a particle between them, it is easier to place the particle with a metallic grid.

You can use this 3D-printed case designed by IB-as.

You can also use the simplified code by morlok.

33 People Made This Project!


  • Science of Cooking

    Science of Cooking
  • Pocket-Sized Contest

    Pocket-Sized Contest
  • Microcontroller Contest

    Microcontroller Contest

We have a be nice policy.
Please be positive and constructive.

2 Tips

Much easier way to determine polarity: Use continuity tester between each leg one at a time, and the metal ring AROUND the transducer top. Don't poke the transducer face, it's not conductive anyway.

Are you sure about that? that would imply that the Piezo crystal is always placed with the same orientation. In any case, I will try it. If it works, it is a very nice and simple method. Thanks for the info.

25 Questions

hi, i followed all the steps (except the buttons one) but the project won't work. it demonstrates somewhat near field levitation(some objects levitate near the transducers) but after some time the objects move to center and fall. could u please tell me what might be the problem ?

Hi kate,

How big are the particles that you are trying to levitate?

Can you try putting them in the middle of the levitator?

How much voltage are you providing? Are all the lights on?



thank u for the attention. i tried 2 mm diameter spheres and in most cases it works. could u tell me why is it that sometimes is is impossible to find a spot where it works ? (sometimes it just wont levitate at all ) and can i levitate something bigger than 2mm spheres ?


Hey Asier,

I have begun testing the polarities of the transducers, and I have found that, by examining the "direction" of the signal waveform, every single one has come out on the low side. Every single transducer has read as marked GND. Why could this be?

Something must be wrong. You are using the nano or the scope? Can you reverse the transducer connection and see if the signal looks the same.

Hi, I recently made the minilev but the object can't levitate. I tested the transducers with an oscilloscope and they work well. I think the problem is with the voltage. Can you tell me how to increase it?


What is the goal fot the programm at the step 12? Please ?

generate 40kHz signals that will be later amplified by the L297N driver and then fed into the transducers.

Can you tell me what de have To do thèse ? Please ?

SmartSelect_20180330-122344_Samsung Internet.jpg

They are just buttons to move the particle up/down, you can ignore them if you do not need to move the particle


Hi Asier , I have modified mini_lev.ino optimized to be more didactic, just to use a couple of ultrasonic transducers and uses software interruptions of a timer at 80 Khz.
No need to use external pins for synchronization and no delays with nops instructions.

Great, I have added a link to your code if you do not mind. Best.


At 40 KHz this is within the hearing range of cats and dogs. I didn't see that the SPL of the device was stated. I would be careful with this device if one has pets in the house.

Maybe the frequency could be raised to 100KHz.

Thank you for all your help. I tested all of the transducers and the voltage coming out of the driver and everything seems to be working properly, I will try the foam balls.

Hi Asier!

First of all I want to thank you for this great project and I have a question for the l298n driver. How did you get the output voltage double the input voltage and do you think it is possible to use the same thing for two DC motors?I can't find something similar.

And a little advice for those who try to make the Acoustic Levitator and do not have 24 AWB wires nearby they can use cat 6 UTP cable cables that have 23 AWG and from my experience I can say they are going to work great and cat 7 which are 26 AWG .


The peak to peak voltage on the transducers is double the input voltage because they work using push-pull.

The L297N is actually used to drive 2 DC motors, you cannot double the voltage but you can invert the rotation direction.


It's very impressive!!

I have a question!

Can I make a different waves between top array and bottom array??

If we can, can you teach me how to do it??

and! what does this codes mean about?

// generate a sync signal of 40khz in pin 10

noInterrupts(); // disable all interrupts

TCCR1A = bit (WGM10) | bit (WGM11) | bit (COM1B1); // fast PWM, clear OC1B on compare

TCCR1B = bit (WGM12) | bit (WGM13) | bit (CS10); // fast PWM, no prescaler

OCR1A = (F_CPU / 40000L) - 1;

OCR1B = (F_CPU / 40000L) / 2;

interrupts(); // enable all interrupts

Hello, I have a question about a code. Can we regulate the frequency of top array and bottom array respectively?

You will need to use 2 timers, one for each array. Remember that those transducers will only operate at 40khz+-1khz, they are quite narrowband. By using slightly different frequencies you can create travelling waves, but I do not think the Arduino has enough resolution for that.