U3 LV DMI Encoder to HIgh / Low output | LabJack
 

U3 LV DMI Encoder to HIgh / Low output

2 posts / 0 new
Last post
John
jday@imsanalysis.com's picture
U3 LV DMI Encoder to HIgh / Low output

I would like to take a 10,000 PPR encoder, interpret the speed, and based on the speed, output a 5v high.  

For example, if my encoder moves greater than 2 pulses per second, make a 5V high output.  otherwise, keep output low at zero volts.

LabJack Support
labjack support's picture
That should be pretty easy. A

That should be pretty easy. A host app needs to use a hardware counter to count pulses from the encoder. If the count increments more than some threshold then set a DAC to 5V.

If the encoder is quadrature and you need direction information then the quadrature feature can be used. Keep in mind the rate limit for quadrature is much lower than for a hardware counter. 30 k edges per second vs 80 MHz

 

https://labjack.com/support/datasheets/u3/hardware-description/timers-co...

https://labjack.com/support/datasheets/u3/appendix-a