How to measure 2 PWM signals and determine rising and falling edges

Hello,

I have a PA linear actuator with Hall sensor feedback. It outputs 2 PWM signals, and depending on where their edges are relative to each other, I can then estimate the speed, and therefore the distance traveled by the actuator.

Would an Uno be precise enough to determine a difference between 2 signals outputting at about 10,000 pulses/s?

Thank you!

10,000 pulses per second is one every 100Āµsecs. An Uno should be able to deal with that, but it would probably have very little spare time to do anything other than count the pulses and figure out the direction.

My first thought is that a faster device (maybe a Due) would be better. Note, however, that the Due (and many faster MCUs) works at 3.3v and your datasheet says that the encoder works at 5v.

Wait to see what someone else has to say.

...R

The actuator has an encoder, so only one signal is time critical, while the other one tells the direction of move. Count the pulses and scale it to know the distance moved. The signal frequency depends on the model (LB) and speed of movement.