πŸš‘

Smart Traffic Ambulance

Intelligent Ambulance Traffic Priority System β€’ OSRM Routing & ESP32 Hardware Priority Sync

πŸ“ GPS Sensor Telemetry
WAITING FOR GPS
πŸ”₯ Firebase Realtime Database
CONNECTING...
Latitude --
Longitude --
GPS Accuracy --
Last Update --
Location Reliability WAITING

πŸ₯ Select Destination Hospital

Select a predefined fixed hospital to calculate the actual road driving route.

πŸ—ΊοΈ Live Route Corridor Map

Live ambulance location, road-aware fixed junctions, destination hospital, and driving path.

Fixed Traffic Junction (≀50m)
Ambulance Position
Fixed Hospital Target
OSRM Road Corridor

🚦 Route Information & Priority State

Destination Not selected
Driving Distance --
Estimated Time (ETA) --
Next Junction Waiting for route
Distance Along Road --
Traffic Light Priority Normal

🚦 Ordered Junction Corridor

Sequential fixed junctions detected along the road route within 50m radius.

Select a hospital to calculate the route.

πŸ’» ESP32 Hardware UART & Priority Telemetry (115200 Baud)

Live stream of incoming Firebase events, GPIO pin toggles (Red: G25, Yellow: G26, Green: G27), and junction states.

[UART0] Listening on 115200 baud... Connecting to Firebase Realtime Database...
Select a hospital and start live GPS or run the route drive simulator.