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

  1. mbed LPC1768 chip
  2. Sparkfun Magic Robot Kit
  3. Adafruit Bluefruit LE UART Friend - Bluetooth Low Energy (BLE)
    BLE
  4. LSM9DS1 IMU
  5. L293D dual H bridge driver
  6. HC-SR04 Sonar Sensor

Wiring

mbedH-BridgeMotorHall Effect Sensor
p22pwmA
p18AIN2
p17AIN1
p23pwmB
p15BIN2
p16BIN1
AO1+ Right
AO2- Right
BO1+Left
BO2-Left
p25Right Signal Wire
p24Left Signal Wire
gndgndLeft BlackWire, Right Black Wire
VoutSTBY, VCCLeft Red Wire, Right Red Wire
mbedBluetooth
p28RXI
p27TXO
Vin (external)Vin
gndgnd, CTS
ncRTS
mbedIMU
p9SDA
p10SCL
VoutVDD
gndgnd
mbedSonar LSonar R
p12echo
p14trig
p11echo
p13trig
VoutVccVcc
gndgndgnd
gndgndgnd

Source Code

Java Code for App: https://github.com/kniw233/BLERobot4180

Import programRobot

Programming for Shadow Robot control for smart phone mapping application.

Pictures

Sonar Sensor Placement
Circuit Setup
Android App

Demo Video


Please log in to post comments.