MysteryLidar: Difference between revisions

From RevSpace
Jump to navigation Jump to search
(Created page with "{{Project |Name=MysteryLidar |Picture=mysterylidar.png |Omschrijving=Aliexpress Mystery Lidar |Status=In progress |Contact=bertrik }} == Introduction == I bought a cheap lidar from AliExpress, no guarantees, no datasheets. This page is about understanding it and reverse engineering the protocol == Hardware == == Protocol == == Software ==")
 
Line 14: Line 14:


== Protocol ==
== Protocol ==
Serial bit rate is 23400 bps
From the Aliexpress page:
<blockquote>
Baud: 230400; Packet_length=60Bytes (in every ~4ms period) B0= 0x55 B1=0xAA B2=0x23 B3=0x10 B4+B5=current resolution LSB+MSB B6+B7= Start Angle of this packet LSB+MSB 16x: B8:B9= Distance LSB+MSB B10= Quality (1 byte only) . . . B56+B57= Final Angle of this packet (LSB+MSB) B58+B59= CRC
</blockquote>


== Software ==
== Software ==

Revision as of 15:10, 3 August 2024

Project MysteryLidar
Mysterylidar.png
Aliexpress Mystery Lidar
Status In progress
Contact bertrik
Last Update 2024-08-03

Introduction

I bought a cheap lidar from AliExpress, no guarantees, no datasheets. This page is about understanding it and reverse engineering the protocol

Hardware

Protocol

Serial bit rate is 23400 bps

From the Aliexpress page:

Baud: 230400; Packet_length=60Bytes (in every ~4ms period) B0= 0x55 B1=0xAA B2=0x23 B3=0x10 B4+B5=current resolution LSB+MSB B6+B7= Start Angle of this packet LSB+MSB 16x: B8:B9= Distance LSB+MSB B10= Quality (1 byte only) . . . B56+B57= Final Angle of this packet (LSB+MSB) B58+B59= CRC

Software