The GY-56 is a low cost digital infrared range sensor module.
*Operating voltage 3-5v, small power consumption, small size, easy installation.
*Its working principle is that the infrared LED emits light and is irradiated.After the object, the return light is received by the MCU and the MCU calculates the difference in time, get the distance. Directly output the distance value.
*This module, there are two ways to read data, namelySerial UART (TTL level) + IIC (2 line) mode,The baud rate of the serial port is 9600bps and 115200bps, configurable,
*There are continuous, inquiries output in two ways, you can power off the save settings.
*Provide arduino, 51, stm32 microcontroller communication program.
*GY-56 can set the upper and lower limit distance alarm value, switch output,
*In the set interval, there is a block of the measured object and a high level is directly output.
*Under the IIC mode, you can set different internal IIC addresses if necessary.So that multiple sensors are connected on the same bus.
Module I / O is a TTL level that can be connected directly to the serial port of the MCU. It can be directly connected to the chip such as PL2303, CH340, FT232, but it can not be directly connected to the computer nine-pin serial port.