Wall mapping robot
Team Members:
- Malavika Bindhi
- Brian Eason
- Ryan Greiner
- Kun Wang
Project Description
The goal of our project is to create an app that controls a robot so that the robot can use sonar to map out an unknown area. An android application uses Bluetooth communication to control a mbed powered robot. Using the app, the robot can move forward and reverse as well as turn clockwise or counterclockwise. The robot uses sonar readings to send data back to the Android app so that the app can draw walls.
Components Used
- mbed LPC1768 chip
- Sparkfun Magic Robot Kit
- Adafruit Bluefruit LE UART Friend - Bluetooth Low Energy (BLE)
- LSM9DS1 IMU
- L293D dual H bridge driver
- HC-SR04 Sonar Sensor
Wiring
mbed | H-Bridge | Motor | Hall Effect Sensor |
---|---|---|---|
p22 | pwmA | ||
p18 | AIN2 | ||
p17 | AIN1 | ||
p23 | pwmB | ||
p15 | BIN2 | ||
p16 | BIN1 | ||
AO1 | + Right | ||
AO2 | - Right | ||
BO1 | +Left | ||
BO2 | -Left | ||
p25 | Right Signal Wire | ||
p24 | Left Signal Wire | ||
gnd | gnd | Left BlackWire, Right Black Wire | |
Vout | STBY, VCC | Left Red Wire, Right Red Wire |
mbed | Bluetooth |
---|---|
p28 | RXI |
p27 | TXO |
Vin (external) | Vin |
gnd | gnd, CTS |
nc | RTS |
mbed | IMU |
---|---|
p9 | SDA |
p10 | SCL |
Vout | VDD |
gnd | gnd |
mbed | Sonar L | Sonar R |
---|---|---|
p12 | echo | |
p14 | trig | |
p11 | echo | |
p13 | trig | |
Vout | Vcc | Vcc |
gnd | gnd | gnd |
gnd | gnd | gnd |
Source Code
Java Code for App: https://github.com/kniw233/BLERobot4180
Import programRobot
Programming for Shadow Robot control for smart phone mapping application.
Pictures
Demo Video
Please log in to post comments.