On 6/25/17 3:20 PM, Przemek Klosowski wrote:
On Fri, Jun 23, 2017 at 10:05 AM, Clark Sann
<[email protected] <mailto:[email protected]>>
wrote:
Since you don’t care about direction, for
now, you might try hooking the encoder to
just the A channel.
If the decoder is in quadrature mode, this
probably won't work---it needs the B channel
signalling to disambiguate the direction, so I
think the counter will not change. This is just
my guess based on general knowledge, so I may be
wrong---check it for yourself.
--
For more options, visit
http://beagleboard.org/discuss
---
You received this message because you are
subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop
receiving emails from it, send an email to
[email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/CAC%3D1GgF8b1KVXTRh%2B3qw_Gg1RjQHhtV74TK1r_fXGizWruBs5Q%40mail.gmail.com
<https://groups.google.com/d/msgid/beagleboard/CAC%3D1GgF8b1KVXTRh%2B3qw_Gg1RjQHhtV74TK1r_fXGizWruBs5Q%40mail.gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit
https://groups.google.com/d/optout.
Yep as you and Clark have surmised, neither
connecting the pulse to A and B would work nor
connecting just the A input. The counter would
sometimes decrement if A and B were connected, and
the counter would simply toggle from 1 to -1 if
only A was connected.
However the good news is I was able to get it to
work by changing one of the control registers in
the eQEP hardware to a simple up count. The
encoder pulse is connected to the A input whereas
B is not used. The pulse count is now solid on
both channels.
Mark
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/59501923.6050306%40comcast.net.
For more options, visit https://groups.google.com/d/optout.