This project simulates a smart parking system using ESP32 (Wokwi) to monitor slot availability and leverages MQTT, ThingSpeak, and AWS IoT Core for cloud integration. It features dynamic pricing powered by machine learning, responsive dashboards, and scalable data routing—all without the need for physical hardware.
- 🔄 Real-time parking slot detection (1 = Occupied, 0 = Available)
- 📡 MQTT data publishing via HiveMQ (
test.mosquitto.org) - 🌐 Dual cloud routing:
- 🚀 ThingSpeak: Visualization + API data stream
- ☁️ AWS IoT Core: Enterprise-grade handling via Python MQTT bridge
- 🧠 ML-based dynamic pricing algorithm
- 🧩 ReactJS frontend for real-time dashboard and pricing display
- 🧪 Wokwi simulator—fully hardware-free testing
Our machine learning model adjusts pricing based on:
- Current parking occupancy
- Historical slot usage patterns
- Time of day and availability trends
This allows demand-based real-time pricing similar to modern smart city systems.
[Wokwi ESP32 Simulation]
|
| MQTT (smart_parking/status)
v
[HiveMQ - test.mosquitto.org]
|
| Python MQTT Bridge (TLS & Certs)
v
[AWS IoT Core]
[Wokwi ESP32 Simulation]
|
v
[ThingSpeak API]
|
v
[React Frontend App]
- Microcontroller Simulation: ESP32 (Wokwi)
- Protocol: MQTT
- Broker: HiveMQ (
test.mosquitto.org) - Backend Cloud: AWS IoT Core (TLS-secured Python bridge)
- Frontend API: ThingSpeak
- UI Layer: ReactJS (real-time visualization + dynamic pricing)
- ML Integration: Python-based model trained on slot occupancy data
- Simulate ESP32 in Wokwi
Publishes slot status via MQTT tosmart_parking/status. - Run Python MQTT Bridge
Forwards data securely from HiveMQ to AWS IoT Core using TLS & certificates. - Enable ThingSpeak API
Configures a channel to store real-time parking data for the frontend. - Launch React App
Connects to ThingSpeak API to fetch slot status and dynamic pricing for display.