Description: GY-US42 is a low-cost and high-quality range sensor module. The working voltage is 3-5v, the power consumption is small, the volume is small, and the installation is convenient. Its working principle is that the probe emits ultrasonic wave, irradiates the measured object, the probe receives the returned acoustic wave, and uses the time difference to calculate the actual distance. The module has three ways to read data, namely Serial UART (TTL level), IIC, pulse PWM mode. The baud rate of the serial port is 9600bps and 115200bps, which can be configured. There are two modes: continuous and inquiry output. The settings can be saved after power failure. IIC can modify the internal address, so that one IIC bus can connect multiple modules at the same time. Pulse PWM output, the same as SR04. The module can adapt to different working environments and directly connect with the microcontroller. When connecting the computer, you need a USB to TTL module for direct connection. IIC mode can be directly connected with APM, Pixhawk, etc. The communication program of arduino, 51, stm32 single chip microcomputer is provided, but the schematic diagram and internal single chip microcomputer source code are not provided. Because of the use of an integrated transmitter receiver ultrasonic probe, the range of blind area for ranging is about 20cm. Measuring distance within 20cm is invalid.