Jump to content

As of July 17, 2015, the LabJack forums here at forums.labjack.com are shut down. New registrations, topics, and replies are disabled. All forums are in a read-only state for archive purposes.

Please visit our current forums at labjack.com/forums to view and make new posts. To post on the current forums, use your labjack.com login account. Your old LabJack forums login credentials have been retired. There are no longer separate logins for labjack.com and LabJack forums.


Photo

Reading incremental rotary shaft encoder with U3


  • Please log in to reply
1 reply to this topic

#1 wpence

wpence
  • Members
  • 25 posts

Posted 16 July 2009 - 10:10 AM

Is there a way to use the U3 to read the output from an encoder? The encoder we are trying to use is the US Digital H5. It is an incremental rotary shaft encoder with a 5-pin connector. The signal outputs are index, A, and B. I was just wondering if there was any built-in support for encoders in the U3 or if we were going to need to write our own software to get the output from the encoders.

#2 LabJack Support

LabJack Support
  • Admin
  • 8677 posts

Posted 16 July 2009 - 10:25 AM

Taking a quick look at the H5, you want the TTL version not the differential output version.

For just counting from an encoder you can just use a counter, but it sounds like you want to track the forward/reverse movement with a quadrature encoder:

http://en.wikipedia..../Rotary_encoder

Search our forum using the term "quadrature" to get started. Here is one to get started:

https://forums.labja...?showtopic=4448


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users