12 / 15
Copyright (c) 2009-2013 RoboPeak Team
Copyright (c) 2013-2016 Shanghai Slamtec Co., Ltd.
Figure 3-3 RPLIDAR A2 Pins Reference Design
Pin Definition for the USB Adapter
The USB adapter is also using XH2.54-5P specification socket, and it can be
connected with RPLIDAR A2 directly. The pin definition is the same as the RPLIDAR
A2.
Configure RPLIDAR A2 Scan Frequency
The motor speed control signal MOTOCTL can be configured directly via the USB
adapter of RPLIDAR A2. Therefore, the RPLIDAR A2’s scan frequency can be
modified by invoking the related functions in the SDK to configure the motor
speed.
Without the USB adapter, users can also control the speed by setting the PWM
duty cycle of MOTOCTL. Please note that the PWM frequency is 20kHz. For more
detailed parameter and index, please refer to the datasheet.
Please refer to the RPLIDAR protocol and application note for more information
and the SDK for the sample code on RPLIDAR scan frequency.
SDK Usage
SLAMTEC provides RPLIDAR SDK support on both Windows and Linux platform.
And users can embe the SDK source code to other operational system or
embedded system quickly. Please refer to the SDK document for more information.
V5.0
GND
TX
RX
MOTOCTL
Power(5V DC)
UART
PWM Generator
MCU/DSP
RPLIDAR