A smart parking system with web server using esp32 and ultrasonic
Simple parking system with esp32 microcontroller that's have a lot of features like web server and wifi. And using ultrasonic sensors to detect the cars and count them. and using servos to controller the exit and entry gates.
- Two gates
- Realtime response
- A web server for monitoring the system
- ESP32 Microcontroller
- Ultrasonic distance sensor(HS-SR04) x2
- Micro servo(SG90) x2
- Small breadBoard
online simulation with circuito.io
Components Pins | ESP Pins |
---|---|
Ultrasonic one Trig pin | P33 |
Ultrasonic one Echo pin | P25 |
Ultrasonic one VCC pin | 5v |
Ultrasonic one GND pin | gnd |
Ultrasonic two Trig pin | 17 |
Ultrasonic two Echo pin | 16 |
Ultrasonic two VCC pin | 5v |
Ultrasonic two GND pin | gnd |
First servo input pin | 32 |
First servo VCC pin | 5v |
First servo GND pin | gnd |
Second servo input pin | 19 |
Second servo VCC pin | 5v |
Second servo GND pin | gnd |
- web server server code from Kris Kasprzak
- Distance sensors may sense the presence of an object, but not a car specifically.
- Add an authentication method
- Add a page to control the system in the web server
- Jo, Y., & Jung, I. (2014). Analysis of vehicle detection with WSN-based ultrasonic sensors. Sensors, 14(8), 14050–14069. link
- Stiawan, R., Kusumadjati, A., Aminah, N. S., Djamal, M., & Viridi, S. (2019). An ultrasonic sensor system for vehicle detection application. Journal of Physics: Conference Series, 1204, 012017. link