Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Projects
  3. ›Acoustic levitator

Audio & sound projects

Acoustic levitator: float tiny beads on 40 kHz sound waves

Two ultrasonic transducers make a standing wave that holds polystyrene beads in mid-air.

By Geekobot Learning Team

Intermediate
Difficulty
3 hours
Build time
₹600
Parts cost
7
Parts
Arduino
Platform
Add all parts · ₹600Start building
  • Learning & classroom
  • Games & fun
NANO
Tap a part to see what it does
OverviewPartsWiringBuildCodeTroubleshootFAQIdeas

What you'll build

Sound is a pressure wave. When two 40 kHz transducers face each other at the right distance, the waves form a standing wave with still points, called nodes, about 4.3 mm apart. Small, light objects such as polystyrene beads sit in those nodes and float. An Arduino Nano makes the 40 kHz square wave with a timer interrupt and an L298N drives the transducers in opposite phase.

What you'll learn

  • Standing waves and nodes
  • Timer interrupts for exact frequencies
  • Driving a load in antiphase with an H-bridge
Safety

Do not try to levitate anything heavier than a small bead.

Disconnect the supply before you adjust the wiring.

  1. ThinkNano timer makes 40 kHz
  2. ActL298N drives both transducers
  3. ResultBeads float in the nodes

Parts list

Tick anything you already have and the total updates.

PartQtyPrice
  • NANO
    Nano CH340 Development Board (Soldered)
    GB-SBCD-0339Guide

    Generates the 40 kHz signal

    × 1₹185₹185
  • HYDZ HY40A16T12-1 40kHz Ultrasonic Open Transmitter 16x12mm
    GB-SENS-4195Guide

    40 kHz open ultrasonic transmitter (you need two)

    × 2₹114₹114
  • L298N Dual H-Bridge Motor Driver Module
    GB-MOTR-0001Guide

    H-bridge that drives the transducers with up to 12 V

    × 1₹128₹128
  • HYDZ HY40A16R12-1 40kHz Ultrasonic Receiver – Open 16x12mm Plugin
    GB-SENS-4196Guide

    Matching 40 kHz receiver for measuring the wave with an oscilloscope

    × 1₹57₹57
  • Ogam Tech GSRS61 Plugin Ultrasonic Receiver & Transmitter – 40kHz, 24V
    GB-SENS-4212

    Another 40 kHz transmitter/receiver pair to experiment with

    × 1₹49₹49
  • Solderless Breadboard
    GB-PROT-0001Guide

    Holds the parts without soldering

    × 1₹18₹18
  • Dupont Jumper Wires (40 pcs)
    GB-WIRE-0001Guide

    Connects the parts

    × 1₹49₹49

Complete kit

7 of 7 parts in one tap

₹600

GST included

3% off these parts while the whole kit stays in your cart

Parts you still need

₹600

7 of 7 parts. Tick anything you already have.

About ₹18,000 before bulk pricing for 30 kits.

Request bulk quote

Learn the parts

  • ESP32 vs Arduino Uno
  • 40 kHz Ultrasonic Transducers
  • L298N motor driver
  • Arduino Uno

Calculators for this build

  • PWM duty cycle calculator
  • Motor torque, speed and power calculator
  • LiPo C-rating and drone flight time calculator

Wiring

Follow the colours: red is power, dark grey is ground, blue is a signal.

A 9 to 12 V DC supply of 1 A (sold separately). Higher voltage gives a stronger trap but warms the transducers.

PartPinConnect toNote
NanoA0 / A1L298N IN1 / IN2The code drives them in opposite phase
L298NOUT1 / OUT2Both transducers in parallelKeep the same polarity on both
L298N12V / GND9-12 V supply / GNDJoin GND with the Nano
L298NENAJumper on (always enabled)
  • NanoA0 / A1 → L298N IN1 / IN2The code drives them in opposite phase
  • L298NOUT1 / OUT2 → Both transducers in parallelKeep the same polarity on both
  • L298N12V / GND → 9-12 V supply / GNDJoin GND with the Nano
  • L298NENA → Jumper on (always enabled)
