Bluetooth Controlled Robot
Overview
The goal of this project is to control an mbed robot wirelessly using a Sony Dualshock 3 controller. A C# application running in Microsoft Visual Studio along with MotionInJoy software is used to capture the analog values of the left and right joysticks and transmit them to the mbed over a bluetooth serial connection. The analog joysticks allow for variable speed control of the motors. Additionally, the robot uses several peripherals: a speaker for a car horn, ShiftBrite lights that cycle through on, dim, and high beams, and an IR sensor for back-up collision avoidance. Created by Alexander Ferrara and Luke LeFeve.
Components
- ShiftBrite
- Sharp IR Sensor
- JY-MCU Bluetooth Module
- Shadow Chassis with Motors/Wheels
- Speaker
- Dualshock 3 PS3 Controller
- MotioninJoy Software
Project Design
Video Demo
Pins
mbed | H-Bridge | Motor 1 | Motor 2 | BT Receiver | Speaker | IR Sensor | Shiftbrites | Ext. Battery |
---|---|---|---|---|---|---|---|---|
GND | GND | GND | GND | GND | GND | |||
p26 | PWMA | |||||||
p30 | AIN2 | |||||||
p24 | AIN1 | |||||||
Vout | STBY | |||||||
p23 | BIN1 | |||||||
p22 | BIN2 | |||||||
p21 | PWMB | |||||||
Vout | Vcc | Vcc | ||||||
AO1 | Black Lead | |||||||
AO2 | Red Lead | |||||||
BO2 | Black Lead | |||||||
BO1 | Red Lead | |||||||
VMOT | Vcc | 6V | ||||||
p27 | TXD | |||||||
p28 | RXD | |||||||
Vu | Vcc | V+ | ||||||
p25 | Out | |||||||
p20 | In | |||||||
p11 | D1 | |||||||
p15 | L1 | |||||||
p16 | E1 | |||||||
p13 | C1 |
Code
Import program4180_Final_project
bluetooth robot
Please log in to post comments.