Multiple Scanning LiDAR Robot
By Jered Tupik and Sam Webster - Fall 2019 4180
Overview
We set out to design and build a robot to demonstrate a scanning LiDAR collision warning and avoidance system. The system will support both remote bluetooth user-control and fully autonomous operation. During user-controlled movement the robot will provide visual and audio feedback of nearby obstacles via an on board LCD screen and speaker.
Design Description
We utilized the robot frame and drive train included in the robot kit and added our own custom scanning LiDAR system consisting of 4 Time of Flight Distance Sensors (VL53L0X, used in lab) mounted on a single servo with a custom tower system. The whole system is based on the mBed LPC1768 running mBed RTOS (additional components and connections listed below).
User Instructions
After downloading the Adafruit Bluefruit LE Connect app and connecting to the Bluefruit module, select the controller option from the menu options. By default the robot will be in user controlled mode. The operator can use the arrow keys to drive the robot; multiple keys can be pressed at the same time to achieve a full range of movements. Pressing the "1" button will launch the autonomous driving mode. User control mode can be restarted by pressing "1" again. The "4" button is reserved as a special emergency shut off.
Video Demonstration
Implementation
Primary Components
Bluefruit | gnd | gnd | ||
Vin (3.3-16V) | Vu 5V | |||
CTS | gnd | |||
TXO | p14 | mBed Serial RX |
H-Bridge | Vm | Vu (5V) | ||
Vcc | Vout | |||
gnd | gnd | |||
A01 | Red of Left Motor | |||
A02 | Black of Left Motor | |||
B02 | Red of Right Motor | |||
B01 | Black of Right Motor | |||
PWMA | p21 | |||
AI1 | p23 | |||
AI2 | p24 | |||
STBY | Vm | |||
BI1 | p29 | |||
BI2 | p30 | |||
PWMB | p22 |
Servo | Red (5V) | 5V | ||
Black (gnd) | gnd | |||
Yellow (cntrl) | p26 |
uLCD | 5v | Vu | ||
RX | p27 | |||
TX | p28 | |||
gnd | gnd | |||
RES | p15 |
5V Regulator | Vin | 5V | ||
Common | gnd | |||
Output | + of Class D Amp |
Class D Amp | Pwr + | + on 5V Reg | ||
Pwr - | gnd | |||
Vol (x3) | to potentiometer | |||
In + | p25 | |||
In - | gnd | |||
Out+ | Spkr + | |||
Out - | Spkr - |
Lidar (x4) | Vin | Vout | ||
gnd | gnd | |||
SHDN | p17 (front), p18 (back), p19 (left), p20 (right) | required to assign I2C addresses | ||
SCL | p10 | |||
SDA | p9 |
*More information on setting I2C Addresses found here*
Code
Please log in to post comments.