Built it? Check your wiring before you power up.Pick the pin each wire went to and we'll point out swapped pins, power mistakes and pins that clash.

Step-by-step build

0 of 6 done

Code

levitator.inoVerify & upload in Electrolark
// 40 kHz antiphase square wave on A0 and A1 (PORTC) using Timer1
byte pattern = 0b10101010;

void setup() {
  DDRC = 0b11111111;            // PORTC (A0-A5) as outputs
  noInterrupts();
  TCCR1A = 0; TCCR1B = 0; TCNT1 = 0;
  OCR1A = 200;                  // 16 MHz / 200 = 80 kHz interrupts -> 40 kHz wave
  TCCR1B |= (1 << WGM12);       // CTC mode
  TCCR1B |= (1 << CS10);        // no prescaler
  TIMSK1 |= (1 << OCIE1A);
  interrupts();
}

ISR(TIMER1_COMPA_vect) {
  PORTC = pattern;
  pattern = ~pattern;           // A0 and A1 always opposite
}

void loop() {}

Troubleshooting

Nothing floats+

Check the gap: try every half millimetre. Beads must be tiny (1 to 3 mm) and very light.

Bead floats but drifts out+

Align the transducers on one axis; even a small tilt weakens the trap.

Transducers get warm+

Lower the supply voltage; open-type transducers are not made for long high-power use.

FAQ

Can it lift water drops?+

Small drops, yes, but they can wet the transducers; use beads first.

Why exactly 40 kHz?+

That is the resonant frequency of these transducers; they barely respond at other frequencies.

Is ultrasound harmful?+

At this power it is not, but keep ears and pets away from the transducers in long sessions.

What parts do I need to build the acoustic levitator: float tiny beads on 40 kHz sound waves?+

7 parts: Nano CH340 Development Board (Soldered), 2 × HYDZ HY40A16T12-1 40kHz Ultrasonic Open Transmitter 16x12mm, L298N Dual H-Bridge Motor Driver Module, HYDZ HY40A16R12-1 40kHz Ultrasonic Receiver – Open 16x12mm Plugin, Ogam Tech GSRS61 Plugin Ultrasonic Receiver & Transmitter – 40kHz, 24V, Solderless Breadboard and Dupont Jumper Wires (40 pcs). On this page you can tick the parts you already have and add only the rest to your cart.

How hard is it and how long does it take?+

It is a intermediate project and takes about 3 hours. The build on this page has 6 steps.

Do I need to write the code myself?+

No. This page has the complete, tested code (levitator.ino).

How much does the acoustic levitator: float tiny beads on 40 kHz sound waves cost to build?+

About ₹600 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.

What will I learn from this project?+

Standing waves and nodes; Timer interrupts for exact frequencies; Driving a load in antiphase with an H-bridge.

Is it safe to build?+

Do not try to levitate anything heavier than a small bead. Disconnect the supply before you adjust the wiring.

What can I build next with these parts?+

Ideas that reuse this build: Classroom noise meter. They are listed under Take it further on this page.

Take it further

  • Classroom noise meter

Related projects

  • UNORELAYDC
    Audio & sound
    Intermediate· 1 hour

    Double-clap light switch

    Clap twice and the lights come on. Clap twice again to switch them off.

    ₹699 · 7 partsArduino
  • NANO
    Audio & sound
    Beginner· 45 minutes

    Visitor door chime

    Plays a friendly ding-dong whenever someone walks into the shop or room.

    ₹328 · 5 partsArduino
  • UNO
    Audio & sound
    Beginner· 45 minutes

    Morse code beacon and key

    Beeps and flashes any message in Morse, or key your own by hand.

    ₹391 · 8 partsArduino
  • UNO
    Audio & sound
    Beginner· 45 minutes

    16-key mini piano

    Turn a membrane keypad into a two-octave piano.

    ₹385 · 6 partsArduino

Learning project. Check every circuit and the datasheet of each part before you power it up.

Ask the Community

Ask a question Share your build