Arduino confusion (CNC Shield)???

Discussion in 'Embedded Systems and Microcontrollers' started by spinnaker, Dec 24, 2015.

  1. spinnaker

    Thread Starter AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016
    I have been reading up on the Mach3 CNC software. It is my understanding that it only works with a parallel port. One free alternative (from my understanding) is an application called GRBL. It supposedly runs on the Arduino.

    I have never used an Arduino before and know nothing about them. Is there a terminal software that runs over the USB to control the Arduino? Is that how the Grbl software is controlled?
     
  2. ISB123

    Well-Known Member

    May 21, 2014
    1,239
    527
    You should buy a cheap Arduino Clone from eBay in case it blows. I think that GRBL hacks into USB port and then sends the data.
     
  3. spinnaker

    Thread Starter AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016
    Thanks was planning on it but that does not answer my question. :confused:
     
  4. ISB123

    Well-Known Member

    May 21, 2014
    1,239
    527

    It hacks into Arduino serial monitor.
     
  5. spinnaker

    Thread Starter AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016
    Is there an app that runs on the PC too? Just sort of a "custom" terminal? How else could they get something like this?

    upload_2015-12-24_19-42-29.png
     
  6. ISB123

    Well-Known Member

    May 21, 2014
    1,239
    527
    GRBL application hacks into the arduino serial monitor and then it "writes" G Code in serial window the same way you would do it manually. That's why you need to have Ardunio serial monitor running otherwise the app won't work.
     
    Last edited: Dec 24, 2015
  7. spinnaker

    Thread Starter AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016
    I sort of figured that. Terminal software alone is not going to display the image above. Is there a special controller application that runs on your PC that is hacking into the Arduino serial monitor? Seems there has to be. So it does not totally run on the arduino then, the UI is actually on the PC? Everything eles in the Arduino?
     
  8. ISB123

    Well-Known Member

    May 21, 2014
    1,239
    527
    Nope,everything is done by the GRBL after you select the Arduino serial port and click "Open".

    First you flash the arduino with grbl program after that you run Arduino IDE and open its serial window then you run"GRBL Controller" program which sends the gcode to arduino via the serial window.
     
    Last edited: Dec 24, 2015
  9. spinnaker

    Thread Starter AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016
    Arduino has a Windows like UI??? I ask again. How is the graphics for the image I posted above being rendered? The Arduino is actaully doing it?

    Somehow I am doubtful of that. In fact here it is:

    http://zapmaker.org/projects/grbl-controller-3-0/

    It is sort of a custom terminal software just as I thought. Written in a cross platform script.
     
  10. ISB123

    Well-Known Member

    May 21, 2014
    1,239
    527
    Yes there is a software acting like a GUI but its useless unless you have Serial Monitor running at the same time as the GUI program.
     
  11. spinnaker

    Thread Starter AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016
  12. spinnaker

    Thread Starter AAC Fanatic!

    Oct 29, 2009
    4,887
    1,016
    Apparently Universal GCode Sender is now the accepted standard.
     
  13. nerdegutta

    Moderator

    Dec 15, 2009
    2,517
    785
    I got a home made 3D printer. To control the steppermotors, I'm using an Arduino with RAMPS 1.4 motor shield. To control the Arduino, I'm using a Raspberry Pi B+. I make my models in FreeCAD, import them to Cura, and saves them as G-Code. The RPi is connected to my network, so I start Pronterface, and open the models G-Code. Start the print and voila - I got my 3D model. :)

    With a little bit of tweaking I think I can change the extruder with a Dremel like tool, and mill some PCB.

    I sure would like to try.
     
Loading...