EE 109
Ultrasonic Speedometer
A handheld device that measures an object's speed from two ultrasonic distance readings and shows distance, time and speed on an LCD.
- My role
- Designer & builder: circuit, firmware in C from scratch, and debugging
- Tools & skills
- CAVR microcontrollerUltrasonic sensorServo dialCharacter LCDEEPROMBreadboarding
What I learned
I added error handling that throws out bad or out-of-range readings so the device recovers on its own instead of freezing, plus a color-changing LED, servo dial and buzzer that react to a speed limit the device remembers after power-off. Two units can also share readings. Hardware punishes vague thinking: every edge case has to be handled on purpose, which is the same discipline good product specs need.