Incentivized Tech-Bin
This project was prepared as a PBL(Project Based Learning) Subject of SPPU S.E Computer Technology.
Demo at : TechBin Demo
A point based Incentivized Tech Bin will have the facility to generate rewards for the bin users based on the frequency of the user using the bin. Design a system where the user is scored with the points each time garbage is put into the bin indicating the amount of garbage. Design a gamified portal to provide rewards motivating users to throw more and more garbage.
(TechBin) is equipped with camera and weight sensors. As soon as user registers on Portal The Thing Fetches your face pattern from the server and stores locally. Whenever the user walks in front of bin to dump the trash Thing recognize face and matching updates the score according to the amount of trash dumped into the bin.
(techbin.ml) shows the leaderboard of all the users of certain organization or city the bin is configured for and shows near real-time leaderboards. The portal also allows for Login and registration. Once registered user if eligible for Participating. And Login allows user to claim whatever the rewards are awarded (if any) to them.
git clone https://github.com/swapnillondhe24/Incentivized_TechBin
-
For Portal:
- In config.php edit your server details.
-
For Thing:
- Edit SQL server configurations in Thing_Code.py
- Set up Thing as per Circuit diagram Reference
- Connect load cell to HX711 as :
- Green/ Blue --- A-
- White --- A+
- Black --- E-
- Red --- E+
- Connect HX711 to Raspberry pi as :
- VCC --- Raspberry Pi (5V)
- GND --- Raspberry Pi (GND)
- DT --- Raspberry Pi (GPIO 5)
- SCK --- Raspberry Pi (GPIO 6)
- Connect camera to raspberry Pi using CSI or USB and give appropriate index for video capture in Thing_Code.py
- Connect load cell to HX711 as :
Calibrate the HX711 Reference Here and update referenceValue in code
Host Portal
Register users.
Done.
Special Thanks to :