This project provides the features of a traffic penalty system. The traffic police can use a MFRC522 sensor used with Raspberry Pi 3B and add the details of the challan on the spot which will be sent to the website which has the driver's details like username, rfid, etc. along with the status of the challan.
🚀 Hosted at: https://trafficpenaltysystemsk17.azurewebsites.net/
For traffic police to enter challan details on spot:
- Raspberry Pi 3B
- MFRC522 Sensor
- RFID tags
For traffic police and user to see the status of all challans/users on website:
- Python 3.10.2
- Django 5.2
- SQLLite
- Bootstrap ( HTML / CSS / Javascript )
Type the following commands in sequential order:
python3 -m venv venv (To create virtual environment)
source env/bin/activate (To activate virtual environment)
pip install -r requirements.txt
python3 manage.py migrate
python3 manage.py runserver
To deactivate the virtual environment:
deactivate
This folder contains the configuration information of the project.
This folder contains the website application. This website has APIs which Raspberry Pi 3B + MFRC522 Sensor can communicate with and store the user challan details. User can login to the website and see the status of all challans.
This folder contains the hardware related application. MFRC522 Sensor + Raspberry Pi 3B can identify the user RFID tags and then the traffic police can enter appropriate details of challan and see the status of user challans as well in the display.