-
Notifications
You must be signed in to change notification settings - Fork 296
Getting Started with g2core
G2 is an Open Source CNC, 3D Printer, and general stepper-motor-based motion control firmware that runs on the next generation of TinyG hardware (currently in private beta) as well as the Arduino Due.
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. (TODO: Add a page with GCode software list.)
The following is a list of the minimum you will need strictly for the use of G2, regardless of what project you'll be using it for.
Debugger/Programmer (Not strictly necessary, but very helpful) - Atmel-ICE.
- There are three ways they sell the Atmel-ICE: Standard ($85), Basic ($49) (Digi-Key has them for $55), and PCBA ($32). The standard comes with an adapter that you won't need for this project, and the PCBA is missing the $14 cable you will need for the project, so the Basic is just right.
- This is not the Atmel SAM-ICE or the Atmel JTAG-ICE, but just the Atmel-ICE. The Atmel SAM-ICE will work as well, but is older and more expensive, but has the advantage of being a (Atmel-limited) Segger J-Link. We will document here how to use the Atmel-ICE.
- You can program the Due and the TinyG v9 boards without a debugger, but you cannot debug them.
Compatible Target Board - Arduino Due ($50) (Adafruit, Maker Shed, Sparkfun, Digi-Key, Mouser, Newark)
- Currently the only publicly-available board G2 works on is the Arduino Due.
Adapter Cabling/Shield - gShield ($50) (Synthetos Store, Adafruit, Inventables), or roll-your-own cabling.
- 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. • The gShield provides three stepper drivers and pinouts for spindle controls and limit switches.
If you are not planning on compiling the firmware yourself, then all you need the 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.
TODO: Provide links to CNC software resources.
Getting Started Pages
- Home
- What is g2core?
- Who uses g2core?
- Jerk-Controlled Motion
- Getting Started with g2core
- Connecting to g2core
- Configuring g2core
- Flashing g2core
- Troubleshooting
Reference Pages
- Gcodes
- Mcodes
- Text Mode
- JSON Communications
- GPIO Digital IO
- Alarms & Exceptions
- Power Management
- Coordinate Systems
- Status Reports
- Status Codes
- G2 Communications
- Tool Offsets and Selection
- Probing
- Feedhold, Resume, Job Kill
- Marlin Compatibility
- 9 Axis UVW Operation
- gQuintic Specs
Discussion Topics
- Roadmap
- GPIO for 1.X Releases
- Toolheads
- Raster Streaming Prototol
- g2core REST Interface
- Gcode Parsing
- G2 3DP Dialect
- Consensus Gcode
- Digital DRO
- Overview of Motion Processing
Developer Pages
- Development & Contribution
- Branching and Release - DRAFT
- Getting Started with g2core Development
- Project Structure & Motate
- Compiling G2
- OSX w/Xcode
- OSX/Linux Command Line
- Windows10 w/AtmelStudio7
- Debugging G2 on OSX
- Board and Machine Profiles
- Arduino Due Pinout
- Arduino DUE External Interfaces
- Diagnostics
- Debugging w/Motate Pins
- Development Troubleshooting
- g2core Communications
- Git Procedures
- Windows 10 / VMware 8 Issues
- Dual Endpoint USB Internals
- G2core License
- VSCode Setup
- Compatibility Axioms
- Wiki History