being24 / YDLIDAR-SDM15_arduino

Arduino library for YDLIDAR SDM15
MIT License
1 stars 1 forks source link

Connect lidar to esp32 #1

Open lehotanhiep opened 1 month ago

lehotanhiep commented 1 month ago

Hi Being24

I get this when run code. how to right connect to arduino board, thanks

get data checksum error start scan start scan checksum error scan times: 0 distance: 0 intensity: 0 disturb: 0 scan times: 1 distance: 0 intensity: 0 disturb: 0

being24 commented 1 month ago

I've encountered the same error myself. I have not thoroughly verified the cause, but sometimes restarting SDM15 fixes it.

Can you please edit the library and show us the contents of the recv so I can try to determine the cause?