Skip to product information
1 of 1

Blue PCB Electronics

1b26 GY-53 laser tof flight time range sensor module serial pwm output

1b26 GY-53 laser tof flight time range sensor module serial pwm output

Regular price Dhs. 50.00
Regular price Sale price Dhs. 50.00
Sale Sold out
View full details

Description:

GY-53 is a low cost digital infrared distance measurement sensor module. It’s working voltage is 3~5V, and it has many advantages: low power consumption, small volume, easy to mount. The operating principle is that the light of infrared LED irradiates the object under test before the reflected light being received by MCU. What MCU does is to output distance value by calculating time difference. This module has two modes to read value: one is serial port UART (TTL electrical level) + PWM (Line 1); the other is Chip IIC Mode. The baud rate of serial ports can be 9600bps or 115200bps. The configurable module has two kinds of output modes, continuous output and inquiry output; also, it has power fail safeguard.

Datasheet: GY-53 datasheet

Features:

  • Measure Range: 0~2m;
  • Frequency: 22ms (maximum);
  • Working Voltage: 3~5V;
  • Working Electric Current: 25mA;
  • Storage Temperature: -20° ~ 85°;
  • Size: 25mm x 15.6mm;
  • Sensor Chip: VL53LOX.

Principle:

Y-53 is a low cost digital infrared distance measurement sensor module. It`s working voltage is 3~5V, and it has many advantages: low power consumption, small volume, easy to mount. The operating principle is that the light of infrared LED irradiates the object under test before the reflected light being received by MCU. What MCU does is to output distance value by calculating time difference. This module has two modes to read value: one is serial port UART (TTL electrical level) + PWM (Line 1); the other is Chip IIC Mode. The baud rate of serial ports can be 9600bps or 115200bps. The configurable module has two kinds of output modes, continuous output and inquiry output; also, it has power fail safeguard.

Wiring:

 

Code:

int pin =5;
unsigned long duration;
void setup() {
   Serial.begin(9600);  
   pinMode(pin, INPUT);
   delay(500); 
}

void loop() {

          uint16_t distance=0;
          duration = pulseIn(pin, HIGH);
          distance=duration/10;
          
           Serial.print("distance: ");
           Serial.print( distance);
           Serial.print(" mm,time: ");
           Serial.print( duration); 
           Serial.println("us");
           delay(100);   
}

Output: