Control a robot with two motors and two servos to pick up ping pong balls via bluetooth

Dependencies:   mbed Servo 4DGL-uLCD-SE Motor

Ping Pong Scorer

This project's purpose is to create the machinery and controls necessary to make a robot pick up and deposit ping pong balls as part of the Ping Pong Collection Game.

Project Members

This project was a product of the following members:

  • Christina Lee
  • Boyan Mirov
  • Sai A. Narray
  • Alex Rao

For ECE 4180 at Georgia Tech

Linked Project

This project was created in tandem with the Object Counter. While it is certainly viable on its own, it's primary purpose is only served when using both programs on separate MBEDs.

Demonstration

Here is a video of the robot interacting with the Object Counter

Installation

To create this, you'll need the following parts:

Power Coupling

Because of the way servos and motors interact with the power received, connecting them both to the same circuit can cause undefined (and often unexpected) behavior. As such, it is recommended to ensure that they are always on separate systems. In other words, we recommend connecting the servos to a secondary power supply, different from the supply for the motors.

This guide follows this recommendation

Motors

MBEDH BridgeLeft MotorRight Motor
GndGndGndGnd
+5VVMOT
+3.3VVCC
+3.3VSTBY
p21PWMA
p15AIN1
p19AIN2
p22PWMB
p18BIN1
p16BIN2
A01+
A02-
B01+
B02-

Servos

MBEDServo (Arm)Servo (Handle)
GndGnd (black)Gnd (black)
+5V+ (red)+ (red)
p23CTRL (yellow)
p24CTRL (yellow)

Bluetooth

MBEDBluetooth UART LE
GndGnd
+5V+5V
GndCTS
p27TXO
p28RXI

shortlog@57bba5ff2155: not found in manifest