XV Lidar Controller v1.1

Description

This is as close to plug and play for your robot as you can get with the Neato XV Lidar. This interface board connects directly to the Neato XV Lidar and controls the rotation speed through Pulse Width Modulation (PWM).

The XV Lidar Controller receives the serial data from the XV Lidar looking for the RPM data embedded in the stream and uses a PID controller to regulate the speed to 300 RPMs. The data received from the Lidar is relayed to the USB connection for some upstream host device (PC, BeagleBone, Raspberry Pi, etc.) to process the data.

Usage

Connect to the Teensy USB port at 115200 baud. When sending commands, use the “newline” character sequence to signify the end of a command. Before sending most commands it’s helpful to stop the streaming of serial data with RelayOff.

Commands

Commands are case sensitive.

Help – Returns list of available commands

GetConfig – Shows the current running config (could be different than stored settings (EEPROM) if you made changes without saving)

SaveConfig – Save config changes (EEPROM)

ResetConfig – Restore the original configuration settings

MotorOff – Stops spinning the Lidar

MotorOn – Starts spinning the Lidar

RelayOff – Stop sending data through the USB connection

RelayOn – Send data through the USB connection

SetRPM – Set the desired rotation speed of the laser (300RPM recomended)