Robot Mapping Obstacles

Overall Design

/media/uploads/azndevil/14895685_10211242381442303_1515824618_o.jpg

Project Details

The objective of this robot design is to map out obstacles within a 3ft by 3ft parameter using a uLCD screen. It would detect the obstacles using the Sonar Sensor and magnetic objects with the IMU. It would mark those obstacles as red dots in the uLCD. The robot moves using the H-bridge to control the motors on each side and being given commands from the Bluefruit App.

uLCD-144-G2 128 by 128 Smart Color LCD

Wiring

mBeduLCD HeaderuLCD cable
5V=VU5V5V
GndGndGnd
TX=P13RXTX
RX=P14TXRX
P15ResetReset

LSM9DS1 IMU

Wiring

mBedIMU
3.3V(Vout)VDD
GndGnd
P9SDA
P10SCL

L293D dual H bridge driver

Wiring

mBedH bridgeMotorExternal Power Supply(5V)
GNDGNDGND
3.3V(Vout)VCC
P21PWMA
P22PWMB
3.3V(Vout)STBY
VMOT+Pin
P23AIN1
P24AIN2
P25BIN1
p26BIN2
AO1Right Wheel +Pin
AO2Right Wheel -Pin
BO1Left Wheel +Pin
BO2Left Wheel -Pin

Adafruit Bluefruit LE UART

Wiring

mbedAdafruit BLEExternal Batter(5V)
GNDGNDGND
Vin+Pin
ncRTS
GNDCTS
p27 (Serial RX)TXO
p28 (Serial TX)RXI

HC-SR04 Sonar Sensor

Wiring

mbed LPC1768HC-SR04 Right SideExternal Battery(5V)
Vcc+Pin
GNDGNDGND
p6trig
p7echo
mbed LPC1768HC-SR04 Left SideExternal Battery(5V)
Vcc+Pin
GNDGNDGND
p12trig
p11echo

Robot Demo

Program

Import programLab4miniproject

A robot that can detect objects and determine if the object is magnetic while drawing a map of its motion and the object's position.


Please log in to post comments.