Other
51 microcontroller ultrasonic ranging, pro-test can be used to explain in detail. The main technical parameters:
1. Voltage: DC5V 2. Static current: less than 2mA
3: level output: high-5V 4: level output: Low 0V
5: Induction angle: not more than 15 degrees 6: Detection range: 2cm-450cm 7: High precision: up to 3mm
Wiring, VCC, trig (control side), echo (receiving end), GND Ground
Usage: 10US a control port more than a high-fat, high output can wait in a receiving port there.
You can start the timer output timing, when this port goes low you can read the timer value, this time for the distance of time,
Only calculates the distance. This constant cycle of measurement, you can reach the value of the mobile measurement.
Module works:
(1) The IO trigger distance, to the high-level signal of at least 10us;
(2) the module automatically sends eight 40khz square wave and automatically detects whether a signal return;
c
超声波
测距
No comment