Re: [Emc-users] new control panel

2010-08-27 Thread Mark Wendt
Nicely done, Seb!

Mark

On 08/27/2010 04:09 AM, Sebastian Kuzminsky wrote:
 Hi folks, I want to show off the new control panel i made for my mill!

 http://highlab.com/~seb/emc2/bp/2010.08-control-panel/

 It's got:

 * e-stop
 * continuous jog buttons for all 3 axes
 * spindle speed control (emc2 drives a stepper that turns the varispeed
 control)
 * spindle on/off (and it uses the spindle speed knob to select clockwise
 or counter-clockwise)
 * incremental jog (using jog wheel) in all three axes, with an increment
 of 0.0001, 0.001, or 0.010

 All the buttons and knobs go back to emc2 via a Mesa 7i37 and 5i20.

 The HAL code that glues it all together is here, look at
 control-panel.hal:  http://git.highlab.com/?p=emc2-config-bp-r2e3.git;a=tree

 I made a small pyVCP to debug all the hardware connections, it's also in
 the git repo above.

 The panel is made from some scrap 0.040 thick steel shelving i
 dumpstered.  The labels are engraved just deep enough to take off the
 black paint and expose the shiny metal underneath.  All the wiring
 terminates in a connector in the control box on the front of the
 machine, so i can remove the panel pretty easily to work on it, without
 removing all the knobs and stuff.

 It's got a couple of bugs...  Some of the labels are obscured by the
 buttons  knobs they're supposed to describe.  Some of the mounting
 holes are in the wrong place, hence the C-clamp helping hold it to the
 face of the machine...

 This was a fun project because it was a bunch of firsts for me: first
 time engraving text (yay ttt!), using multiple coordinate systems, using
 polar coordinates, and first time with pyVCP.  And it makes the machine
 so much more convenient to use!

 And there's room for a touchy touch panel next to it...  :-)



--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] new control panel

2010-08-27 Thread Matt Shaver
On Fri, 27 Aug 2010 02:09:12 -0600
Sebastian Kuzminsky s...@highlab.com wrote:

 Hi folks, I want to show off the new control panel i made for my mill!

Nice looking! I notice that you are using the jog knob from the old
Bridgeport E control panel. Are you also using the old panel mount
encoder? The one that looks like a 1/2 Watt chassis mount pot? If so,
have you found any data on that encoder? I have a couple, but I've
never figured them out or been able to find their manufacturer.

Encoding minds want know!

Thanks,
Matt

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] new control panel

2010-08-27 Thread Chris Radek
On Fri, Aug 27, 2010 at 02:26:01PM -0400, Matt Shaver wrote:
 
 Nice looking! I notice that you are using the jog knob from the old
 Bridgeport E control panel. Are you also using the old panel mount
 encoder? The one that looks like a 1/2 Watt chassis mount pot? If so,
 have you found any data on that encoder? I have a couple, but I've
 never figured them out or been able to find their manufacturer.
 
 Encoding minds want know!


Hi Matt, I wired that up for Seb one evening at his place while he was
playing with some very short humans who seemed to require a lot of
attention.  I don't really understand what was going on there, so I
worked on the mill.

The encoder is just unpowered mechanical switches giving quadrature.
I had to add pull-up resistors (well I think I pulled up - I know I
added resistors) to get it to work.  If I remember right, the encoder
gives 50 cycles per rev instead of the more usual 100.  It is not
the greatest jog wheel ever.

I don't recall which of the three pins is the common...  I bet one
could wire it correctly in three or fewer tries though.

Chris


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users