On Thursday 23 February 2017 22:44:19 Jon Elson wrote:

> On 02/23/2017 08:31 PM, Gene Heskett wrote:
> > But I think its something we may be able to outwit in the hal file.
> >
> > They appear to have a power save shutdown, and a power up lag.
> >
> > And seem to have timings independent from each other.  This is going
> > to cause, unless we scale the encoder down by 4, one edge received
> > occurs just as you start to turn it by hand, and again some
> > milliseconds later after YOU have stopped turning the dial. When you
> > stop moving it, it goes back to zero volts a few milliseconds later.
>
> Sorry, Gene, you are wrong.  They don't power down, but the
> detent draws the dial to the state where A=B=0.
> If you hold the dial between detents, the A or B outputs
> hold at whatever level they should.  When you let go, it
> drops into the detent again, and outputs are zero.  This is
> all as it should be.
>
> YES, it gives 400 quadrature counts per rev, so you need to
> scale the encoder by a factor of 4 to get rational units per
> detent step.
>
> Jon
>
I wondered if that might not be the case, but I still got the same 
behaviour when I tried to hold it between detents. Maybe my bit of hand 
shake fooled me. They aren't as steady as they once were. :(

That was just powered up on the table watching it with the fawncy 
sampling scope. That I haven't 100% learned to run yet, its too darned 
automatic.

Thanks Jon.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to