Lesson 8 How To Control The Ultrasonic Module - ADEEPT PiCar-Pro Manual

Table of Contents

Advertisement

Lesson 8 How to Control the Ultrasonic Module

In this lesson, we will learn how to read the data of the RGB ultrasonic ranging
module.
8.1Components used in this course
Components
Raspberry Pi
Robot HAT
ultrasonic module
4 pin wire
8.2 Introduction of RGB ultrasonic ranging module
The ultrasonic ranging module used in our PiCarPro product has four pins,
namely VCC, GND, Echo and Trig. The HC-SR04 can provide a non-contact distance
sensing function of 2cm-400cm, and the ranging accuracy can reach 3mm; The
module includes an ultrasonic transmitter, receiver and control circuit. The basic
working principle is as follows:
Use IO port TRIG to trigger distance measurement, and give a high level signal
of at least 10us.
The module automatically sends eight 40khz square waves, and automatically
detects whether there is a signal return.
There is a signal return, and a high level is output with the IO port ECHO. The
Quantity
1
1
1
1
86
Picture

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PiCar-Pro and is the answer not in the manual?

Table of Contents

Save PDF