Smart Basketball Versus
![20220620_131932.jpg](/proxy/?url=https://content.instructables.com/FM8/22TN/L4LBNEKQ/FM822TNL4LBNEKQ.jpg&filename=20220620_131932.jpg)
I am an MCT student from Howest in Kortrijk, Belgium.
My project is 1 vs 1 basketball game using a Raspberry Pi 4. I mostly made this as a fun project that I could play long after my project is over.
Beat your buddies in this fun 1 vs 1 basketball game.
Features:
- Fully functional scoreboard
- Goals with score detection
- Fully realised database
- App that can track match history
Link to my code: https://github.com/howest-mct/2021-2022-projectone-HimpeWout
Downloads
Supplies
Rasperry pi 4:
Linux computer that runs all prcesses needed for my project.
Adafruit 7 segment display with backpack:
Display for my clock.
2 digit 7 segment display:
Display scores.
IR-sensor:
Sensors for detecting scores.
RFID:
RFID to go into manual override.
Rotary encoder:
Setting time on scoreboad.
Schematic
![breadboard.png](/proxy/?url=https://content.instructables.com/FU8/3EYE/L4LBNH8D/FU83EYEL4LBNH8D.png&filename=breadboard.png)
![schema.png](/proxy/?url=https://content.instructables.com/FY1/M2HN/L4LBNH8G/FY1M2HNL4LBNH8G.png&filename=schema.png)
DataBase
![EER.png](/proxy/?url=https://content.instructables.com/F5R/TV1D/L4LBNI9Z/F5RTV1DL4LBNI9Z.png&filename=EER.png)
Device:
data of all devices of the froject.
Historiek:
Data of all actions from the hardware.
Acties:
All possible actions the hardware can have.
Spelers:
Saves players.
Matches:
History of all matches.
Setting Up the Raspi
![commands.png](/proxy/?url=https://content.instructables.com/FGK/6F2H/L4LBNL0V/FGK6F2HL4LBNL0V.png&filename=commands.png)
- Install raspi OS
- Enable I2C and SPI
- Add WIFI
- Update O
- Install commands show above
- Get github code
- Database
- Install apache
Backend
The entire backend is programmed in Python and can be found here:
https://github.com/howest-mct/2021-2022-projectone-HimpeWout
Frontend
![xd.png](/proxy/?url=https://content.instructables.com/FC3/MKCL/L4LBNN8D/FC3MKCLL4LBNN8D.png&filename=xd.png)
The frontend was first made in adobe XD and later programmed in html and css.
Building the Scoreboard
![20220619_194442.jpg](/proxy/?url=https://content.instructables.com/FHJ/025G/L4LBNNDX/FHJ025GL4LBNNDX.jpg&filename=20220619_194442.jpg)
The scoreboard was fully 3D printed at home
Files Found below.