Re: OK, I've got a detent encoder... What now?
Posted by
tedinoue
on 2002-02-20 03:16:15 UTC
Way overkill it seems, though pretty.
For this type of user interface application, there are plenty of affordable solutions if one can come up with a suitable control knob.
At the low end of the spectrum, you can get a mechanical rotary encoder with detents for about $3-$10. Digi-key, Arrow electronics, All Electronics etc. all supply such devices.
At the higher end of the range, you can go to optical encoders. U.S. Digital has a great selection of mid-range devices ($50-$100) which are optical and one can specify the number of count/rev - i.e. 100 if one so desires.
As for the electronics, in this day of $5 microcontrollers, it is absolutely trivial to make a circuit that can read the encoder quadrature output and output step and direction signals. Since we're all discussing home-brew solutions, this is more than within the realm of possibility for many.
There's been talk about scaling as well. Trivial also with the microcontroller.
Realistically, for an investment of about $20 in parts, one could build a very respectable little control knob pulser. Machine your own knob/handle and mount it in a little case, and you've got a direct axis pulser drive about the size of a pack of cards. If you go all out and use an optical encoder then you're still talking ~$100.
The next step is adding an interface from the knob to the software. Again, this can be relatively trivial, depending on the software support. But on the microcontroller end, again, it's just another few routines and you've got an interface to the host PC. That could be RS-232, parallel, whatever. None of this is terribly difficult. I've got a circuit in front of me that drives an LED multi-digit display, interfaces with an encoder knob for user interface and an optical encoder for positional feedback, drives 4 relays, one DC motor, reads a thermometer and generates video timing signals all via one $5 microcontroller and a handful of support chip. Total parts cost <$25. And what we're all talking about for the encoders and machine controllers is considerably simpler than this.
For the curious, this particular box is a telescope multi-controller, nothing to do with CAD-CAM. But the guts are no different.
And the code for all this? A few hundred BYTES of assembly, running at 50MIPS....
For this type of user interface application, there are plenty of affordable solutions if one can come up with a suitable control knob.
At the low end of the spectrum, you can get a mechanical rotary encoder with detents for about $3-$10. Digi-key, Arrow electronics, All Electronics etc. all supply such devices.
At the higher end of the range, you can go to optical encoders. U.S. Digital has a great selection of mid-range devices ($50-$100) which are optical and one can specify the number of count/rev - i.e. 100 if one so desires.
As for the electronics, in this day of $5 microcontrollers, it is absolutely trivial to make a circuit that can read the encoder quadrature output and output step and direction signals. Since we're all discussing home-brew solutions, this is more than within the realm of possibility for many.
There's been talk about scaling as well. Trivial also with the microcontroller.
Realistically, for an investment of about $20 in parts, one could build a very respectable little control knob pulser. Machine your own knob/handle and mount it in a little case, and you've got a direct axis pulser drive about the size of a pack of cards. If you go all out and use an optical encoder then you're still talking ~$100.
The next step is adding an interface from the knob to the software. Again, this can be relatively trivial, depending on the software support. But on the microcontroller end, again, it's just another few routines and you've got an interface to the host PC. That could be RS-232, parallel, whatever. None of this is terribly difficult. I've got a circuit in front of me that drives an LED multi-digit display, interfaces with an encoder knob for user interface and an optical encoder for positional feedback, drives 4 relays, one DC motor, reads a thermometer and generates video timing signals all via one $5 microcontroller and a handful of support chip. Total parts cost <$25. And what we're all talking about for the encoders and machine controllers is considerably simpler than this.
For the curious, this particular box is a telescope multi-controller, nothing to do with CAD-CAM. But the guts are no different.
And the code for all this? A few hundred BYTES of assembly, running at 50MIPS....
--- In CAD_CAM_EDM_DRO@y..., Alan Marconett KM6VV <KM6VV@a...> wrote:
> Hi Brian,
>
> Ouch! Yeah, I thought they might be expensive! $375 USD probably isn't
> too much for a commercial machine, 'tho.
>
> They call 'em pulse generators, but I believe they are just encoders
> (sometimes called "pulse wheels"). I noticed that there are two rotary
> switches for rate selection, and axis to jog.
>
> Thanks for the URL!
>
> Humm, if I put on a bigger knob, mine would look a lot like that!
> Cheaper, 'tho!
>
> Alan KM6VV
>
>
> Brian Pitt wrote:
> >
> > they are probably fairly close to these guys in price
> > http://www.sumtak.com/productindex.html
> > the handwheels and pendents are down near the end of the page
> >
> > Brian
> >
> > On Tuesday 19 February 2002 16:50, you wrote:
> > > > Hi Bill,
> > > >
> > > > Nice stuff! At what price? (I didn't want to do the RFQ).
> > > >
> > > > Alan KM6VV
> > >
> > > Alan
Discussion Thread
vrsculptor
2002-02-16 10:59:21 UTC
OK, I've got a detent encoder... What now?
imserv1
2002-02-16 11:20:40 UTC
Re: OK, I've got a detent encoder... What now?
Brian Pitt
2002-02-16 12:01:43 UTC
Re: [CAD_CAM_EDM_DRO] OK, I've got a detent encoder... What now?
Spehro Pefhany
2002-02-16 12:25:14 UTC
Re: [CAD_CAM_EDM_DRO] OK, I've got a detent encoder... What now?
imserv1
2002-02-16 21:43:46 UTC
Re: OK, I've got a detent encoder... What now?
Marcus & Eva
2002-02-17 09:08:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... What now?
Spehro Pefhany
2002-02-17 09:17:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... What now?
imserv1
2002-02-17 12:38:55 UTC
Re: OK, I've got a detent encoder... What now?
Alan Marconett KM6VV
2002-02-17 13:13:31 UTC
Re: OK, I've got a detent encoder... What now?
Raymond Heckert
2002-02-17 15:37:38 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... What now?
audiomaker2000
2002-02-17 15:51:02 UTC
Re: OK, I've got a detent encoder... Hello?
Randy Gordon-Gilmore
2002-02-17 21:40:01 UTC
Honing TiN inserts? And triangular insert question...
Marcus & Eva
2002-02-17 22:40:35 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... Hello?
ballendo
2002-02-17 23:41:34 UTC
Re: OK, I've got a detent encoder... What now?
audiomaker2000
2002-02-18 00:47:24 UTC
Re: OK, I've got a detent encoder... Hello?
ballendo
2002-02-18 01:36:07 UTC
Re: OK, I've got a detent encoder... Hello?
audiomaker2000
2002-02-18 01:43:37 UTC
Re: OK, I've got a detent encoder... Hello?
ballendo
2002-02-18 03:15:07 UTC
What's it for? was Re: OK, I've got a detent encoder... Hello?
Marcus & Eva
2002-02-18 08:22:18 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... What now?
audiomaker2000
2002-02-18 08:39:25 UTC
What's it for? was Re: OK, I've got a detent encoder... Hello?
Brian Pitt
2002-02-18 12:43:43 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... What now?
ballendo
2002-02-18 21:03:13 UTC
Clicks are clicks... was Re: OK, I've got a detent encoder... What now?
ballendo
2002-02-18 21:29:43 UTC
What's it for? was Re: OK, I've got a detent encoder... Hello?
William Scalione
2002-02-19 07:44:17 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... What now?
audiomaker2000
2002-02-19 08:25:51 UTC
Re: OK, I've got a detent encoder... What now?
Alan Marconett KM6VV
2002-02-19 11:52:44 UTC
Re: OK, I've got a detent encoder... What now?
William Scalione
2002-02-19 16:50:34 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... What now?
imserv1
2002-02-19 17:02:09 UTC
Re: OK, I've got a detent encoder... What now?
Brian Pitt
2002-02-19 18:38:35 UTC
Re: [CAD_CAM_EDM_DRO] Re: OK, I've got a detent encoder... What now?
Alan Marconett KM6VV
2002-02-19 23:03:49 UTC
Re: OK, I've got a detent encoder... What now?
tedinoue
2002-02-20 03:16:15 UTC
Re: OK, I've got a detent encoder... What now?