
57/78
Lesson 6 Ultrasonic Sensor Module
About this lesson:
Ultrasonic sensor is great for all kind of projects that need distance measurements, avoiding obstacles as examples.
The HC-SR04 is inexpensive and easy to use since we will be using a Library specifically designed for these sensor.
Introduction:
Ultrasonic sensor module HC-SR04 provides 2cm-400cm non-contact measurement function, the ranging accuracy can reach to 3mm. The
modules includes ultrasonic transmitters, receiver and control circuit. The basic principle of work:
(1) Using IO trigger for at least 10us high level signal,
(2) The Module automatically sends eight 40 kHz and detect whether there is a pulse signal back.
(3) IF the signal back, through high level , time of high output IO duration is the time from sending ultrasonic tore turning.
Test distance = (high level time × velocity of sound (340m/s) /2
The Timing diagram is shown below. You only need to supply a short 10us pulse to the trigger input to start the ranging, and then the
module will send out an 8 cycle burst of ultrasound at 40 kHz and raise its echo. The Echo is a distance object that is pulse width and the
Summary of Contents for Obstacle Avoidance Smart Car Kit
Page 1: ...Obstacle Avoidance Smart Car Kit...
Page 2: ......
Page 6: ...4 78 Packing list...
Page 9: ...7 78 Click Windows Installer Click JUST DOWNLOAD...
Page 11: ...9 78 Click I Agree to see the following interface...
Page 16: ...14 78...
Page 18: ...16 78 Right click on the device and select the top menu option Update Driver Software...
Page 26: ...24 78...
Page 31: ...29 78 Once open you should see something like this...
Page 45: ...43 78 Lesson 4 Installation Method...
Page 46: ...44 78...
Page 47: ...45 78...
Page 48: ...46 78...
Page 49: ...47 78...
Page 50: ...48 78...
Page 51: ...49 78...
Page 52: ...50 78...
Page 53: ...51 78...
Page 54: ...52 78...
Page 55: ...53 78...
Page 57: ...55 78 Connection diagram...
Page 61: ...59 78 Wiring diagram...
Page 65: ...63 78 Wiring diagram...
Page 67: ...65 78 Remote control code...
Page 70: ...68 78 Wiring diagram...
Page 73: ...71 78 Connection Schematic...
Page 74: ...72 78 Wiring diagram...
Page 78: ...76 78 Connection Schematic...
Page 79: ...77 78 Wiring diagram...