Inspiration

During medical emergencies, every second matters. Ambulances can lose valuable time at congested traffic junctions, especially when conventional traffic signals have no way of knowing that an emergency vehicle is approaching. This inspired us to develop AMBIDO, a Smart Ambulance Traffic Priority System that connects ambulances with traffic-signal controllers and a central control platform. The idea is to allow an authenticated ambulance to request priority at upcoming junctions and coordinate traffic signals to create a safer and faster passage. Our goal is to demonstrate how GPS, embedded systems, IoT communication, and web-based monitoring can work together to address a real-world emergency-response challenge.

What it does

AMBIDO consists of three main components:

  1. Ambulance Unit
  2. Smart Traffic Signal Unit
  3. Web-based Driver & Control Room Platform

AMBIDO provides three primary operational modes: Normal Mode, Urgent Mode and Critical Mode.

Normal Mode & Urgent Mode

The process begins when a patient or caller contacts the Control Room. The operator reviews the patient's situation and location and checks the availability and locations of registered ambulances. The system identifies an appropriate nearby ambulance and sends a notification to the respective driver. Once the driver accepts the request, the Patient Pickup Journey begins. When the ambulance reaches the patient's pickup location, the journey automatically changes to Patient Onboard mode. The system then provides nearby hospitals based on the current location, while also allowing the driver to search for and select a specific hospital. The driver can then start the hospital journey through the system.

Critical Mode

For critical emergencies, the Control Room sends an emergency notification to the assigned ambulance. The driver accepts the request and begins the emergency journey using routing and ETA. If the ambulance encounters a highly congested traffic signal, the driver can press a dedicated Emergency Priority Button. This generates a priority request for the nearby traffic signal and simultaneously informs the Control Room. The Control Room can monitor the request and assess the traffic situation before authorising the required signal priority. Once authorised, the corresponding traffic signal provides a controlled green phase for the ambulance. After the ambulance passes the junction, the signal returns to its normal operating sequence. This approach combines rapid emergency response with human oversight, rather than giving unrestricted control of traffic signals to the ambulance driver.

How we built it

AMBIDO combines embedded hardware, GPS tracking, web technologies, wireless communication, and traffic-signal control.

Ambulance Unit

The ambulance prototype is built around an ESP32, which acts as the main controller. A NEO-6M GPS module provides the ambulance's location, while a physical emergency-priority button allows the driver to request traffic assistance when required. The prototype also includes a 7.4V battery, LM2596 buck converter, slide switch, and status indicators.

Traffic Signal Unit

Each traffic junction is controlled using an ESP32 with red, yellow, and green LEDs representing the traffic signals. The prototype contains three independently controlled traffic-signal units, allowing us to demonstrate priority coordination across multiple junctions.

Web Platform

We are developing a web-based platform using HTML5, CSS3, JavaScript, Node.js, Express.js, REST API, JSON, Leaflet.js, OpenStreetMap, OSRM, Nominatim, Geolocation API, Responsive Web Design.

The platform provides two primary interfaces:

Control Room

  1. Patient request management
  2. Ambulance availability and location
  3. Ambulance assignment
  4. Active journey monitoring
  5. Emergency notifications
  6. Traffic-priority requests
  7. Traffic-signal monitoring

Driver Interface

  1. Dispatch notifications
  2. Request acceptance
  3. Patient pickup navigation
  4. Patient Onboard status
  5. Nearby hospital suggestions
  6. Specific hospital search The web platform acts as the central coordination layer between the ambulance units, Control Room, and traffic-signal system.

Challenges we ran into

One of our main challenges was designing a complete emergency workflow rather than focusing only on traffic-signal automation. We needed to coordinate several stages of the journey, including patient requests, ambulance selection, driver acceptance, patient pickup, hospital selection, and emergency traffic management. Another important challenge was designing Critical Mode safely. We did not want a driver to independently control traffic signals whenever they encountered congestion. Therefore, the priority request is also communicated to the Control Room so that the situation can be monitored before traffic priority is provided.

We also had to consider:

  1. Matching the nearest available ambulance to the patient's location.
  2. Managing the transition from patient pickup to patient onboard.
  3. Providing flexible hospital selection.
  4. Identifying the appropriate nearby traffic signal.
  5. Coordinating multiple traffic signals.
  6. Returning signals to their normal sequence after an ambulance passes.
  7. Maintaining communication between the physical prototype and web platform.

Accomplishments that we're proud of

We developed AMBIDO as an integrated emergency-response and traffic-coordination system rather than a standalone traffic-light prototype.

Our key accomplishments include:

  1. Designed a complete patient-to-hospital emergency workflow.
  2. Developed a Control Room-based ambulance dispatch concept.
  3. Implemented location-based ambulance selection.
  4. Designed separate Normal and Critical operational modes.
  5. Created an automatic Patient Pickup → Patient Onboard transition.
  6. Added nearby hospital discovery and specific hospital search.
  7. Developed a GPS-enabled ESP32 ambulance prototype.
  8. Added a physical emergency-priority button.
  9. Designed Control Room monitoring for traffic-priority requests.
  10. Developed a React.js-based Driver and Control Room interface.
  11. Created a physical tabletop prototype representing a connected urban traffic network.

What we learned

Through AMBIDO, we learned how embedded systems, GPS, web applications, wireless communication, and real-time decision-making can be combined to address a real-world emergency-response problem. We gained practical experience in ESP32 development, GPS integration, traffic-signal control, React.js development, dashboard design, location-based logic, and hardware-software integration. More importantly, we learned that systems involving emergency vehicles and traffic infrastructure require careful consideration of authentication, human oversight, communication reliability, safety, and fail-safe operation.

What's next for AMBIDO- Smart Ambulance Traffic Priority System

Our next objective is to evolve AMBIDO from a prototype into a more comprehensive emergency-response platform.

Future development will focus on:

  1. Integration with authorised traffic-control infrastructure.
  2. Real-time ambulance-to-patient assignment using routing and ETA.
  3. Live traffic-density analysis.
  4. Intelligent traffic-signal prioritisation.
  5. Secure ambulance and driver authentication.
  6. Enhanced Control Room monitoring.
  7. Hospital availability and emergency-capacity information.
  8. Improved handling of GPS and network failures.
  9. Detailed journey and event logging.
  10. Controlled pilot testing in a simulated traffic environment.

Our Vision

AMBIDO aims to create a connected emergency-response ecosystem that coordinates patients, control rooms, ambulances, hospitals, and traffic infrastructure — helping ambulances reach patients efficiently and supporting safer, faster patient transport.

Built With

  • automation
  • embedded-systems
  • emergency-response
  • esp32
  • gps-tracking
  • healthcare-technology
  • iot
  • location-based
  • react.js
  • real-time-monitoring
  • smart-city
  • smart-transportation
  • traffic-signal-control
  • web-application
  • wireless-communication
Share this project:

Updates

Submission history