Skip to the content.

Back

IoT Dashcam Crash Detection System

Spain recorded more than 141,000 traffic casualties in 2019. Identifying the cause of an accident is difficult without reliable evidence, so we built a dashcam that detects the impact on its own and sends the footage out automatically.

Hardware

How It Worked

The system ran three threads in parallel.

The camera thread continuously wrote video into a circular buffer. When a crash was detected, it saved the last 10 seconds from that buffer and captured 5 still images.

The crash detection thread monitored the accelerometer for sudden changes in motion. If the reading crossed a threshold, it triggered the crash routine.

The communication thread ran a Telegram bot. It handled user registration and then sent the alert, the video and the images to every subscribed user. The LED matrix displayed a warning at the same time.

tinonininin

tinoni

Tech Explored

Highlights

Lowlights

Lessons Learned