05 / Embedded sensingFeb - Mar 2025

Collision Detection System

Accurate sensing depended on timing. GPIO interrupts and hardware timer capture made it possible to measure ultrasonic echo delay precisely.

  • Embedded C
  • TI MSP432
  • GPIO Interrupts
  • Timer Capture
  • Ultrasonic
StatusCompleted
FocusEmbedded sensing
Core toolsEmbedded C · TI MSP432 · GPIO Interrupts

Project overview

I developed a collision detection system using bump and ultrasonic sensors. The MSP432 measured distance through ultrasonic echo timing and detected physical impact through bump-sensor input.

Engineering approach

From idea to working system.

01

Capture sensor events

GPIO interrupts allowed the system to respond to sensor transitions without relying only on continuous polling.

02

Measure echo delay

I used hardware timer capture to record ultrasonic echo timing precisely enough to support distance measurement.

03

Combine detection modes

Ultrasonic sensing provided distance awareness while bump sensors provided direct impact detection, giving the system two complementary inputs.

Technical highlights

What this project demonstrates.

01

Ultrasonic distance sensing

02

Bump-sensor impact detection

03

GPIO interrupt handling

04

Hardware timer capture

What I learned

The project developed my understanding of event-driven embedded code and showed how timer peripherals can turn a fast electrical signal into useful physical information.
Next projectRoom Environmental Monitor