LDM Module RPS800

Features and Applications

FEATURES

  • TOF Measuring LowConsumption Sensor. *1
  • Measuring rage up to 9m *2
  • Adjustable High Speed measuring up to 2000HZ.
  • Digital output with UART.
  • Highly Customizable module
    fit for most duties.

APPLICATIONS

  • Robot Eyes Distance
    Measuring
  • Positioning and monitor of objects
  • Security Applications Movement Detections
  • Level and elevator Measuring
  • Drone Dodge Actions Control

Electrical and optical characteristics

Pin Assignment

Reliability

Operation method

Accomplish by using STM32F302

  if(HAL_UART_Receive_DMA(&huart1, (uint8_t *)data, RXBUFFERSIZE) == HAL_OK)
	    {
		  //printf("data[0]=%X\r\n",data[0]);
		  if(data[0]==0xFA)
		  {
			i=0;
			check[i]=data[0];
		  }
		  else
		  {
		  i++;
		  check[i]=data[0];
		  }
	    }
	  if(i==4)
	  {
		  if(check[3]==0)
		{
		  	  distancePeak = check[2];
		  	  distancePeak = distancePeak << 8;
		  	  distancePeak += check[1];
		  	 printf("distancePeak=%d\n\r",distancePeak);
		  	 HAL_Delay(100);
		     //printf("finish\n\r");
	    }
	  }

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart