It is very interesting to use ultrasonic waves at the lowest cost and use standing waves to levitate some small items! Try it yourself and experience the fun! Use ARDUINO for control, or you can use STC15 microcontroller for control. The power supply can use 12V input or 5V input. Use RZ7899 to output a large current to the ultrasonic module. Note that the ultrasonic modules here are all transmitting modules. The price on Taobao is about 2 yuan. The success rate is extremely high.
The main power input must be above 10V. The higher the power supply voltage, the stronger the floating ability, so the effect is better. Please refer to the schematic diagram when using the STC microcontroller. I have led out the programming pins, and you can program directly. If If you want to build in the ARDUINO chip for program download design, you can leave a message and I will modify this project to make it more simple and practical.
At present, the cost can be reduced to less than 9 yuan. If the ARDUINO development board is used, the price of the project will be higher. It is recommended to do a study to study the principles before improving this project! !
Just connect it to the A0A1 interface of the development board and you can use it!
byte TP = 0b10101010;
void setup() {
DDRC = 0b11111111;
noInterrupts();
TCCR1A = 0;
TCCR1B = 0;
TCNT1 = 0;
OCR1A = 200;
TCCR1B |= (1 << WGM12);
TCCR1B |= (1 << CS10);
TIMSK1 |= (1 << OCIE1A);
interrupts();
}
ISR(TIMER1_COMPA_vect) {
PORTC = TP;
TP = ~TP;
}
void loop() {}
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet