On Sunday 05 March 2017 22:00:37 Jon Elson wrote:

> On 03/05/2017 07:58 PM, Gene Heskett wrote:
> > Which "edge" of one of these new jog wheels is in the middle of its
> > rest position to the adjacent rest? I want the updown counters
> > trigger as far from a rest position as I can get it for maximum
> > jiggle noise immunity.
>
> I don't know.  I did see that the A and B settled to zero in
> the detent.
>
> Jon
>
I too saw that Jon. So my mind is inclined to and2 the A&B signals, and 
trigger on the trailing edge of the and2 output.  So the counter 
(updown) increment should then be on the "falling into the next detent" 
edge.

That should be as jiggle noise proof as I can make it I'd think. So I 
have already clamped the counter to a 0-7 range, so if you want max 
speed, push button and spin right, conversely slowest is push the button 
and spin left. One click per 1-2-5 sequence change in between if you're 
picky.

And the 7i90 ate my lunch for half an hour. The encoder man page does not 
use the same pin names, phase-A becoming input-a etc in the halmeter 
listing.  Grrrr. Codewise, I am in a position  of not being able to test 
it with halshow, since it can't set a signal name. So I have to put it 
together and assign some gpio to the pushbuttons. Long day tomorrow.

Next question, how long after the pushbutton is released, do I leave the 
wheel active? 5 seconds, 30 seconds? When its timed out, disable by 
pulling the encoders reset true so there won't be any false counts 
stored when its supposed to be unused.


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


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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to