A belt-driven linear actuator from recycled ink printer. Controlled by PID controller implemented on STM32 Nuleo Board. This project will also include a comparision of different position control algorithms.
The additional goal is to compare different methods of displacement measurement, i'll try to compare ultrasonic sensor (HC-SR04) with encoder-based position feedback.
The linear encoder in this system is implemented using a slotted optocoupler and an encoder strip with markings. I've attached a photo that shows a close-up of the device.
At the moment, I'm unable to proceed further due to a short circuit issue, but here's a video showing how the controller works implemented on the Arduino R3 board.