Linear Displacement Sensor Coursework
Combined three fundamentally different sensors — ultrasonic, photointerrupter and linear Hall-effect — to measure micron-accuracy linear displacement via a flexure. An Arduino Uno handled sensor integration and data processing, with direct ATmega328P register access used to overcome timing constraints that the standard Arduino library couldn't meet.
Key features & highlights
- Direct ATmega328P hardware register access for microcontroller timing
- 0.2 mm resolution consistently achieved across repeated trials
- DHT-11 module integrated to compensate for environmental drift (temperature/humidity)
- Sensor fusion across ultrasonic, photointerrupter and linear Hall-effect inputs
My role
Designed the circuit and wrote the full microcontroller firmware, including register-level timing code. Produced graphical representations of the collected data for presentation.