Smart Basketgoal
A smart basketgoal is a basketgoal that will keep track of your score en time when you play. When your time is up there will light up a ledstrip around the board en there will sound a buzzer. In the beginning you have to scan your badge to identify yourself, by doing that you can see your scores afterwards. On the LCD screen you will see the IP adres of the raspberry pi we are using for this project.
Supplies
- Raspberry pi 4
- LCD screen
- Esp32
- Mini hoop + mini basketbal
- RFID scanner
- Heart rate sensor
- IR break beam sensor
- WS2812b ledstrip
- Joy-it RFID Module MFRC-522
- Joy-it SEN-KY039HS Puls-sensor
- Temperatuur sensor DS18B20
Connecting All the Components
The first thing I did was making sure all the components were working. So first I connected all the components to my raspberry pi. Then I wrote the code for the components to test them.
I connected the break beam sensor verry early to the rim so I could see easy if they were working or not.
Making Box
For making the box I used wood. I made some holes in it for the lcd, RFID scanner, buzzer, temperature and the power supply. To connect everything I used silicone. By using this you can easily put everything in place and when it is dry it is super strong.
For the RFID scanner I used a old bank contact scanner en putted the RFID scanner inside it. With this method you can slide your badge in it and it will scan.
Making Goal
So at the rim I attached the break beam sensors to check if you score. I connected them also with the same silicone.
At the board I attached the RGB ledstrip what will light up if the time is up.
The Code
See my github for the code.