I have made a project with a raspberry pi, a circus case and some sensors. The sensors are connected to the pi with the GPIO pins. In my circus case the sensors detect when something goes out of the case. When your equipmment is out of the case it automatically logs it. With the case you can see how long you have practiced with something. You can see all that info on a site that is hosted on the same pi. On the site you can also open and close the lock of the circus case.
The best way to find a circus case is by finding one on a flea market.
Buying vintage cases in a shop can be very expensive. For this project you will also need some other things down below you can find a list of everything you need.
You will find all the code on this github: https://github.com/julesdesplenter/project_circus_...
- Raspberry-Pi 3B +
- tool holders
- nfc module pn532
- nfc sticker tags
- weight module HX711 with load cells
- 5 buttons
- lcd display
- power bank with an output of 2 ampère
- 2 breadboards
- breadboard colt supply
- electric lock
- jumper cables
- T-connector for breadboard
- super glue
- 3 metal corner holders
- soldering tin
- 4 rolls of tape
- 9 volt battery
- breadboard supply
- soldering iron
Step 1: Creating a Fritzing Scheme and Breadboard Scheme
This is how I connected everything to the pi. You can choose one of the two schemes they are the same.
Step 2: Making a Database
This is my database scheme you can remake it yourself or use the dump-file from in my github repository.
Step 3: Connecting Your Sensors, Display and Lock and Put Them in Your Case
You need to glue the mettal connectors together so you can mount the lock in your case. The button needs to be glued to the holders and the load cells to the tape rolls so they have space to bend when there is weight on it. I have placed everything in my case with duct tape and super glue. It's not ideal but it works. You can use the power bank to power the pi so it's portable.
Step 4: Step 4: Making a Responsive Website
I use a website to display how much i have practiced. You can find the code for the website on the github. He is responsive so you can also use him on yout phone.
Step 5: Step 5: Practice and Have Fun
Good job you made it now you can practice. I hope you enjoyed and will enjoy your own smart case.