Skip to content

Getting Started with g2core

Justin Clift edited this page Aug 13, 2020 · 15 revisions

G2core is an Open Source CNC, 3D Printer, and general stepper-motor-based motion control firmware that runs on the next generation of g2core hardware as well as the Arduino Due.

Hardware Needed To Use g2core

You will need whatever machine you are trying to control, such as a CNC machine, 3D printer, laser cutter, etc., along with the general knowledge of how to use that machine safely.

You will also need software to generate GCode.

The following is a list of the minimum you will need strictly for g2core, regardless of what project you'll be using it for.

Compatible Target Board - Arduino Due (~$50) (Digi-Key, Newark, Sparkfun, Maker Shed)

  • Currently the only publicly-available board g2core works on is the Arduino Due.
  • We plan to release the gQuadratic and gQuintic boards in fall 2016 that will also run g2core.

Adapter Cabling/Shield

If you're only going to use 3 axes (XYZ), the most popular shield is the gShield ($50) (Synthetos Store, Adafruit, Inventables), or roll-your-own cabling.

  • The gShield provides three stepper drivers and pinouts for spindle controls and limit switches.
  • Depending on the project and your level of expertise, you may be able to wire stepper drivers you already have (as long as they have STEP/DIRECTION/ENABLE pinouts) to the Due or roll your own shield.

For using more axes (eg 4th, 5th, or 6th axes), the most popular options are the DJuke shields. There are two to choose from, depending on your needs:

For developers (only)

For doing development of g2core itself, you'll need a hardware debugger. People just wanting to use g2core and not do development can completely skip this bit. 😄

Debugger/Programmer - Atmel-ICE debugger on Mouser and Digikey.

  • You can program the Due and the TinyG v9 boards without a debugger, but to do realtime debugging you need an ICE of some sort.
  • Note that the Atmel-ICE is not the Atmel SAM-ICE or the Atmel JTAG-ICE. The Atmel SAM-ICE will work as well, but is older and more expensive. All the examples on this site use the Atmel-ICE.

Software Needed To Use g2core

If you are not planning on compiling the firmware yourself, then all you need is the Arduino 1.5+ IDE installed on your machine (for the bossac binary). You can then program any provided hex directly onto the Due or TinyG v9.

Clone this wiki locally