A smart device that automatically measures the length of objects placed on a platform. This project uses an FPGA development board to control motors and sensors, creating a low-cost measurement tool from recycled printer parts.
Demo:
The system works like a mini scanner:
- You place an object on the measurement platform
- A sensor moves across the object
- The system calculates the object's length
- The result appears on a display screen
Key Achievement: Built a complete measurement system using recycled printer mechanics and an FPGA board, demonstrating skills in embedded systems, motor control, and sensor integration.
Here are the main components that make this project work:
- The "brain" of the system
- Controls everything and makes calculations
- Processes sensor data and manages motor movement
- Detects when an object is in front of it
- Sends a signal (on/off) to the FPGA
- Works like a light switch that turns on when it sees an object
- Moves the sensor back and forth
- Taken from an old printer (recycling!)
- Creates smooth, precise movement
- Turns on when an object is detected
- Provides visual feedback
- Shows the system is working
- Shows the final measurement result
- Displays the length in millimeters
- Easy to read numbers
The system follows a simple step-by-step process:
- The system turns on and initializes all components
- The motor starts moving the sensor from the left side
- The motor moves the sensor slowly across the platform
- The sensor continuously checks if an object is in front of it
- When the sensor first sees an object, it lights up the LED indicator
- The system remembers this position (start of measurement)
- The measurement begins!
- The motor keeps moving while the sensor sees the object
- The system counts how far the motor has moved
- This continues until the sensor no longer sees the object (end of measurement)
- The system calculates: end position - start position = object length
- Converts the motor movement into millimeters
- Uses a calibration factor for accuracy
- The result appears on the LED display
- Shows the length in millimeters (e.g., "45.2 mm")
- The LED indicator turns off
- The motor returns to the starting position
- The system is ready for the next measurement
