Hi all,
I am going to use a rotary encoder (20 pulses per revolution) which will be connected to a leadscrew. I will then use a microcontroller to monitor the pulses and hence knowing the linear position.
Since the leadscrew is 1m long with a 1cm pitch, that means the encoder will produce 20000 for the full length.
What is the best method for storing and monitoring these pulses in the MCU please?
I am going to use a rotary encoder (20 pulses per revolution) which will be connected to a leadscrew. I will then use a microcontroller to monitor the pulses and hence knowing the linear position.
Since the leadscrew is 1m long with a 1cm pitch, that means the encoder will produce 20000 for the full length.
What is the best method for storing and monitoring these pulses in the MCU please?