Electronic Beer Pong Table
Information
The purpose of this project is to create an electronic version of Beer Pong. The system keeps track of each player's score and BAC(Blood Alcohol Content).
Parts Needed
- 1 x uLCD-144-G2
- 1 x MPR121 Capacitive Touch Keypad
- 6 x Photoresistor
- 14 x 10k Ohm resistor
- 3 x Blue LEDs
- 3 x Red LEDs
Pinout
Reminder!
Remember to pull up I2C bus and implement voltage divider circuit for each Photoresistor.
mbed pins | Device pins | LCD pins | Touchpad |
---|---|---|---|
p9 | -- | -- | SDA |
p10 | -- | -- | SCL |
p14 | -- | -- | IRQ |
p15-20 | Photoresistors | -- | -- |
p21-26 | LEDs | -- | -- |
p27 | -- | TX | -- |
p28 | -- | RX | -- |
p29 | -- | RST | -- |
VOUT | Photoresistors/LEDs | -- | VCC |
VU | -- | VCC | -- |
GND | -- | GND | GND |
Simplified Circuit Schematic
Information
This schematic shows just one voltage divider circuit and LED, for brevity.
Cup State Presence Examples
Video Demonstration
Code
Import programElectronicBeerPongTable
4180 Design project
Please log in to post comments.