The full source code of my high school senior year project - controlling a broken flipper with an arduino.
Flipper Manufactorer: | Playmatic |
Flipper Model: | Space Gambler |
Board | Arduino Mega 2560 |
Libraries used | LiquidCrystal_I2C.h |
Front | Back |
---|
Arduino Port | Relay | Description |
---|---|---|
Port#51 | 1 | Bumper, Stingshots |
Port#48 | 2 | DropTargets, BallReturn (release ball) |
Port#3 | 3 | Lamp 32 |
Port#4 | 4 | Lamp 30 |
Port#5 | 4 | Lamp 28 |
Port#6 | 5 | Lamp 26 |
Port#7 | 6 | Lamp 24 |
Port#8 | 8 | Lamp 22 |
Port#9 | 9 | Lamp 20 |
Port#10 | 10 | Lamp 18 |
Port#11 | 11 | Lamp 17 |
Port#22 | - | LCD Display SCL |
Port#22 | - | LCD Display SDA |
Clamp | Arduino Port | Description |
---|---|---|
1 | - | Common - |
2 | Port#50 | Switch#46 | Detects ball at initial position |
3 | Port#51 | Switch 32 | Bumper Sensor |
5 | Port#52 | Switch 36 |
6 | Port#52 | Switch 21 |
7 | Port#52 | Switch 37 |