VEHICLE SPEED ALERT / ESP32 APPLICATION
Car Danger Zone
Dynamic Car Speed Controller (DSC) & Danger Zone Detection: Cyber-physical vehicle speed regulation with ESP32 telemetry, geospatial geofencing, and Android Jetpack Compose supervisory navigation.

About this project
About this project
A four-wheel test car carries an ESP32 DevKit with a NEO-6M GPS on UART2, an HC-SR04 on the front bumper, an L298N driving the motors and a 5 V piezo horn; a Kotlin and Jetpack Compose phone app does the map, the geofencing and the talking. 61 accident hotspots from Indian highways are stored as 500 m circles, split into high (40 km/h) and medium (50 km/h) risk, and the car's position is compared with the Haversine formula. Inside a zone, PWM drops from 100% to 65% or 31%; below 35 cm the ultrasonic sensor forces 0% and stops the car. Reported latencies are 42.5 ms for a geofence and 28 ms for the emergency stop. Building the app needs Android SDK 35, JDK 17 and Google Maps, OpenRouteService and Firebase keys; the firmware is one .ino that needs TinyGPSPlus.
From the README
From the README
- Sensor
- an HC-SR04 ultrasonic obstacle sensor
- Geofence
- A geofence activation condition triggers when
- Dataset
- Records: 61 georeferenced hotspots
- Result
- Mean Geofence Detection Latency: $42.5\text{ ms}$
- App
- A native Android application built with Kotlin and Jetpack Compose
Hardware
Boards: ESP32
ESP32-class board. Verify the exact board revision, display, power source and wiring in the upstream build guide.
Media credit & rights
Upstream project media · rights remain with its owner · Credit: omkar703
Screenshots from the upstream README. Code and firmware were not executed. License notices are included.
View original source ↗ Copyright & removal · Reviewed
More projects on these boards
AIDlink Acid Box Acidportal AgentScreen Arduino Tesla Seat Async Esp Fs Webserver
See what an ESP32 project looks like, and whether it runs on your board.
FILTERS
Browse by form factor. Check the exact board, chip and peripherals before installing.
Try a project
Newest listings
Give your project a little spotlight.
Repository links do not imply author endorsement or verified hardware compatibility. Check the upstream safety guidance before powering or flashing a build.