Final Project

Wiring

Two embed chips are needed for this project. One is used for the controller, another one is used for the robot car. For controller, three components connect with embed. There are a single push button(control stop or continue), a IMU chip(use accelerometer to detect the angles), and a Xbee chip(for sending command to robot car). For robot car, two components connect with embed. There are a H-bridge chip(Control the power and speed of the motor) and a Xbee chip(for receiving command from controller). Two Xbee adapters are need for inserting Xbee chip in both Robot car and Controller. /media/uploads/ldeng31/h-bridge.png /media/uploads/ldeng31/imu.png

Robot Car Wiring

MBEDH-BridgeMotorH-BridgeMBEDXbee
GNDGNDRight Motor(BLK)A01GNDGND
VOUTVCCRight Motor(RED)A02VOUTVCC
p25PWMALeft Motor(BLK)B02p10DOUT
p26PWMBLeft Motor(RED)B01p9DIN
p12STBYp11RST
p5AIN2
p6AIN1
p7BIN1
p8BIN2

And for VMOT, it should be connect to battery power supply 6.0V. Decoupling Capacitor can be used here between battery power supply and Ground. Also, another battery pack should supply power to MBED, positive to VIN, negative to GND. An switch can be add to turn on and turn off the embed of the robot car.

Controller Wiring

MBEDIMUMBEDXbeeMBEDPush Button
GNDGNDGNDGNDGNDFIRST PIN
VOUTVDDVOUTVCCp8SECOND PIN
p27SCLp10DOUT
p28SDAp9DIN
p11RST


Please log in to post comments.