Gesture Controlled Wireless Car
Team
Jordan Hughes
Stephen Piper
Alex Simoneaux
Kevin Whitmore
Overview
The purpose of our project is to construct a robot that can be controlled by hand movements with several other add-ons, like numerous LED's and a speaker which plays a song.
Components Needed
- Zigbee (XB Series 2) (2)
- Emgreat Robot Chassis (Includes 2 DC motors, chassis, and battery pack)
Wiring Diagrams
For each Mbed, a visual overview is included first to give an easy overview of how the entire Mbed is pinned out the various components. Following this general overview are the various pin outs for specific components, as well as any general reminders for that specific part (ex: attaching a resistor in series with an LED).
Mbed 1
Mbed1 is solely responsible for interpreting the users hand gestures and transmitting the appropriate command to Mbed2 using one of the Zigbees.
Visual Overview
The visual overview is provided below, and is a nice way to quickly reference the various hookups to Mbed1 to ensure that the general wiring is correct.
Zigbee Connection
Mbed 1 | Zigbee 1 |
---|---|
Pin 8 | Reset - Pin 5 |
Pin 9 | DIn - P3 |
Pin 10 | DOut - P2 |
Ultrasonic Connections
Mbed 1 | Ultrasonic 1 |
---|---|
Pin 8 | Reset - Pin 5 |
Pin 9 | DIn - P3 |
Pin 10 | DOu |
Mbed 1 | Ultrasonic 1 |
---|---|
Pin 8 | Reset - Pin 5 |
Pin 9 | DIn - P3 |
Pin 10 | DOut - P2 |
Mbed 2
Visual Overview
Zigbee Connections
Mbed 2 | Zigbee 2 |
---|---|
Pin 8 | Reset - Pin 5 |
Pin 9 | DIn - P3 |
Pin 10 | DOut - P2 |
H Bridge Connections
Mbed 2 | H Bridge |
---|---|
Pin 30 | RV-L - AIN2 |
Pin 29 | FW-L - AIN1 |
Pin 26 | SPD-L - PWMA |
Pin 25 | RV-L - BIN2 |
Pin 24 | FW-L - BIN1 |
Pin 23 | SPD-R - PWMB |
LED Connections
Don't forget to connect the LEDs in series with a 100-300 ohm resistor to prevent risking burning them out.
MBed 2 | LED |
---|---|
Pin 20 | Brake LED |
Pin 21 | Right Turn LED |
Pin 22 | Left Turn LED |
MCP23S17
The MCP23S17s are responsible for controlling all of the RGB LEDs, allowing the car to have more than would be possible with just the MBed.
Mbed 2 | MCP23S17 (all) |
---|---|
Pin 5 | SI- Pin 13 |
Pin 6 | SO- Pin 14 |
Pin 7 | SCK - Pin 12 |
Vout | VDD - Pin 9 |
Gnd | VSS - Pin 10 |
Pin 15 | Reset - Pin 18 |
Mbed 2 | MCP23S17 (1) |
---|---|
Pin 16 | Pin 11 |
Mbed 2 | MCP23S17 (2) |
---|---|
Pin 17 | Pin 11 |
Mbed 2 | MCP23S17 (3) |
---|---|
Pin 19 | Pin 11 |
Software Components
Mbed 1
Import programMBed1
Needed program to run the mbed responsible for interpreting hand gestures and transmitting them to the second mbed
Mbed 2
Import programECE4180_PROJECT_ROBOT
Initial Release
Additional Information
Mbed
For more information about the mbed LPC1768, check out the product page and datasheet
Ultrasonic Senors
For more information about the ultrasonic sensors, check out the mbed page or examine the datasheet.
Speaker
For additional readings, see the mbed speaker wiki page, or view the datasheet
LEDs
Additional information on the red LED's can be found in its datasheet. More information about the RGB LED's can be found on the mbed wiki page or in the datasheet.
Please log in to post comments.