Project tutorial
How to Make an Ultrasonic Levitator Using Arduino

How to Make an Ultrasonic Levitator Using Arduino © GPL3+

Today I will show you how to make your ultrasonic levitator using an Arduino Nano.

  • 1,744 views
  • 1 comment
  • 13 respects

Components and supplies

Apps and online services

About this project

Hello guys, today I will show you how to make your ultrasonic levitator using an Arduino Nano. It’s so easy to make and hope it will be useful for you g uys. If you have any question or suggestion, please feel free to comment in my youtube video and please don’t forget to like and subscribe to my YouTube channel.

Click here for full tutorial and source code.

Click hereto visit my Instagram.

Everything you needed for this project:

  • Arduino Nano
  • Motor driver L298N
  • Ultrasonic Sensor Module (HC-SR04)

What is an ultrasonic levitator?

Acoustic levitation (also: Acoustophoresis) is a method for suspending matter in a medium by using acoustic radiation pressure from intense sound waves in the medium. Sometimes sound waves at ultrasonic frequencies can be used to levitate objects, thus creating no sound heard by the human ear, such as was demonstrated at Otsuka Lab while others use audible frequencies. There are various ways of emitting the sound wave, from creating a wave underneath the object and reflecting it back to its source, to using a (transparent) tank to create a large acoustic field.

What is an ultrasonic sensor?

As the name indicates, ultrasonic sensors measure distance by using ultrasonic waves.The sensor head emits an ultrasonic wave and receives the wave reflected back from the target. Ultrasonic Sensors measure the distance to the target by measuring the time between the emission and reception.

An optical sensor has a transmitter and receiver, whereas an ultrasonic sensor uses a single ultrasonic element for both emission and reception. In a reflective model ultrasonic sensor, a single oscillator emits and receives ultrasonic waves alternately. This enables the miniaturization of the sensor head.

Final project:

Code

.__40khz.inoC/C++
byte TP = 0b10101010; //jeder 2. Port bekommt das umgekehrte Signal

void setup()
{
 DDRC = 0b11111111; //Alle Analogports als Ausgang definieren
 
  // Timer 1 initialisieren
  noInterrupts();           // Interrupts deaktivieren
  TCCR1A = 0;
  TCCR1B = 0;
  TCNT1  = 0;

  OCR1A = 200;              // Compare Match Register setzen (16MHz / 200 = 80kHz Rechteck -> 40kHz Vollwelle )
  TCCR1B |= (1 << WGM12);   // CTC mode
  TCCR1B |= (1 << CS10);    // Prescaler auf 1 ==> kein prescalling
  TIMSK1 |= (1 << OCIE1A);  // Compare Timer Interrupt einschalten
  interrupts();             // Interrupts aktivieren
}

ISR(TIMER1_COMPA_vect)          
{
  PORTC = TP; // Den Wert TP an die Ausgange senden
  TP = ~TP;   // TP invertieren fr den nchsten durchlauf
}

void loop(){
  // hier bleibt  nichts zu tun brig:-(
}

Comments

Similar projects you might like

Ultrasonic Tripwire

Project tutorial by Will_the_Star

  • 7,536 views
  • 13 comments
  • 24 respects

Ultrasonic Glasses for the Blind

Project tutorial by Team GardnerTech

  • 9,193 views
  • 19 comments
  • 63 respects

Ultrasonic Sensor with LCD Display Using 433MHz

Project tutorial by mcharrison500

  • 8,414 views
  • 1 comment
  • 24 respects

Auto Ultrasonic Car

by Ishaq Yang

  • 20,258 views
  • 2 comments
  • 19 respects

Ultrasonic Lock

by IoannisD

  • 4,715 views
  • 2 comments
  • 8 respects

Ultrasonic Map-Maker using an Arduino Yun

Project tutorial by Satyavrat Wagle

  • 60,750 views
  • 37 comments
  • 168 respects
Add projectSign up / Login