Smart Basketball Versus

by woutr33 in Circuits > Raspberry Pi

171 Views, 2 Favorites, 0 Comments

Smart Basketball Versus

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
schema.png

DataBase

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
  1. Install raspi OS
  2. Enable I2C and SPI
  3. Add WIFI
  4. Update O
  5. Install commands show above
  6. Get github code
  7. Database
  8. 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

The frontend was first made in adobe XD and later programmed in html and css.

Building the Scoreboard

20220619_194442.jpg

The scoreboard was fully 3D printed at home

Files Found below.

Downloads