LabWired The easy way to build hardware
UART device

360° Scanning Lidar

The 360° Scanning Lidar is a UART device in the LabWired part catalog. Its catalog type is ydlidar-scanner. It connects to the MCU over UART. The catalog gives a supply range of 4.8–5.2 V. It has 4 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

Key facts

CategoryUART devices
Catalog typeydlidar-scanner
InterfaceUART
Supply range4.8–5.2 V
Pins4

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Checked against a capture. Compared against a recorded trace or capture from real hardware, with the record kept in the repository.

Raw 22.16 s capture of a physical scanner RX line at 230400 8N1 (306 098 bytes, 3 794 frames, 0 checksum rejects, 89 331 samples). Replayed by core/crates/core/tests/ydlidar_silicon_parity.rs: all 3 794 frames decoded and re-encoded byte-identical, plus the three format properties a decoder cannot see (always-set angle check bit, quarter-millimetre distances, 6-bit intensity stored <<2). Provenance: core/crates/core/tests/fixtures/ydlidar/PROVENANCE.md. Scene geometry is modelled, not captured — the capture gates the wire format only.

360° Scanning Lidar pinout

PinElectrical typeFunction
VCC Power input Supply
GND Power input Supply
TX Output UART transmit (TX)
RX Input UART receive (RX)

How to simulate the 360° Scanning Lidar in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the 360° Scanning Lidar (catalog type ydlidar-scanner).
  3. Connect VCC and GND to the supply and ground of the board. Use a supply inside the catalog range of 4.8–5.2 V.
  4. Cross the UART lines: connect TX to the RX pin of the board, and RX to the TX pin of the board.
  5. Run the firmware. It sends and receives bytes on the simulated UART as on hardware.

Related UART devices

All UART devices · All parts

No manufacturer datasheet is indexed for this part yet, so none is linked here.