MAMEing a CNC router

[Ed] is pretty old school. He loves the functionality of old industrial shop tools that have their own dedicated systems. With huge candy-like buttons, who wouldn’t? [Ed] decided to replicate this aesthetic by building a MAME controller for his Mach3 controlled router.

[Ed] had a bunch of MAME buttons and joysticks sitting around from a forgotten project. With his vinyl plotter, it was relatively easy to make a very nice looking control panel. To connect the buttons to the Mach3 computer, a disused I-Pac was brought into the mix. The I-Pac reads the state of the buttons and sends keyboard codes over USB to the computer.

Because the very popular Mach3 CNC software responds to hotkeys, it was very simple to make the buttons do as they say. [Ed] has full control over the X, Y, and Z axes as well as the spindle speed. It seems like this would be interesting to do some ‘free form’ CNC work on [Ed]‘s router.

Comments

  1. Trav says:

    Sweet!
    Instead of naming it “Shopomatic” you should have used “Binford”

  2. MooglyGuy says:

    Are “MAME buttons” anything like “arcade machine buttons”? “Multiple Arcade Machine Emulator buttons” just sounds weird.

  3. hojo says:

    Yeah, the connection to MAME here seems weak at best. Nice control panel though. Switch out the joysticks for MPGs and it would be awesome.

  4. von_neumann says:

    @hojo Sorry, MPGs? Care to enlighten the ignorant?

  5. svofski says:

    Miles Per Gallon, clear as water!

  6. Techartisan says:

    Yeah the use of the MAME acronym here is misleading…..I had visions of him playing asteroids on a FADAL.

  7. vonskippy says:

    That thar is a nice looking control panel.

  8. macona says:

    MPGs are way better than joysticks. And putting them in a remote pendant makes them even more useful.

    A better option to control the panel is to use a Pokeys 56. It has a plug in for mach that allows you to use analog inputs and code keys directly to mach eliminating having to use keyboard strokes. It can also handle encoder input for a MPG as well as drive a LCD.

    • Ken says:

      FWIW, I have no need for joystick or MPG. The regular computer keyboard is more efficient with Mach3 and EMC2 (slightly modified to offer Mach3 style jogging).

      • macona says:

        Ahh, thats what you may think if you have never tried it. I have a keyboard right on my control and I used that for a long time. But once I installed a pendant with switches to changed axes I began to wonder how I lived without.

        Touching off and setting up is so much easier with a MPG.

      • ken says:

        Perhaps I wasn’t clear. I had a pendant connected and found it inferior to the keyboard. Good riddance. Using an edge finder is just as fast for me with the keyboard (ctrl-arrow jogs a single step), and feeler gauge or tissue paper height setting is far easier since I can use the keyboard with one hand and wiggle the paper/feeler gauge with the other.

  9. toast says:

    This would be an excellent addition to an upright milling machine.

  10. reine says:

    Windoze?!, what “professional!.

    • Ken says:

      Sadly, Linux is not clearly superior for driving CNC machines – at least with older computers like I use. The Linux CNC controller, EMC2, can’t reliably generate steps as fast as Mach3 (windows) on the same hardware.

      On the downside, I have to reboot Windows/Mach3 between jobs to prevent the computer from hanging. Pick your poison.

      • macona says:

        I was chatting with a guy who mainly runs linux and makes a mach3 PCI breakout system. As much as he loves linux he can’t recommend it for EMC2.

        I have tried it myself and have been contemplating switching my mill over to it because of rigid tapping. Too many of my accessories like my MPG won’t work though.

        I have been running Mach3 for years and never have had an issue with hanging like that. In fact, my machine has been up for months without a reboot. Something is wrong with your computer.

      • ken says:

        I’ll sell you my MPG cheap. It used the parallel port, so should be EMC compatible.

        Presumably the problem I have with Mach3 is with other device drivers. Mach3 does not play nice with Windows, which is not a real time OS, and I can imagine that it breaks normally reasonable assumptions made by other drivers. Especially on an older system like mine.

      • fartface says:

        Try a RT version of linux. you get better results.

      • gyro john says:

        Ken: How much for the MPG? Pls. provide price, pix and contact info.

      • macona says:

        Mach does bypass a lot of system crap to get direct access to the hardware. But it has always been stable for me. Windows is not really an issue. A lot of modern CNC, and machine controls in general, are windows based. Of course they do have dedicated hardware but the machine itself is based on anything from NT to XP.

      • TJ Jones XVI says:

        > EMC2, can’t reliably generate steps as fast as Mach3 (windows) on the same hardware.

        Bollocks. It not only depends on the specific hardware, but EMC features a complete closed-loop motion controller with S-curve step rate setpoint tracking.

        You can use both systems for efficient machine control. EMC2 is free software.

      • Ken says:

        gyro john – email me [lfo_dmjof@r.dpn – caesar cipher shift left 1 place to decode) and I’ll describe the MPG for you.

        Thanks for the suggestions, but of course I am running real time Linux with EMC2. The crashes on Windows XP were only one of several symptoms, including broken wi-fi and inability to sleep after starting the Mach3 driver. Any way you slice it, Mach3 is not a good citizen in Windows, though it usually works very well (note that Windows is not a real time OS so it takes a major hack to get consistent pulse delivery). I do have a high opinion of Mach3 – nice software by nice people at a nice price.

  11. Steve-O-Rama says:

    Oh my….

    I am impressed, Ed. I have to say that at first I thought you’d just retrofitted a GE Fanuc setup, but I see now that this is a totally custom solution. Props to you!

  12. Joe says:

    Very cool. I could make you a script/program to change the window style so it would be fullscreen and even auto hide your start menu so it looks like a real machine, Not some buggy windows PC. No offense. lol

  13. tehbasti says:

    seriously a cnc router control panel without potentiometers?!?!

  14. Lucario says:

    wouldn’t it be simple to build the computer INTO the control panel? although that would mean switching the giant arcade buttons for some smaller momentary buttons (something he plans to do anyway) and going from there to a Raspberry PI would make it even smaller (although that would require some hardcore coding work, it would be much smaller and easy to make a monitor setup for).

  15. fartface says:

    Mame as in the editor has no clue what real arcade buttons are called so he makes up a connection to a Game emulator.

    Tomorrow on HAD, an APPLE hack because someone put an apple sticker on the box.

  16. Mike says:

    Replace ‘MAME’ with ‘arcade’ and suddenly it makes sense.

  17. cantido says:

    I thought this was going to be about using the MAME framework (cpu drivers etc) to re-implement some old hardware in software.. oh, its about using arcade buttons.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 93,553 other followers