





with automatic output, the module automatically measures at the interval of 200ms, and outputs the high level of pulse width corresponding to the distance after the test. Calculation distance mode reference mode 1 ranging module can provide 2 cm-500cm the non-contact distance sensing function, the ranging accuracy can reach high3mm; The module consists of ultrasonic sensor integrating receiving and dispatching and control circuit. The usage of Model 1 is the same as that of our company HC-SR04 the module aims to reveal the volume.
This product adopts industrial grade double waterproof ultrasonic probe design, waterproof type, stable performance, Qianrong all MCU work in the market.
Super close distance, the blind area is only 2cm. Stable ranging is the powerful basis for this product to successfully enter the market.
Ø product features:
1, small size, easy to use;
2, ultra-small blind area measurement.
3, high measurement accuracy;
4, strong anti-interference;
5, integrated closed waterproof belt line probe, suitable for wet and harsh measurement occasions
Ø specifications and parameters:

with line probe: The standard line length is 1 meter
mode 0:Moode=open that is no welding. The mode as follows
1, basic working principle:
(1) use IO port TRIG to trigger ranging, and present high-power level signals with a minimum of 20US.
(2) the module automatically sends 8 square waves of 40kHz to automatically detect whether there is a signal return;
(3) if there is a signal, ECHO outputs a high level through the IO port. The duration of the high level is the time when the ultrasonic wave returns from sending it. Test distance=(high level Time * sound velocity (348M/S))/2;
(4) after the module is triggered for distance measurement, if no ECHO is received (the reason is beyond the measured range or the probe does not face the measured object), the ECHO Port will automatically become low after 40ms, marks the end of this measurement, whether successful or not.
2 Ultrasonic timing diagram:

figure II, ultrasonic timing
12:Mode=47K UART automatic output
UART the automatic output mode outputs the distance value (hexadecimal number) according to UART Communication Format. This mode does not need additional trigger signal, and the module can automatically measure once every 100ms, each measurement is completed at the TX pin output to measure the distance value.
(1) pin definition
serial Number
cement grade
pin description
note
2
TX
UART output pins
3
RX
no
(2) communication protocol
UART
the baud rate
check bits
data bits
stop
TTL
9600 bps
N
8
1
(3) Format Description
the frame data
description
byte
the frame header
fixed0XFF
1 byte
H_DATA
the distance data of the high8 bit
1 byte
L_DATA
the distance data of low8 bit
1 byte
SUM
data verification
1 byte
note: the checksum only retains the low 8 bits of the cumulative value
for example:
product response FF 07 A1 A7
where check code SUM=A7=(0x07 0x1 0Xff)& 0x00ff
0x07 high data of distance;
0xA1 low data for distance;
distance value is 0 x07A1; Converted to decimal is 1953; Unit is: MM
note: If the module cannot measure the data or outputs 0 beyond the distance range. After the Led is powered on, it enters the working mode and automatically flashes by 100ms.
mode2:Mode=120K UART the controlled output
UART the controlled output mode outputs the measured distance value (hexadecimal number) according to UART Communication Format. This mode needs to add trigger 0x 55 signal to RX foot, and measures it every time the module receives an instruction, each measurement is completed at the TX pin output to measure the distance value. The instruction trigger cycle is larger than 60ms
(1) pin definition
serial Number
cement grade
pin description
note
2
TX
UART output pins
3
RX
UART controlled to receive a foot
(Command 0X55)
(2) communication protocol
UART
the baud rate
check bits
data bits
stop
TTL
9600 bps
N
8
1
(3) Format Description
the frame data
description
byte
the frame header
fixed0XFF
1 byte
H_DATA
the distance data of the high8 bit
1 byte
L_DATA
the distance data of low8 bit
1 byte
SUM
data verification
1 byte
note: the checksum only retains the low 8 bits of the cumulative value
for example:
product response FF 07 A1 A7
where check code SUM=A7=(0x07 0x1 0Xff)& 0x00ff
0x07 high data of distance;
0xA1 low data for distance;
distance value is 0 x07A1; Converted to decimal is 1953; Unit is: MM
note: If the module cannot measure the data or outputs 0 beyond the distance range. After the Led is powered on, the command light will be on every time it is triggered. The frequency is the same as the trigger cycle.
mode3:Mode=200K high level (PWM) pulse width automatic output
pulse width PWM with automatic output, the module automatically measures at the interval of 200ms, and outputs the high level of pulse width corresponding to the distance after the test. Calculation distance mode reference mode 1

👍 👍 👍 👍 👍
Paquete recibido, aún no probado, pero espero que funcione.