MBED Robot with Collision Detection

ECE 4180 Fall 2018 Project
John Landers and William Trimmer

Description

This robot is controlled using the accelerometer controller in the Bluefruit phone app. The user can forward and backwards at different speeds, dependent on the tilt of the phone, as well as turn left and right. The robot will stop if it comes within 250mm or more of an object, depending on the speed, in order to avoid a collision.

Parts Required

The following parts were used to create this project:

Wiring

H-Bridge

MBEDH-Bridge
vm = 9V battery
Vout)vcc
gndgnd
gndgnd
p21pwma
p22ain2
p23ain1
Voutstby
p24bin1
p25bin2
p26pwmb
gndgnd

Motor

H-BridgeLeft motorRight motor
A01red
A02black
B02red
B01black

Bluetooth

MBEDBluetooth
gndgnd
VUVin
ncRTS
gndCTS
p14TXO
p13RXI

Sonar

MBEDHC-SR04
VuVCC
p6Trig
p7Echo
gndgnd

Code

Import programece4180-project

MBED robot with collision detection

(image)

Video


Please log in to post comments.