Capture sensor events
GPIO interrupts allowed the system to respond to sensor transitions without relying only on continuous polling.
Accurate sensing depended on timing. GPIO interrupts and hardware timer capture made it possible to measure ultrasonic echo delay precisely.
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
GPIO interrupts allowed the system to respond to sensor transitions without relying only on continuous polling.
I used hardware timer capture to record ultrasonic echo timing precisely enough to support distance measurement.
Ultrasonic sensing provided distance awareness while bump sensors provided direct impact detection, giving the system two complementary inputs.
Technical highlights
Ultrasonic distance sensing
Bump-sensor impact detection
GPIO interrupt handling
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.