Smart Parking
This project has multiple different pieces of software that combine to make ParkSmart!
This is the python application running on a raspberry pi that uses an ultrasonic distance sensor to detect distance. The button.py script runs our demo script built for going through a row of 10 parking spaces.
The demo script does the following
- Has a calibration step on an empty parking space
- Gives an LED light for showing when the pi is ready to read the next parking spot
- The user clicks a button while holding the sensor over the parking spot, and this will then update the connected google sheet and web interface.
- Repeat steps 2 and 3 for all 10 parking spaces.
This python web application uses a database to keep track of which parking spaces are available or empty. The pi sends http requests to update the server, and the UI displays (in this demo) the 10 parking spaces with green markings to designate empty spots, and red markings to designate taken spots.
This R shiny application reads the google sheet that the pi updates, and displays graphs showing the total available parking spaces in the demo parking garage, and shows the usage over a period of time.