Wednesday, 1 May 2019

microcontroller - Poor man large linear encoder


I'm looking for a way to build a cheap 1m linear encoder. Precision should be around 2cm (which is not really "precision").


Any advice will be welcome.



@Joe Hass : yes it is moving. Not really fast. Speed is not a concern. 1m per 10s is ok.


Edit : Thanks for help, as asked I give more details. The device will pick paper in drawers arranged vertically. There's one moving paper picking device, and dozen of drawers on top of each others. I need accuracy to locate the drawers to pick from. And a good notion of speed and position for the PID system that control the picking device. I think two laser cut optical rulers will do the trick. (there's a fablab in my city).



Answer



I'm not sure of the mechanics of what you describe but if it slides on a specific legth bar you can use an optical sensor that reads either slots on the bar or reflective areas (like a shiny sticker every 2cm)


enter image description here


Another idea is the use of a small wheel that has a similar optical sensor and by reading the wheel movement you can calculate the distance.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...