Djuke - DIY Audio

build your own audio equipment

  • Increase font size
  • Default font size
  • Decrease font size
Outside EU customers: create an account and log in to see prices excluding VAT
Home Support CNC Using G2 core

Using G2 core

Print PDF

Introduction

This support page contains a quick introduction to using the great g2core CNC controller software in combination with Djuke products like the Djuke g2core shield and the Djuke Alu30 CNC machine.

https://github.com/synthetos/g2

https://github.com/synthetos/g2/wiki

The g2core github project was forked to add some minor fixes and example configurations for my machine:

https://github.com/Djuke-DIYAudio/g2

Linux

Required tools

sudo apt-get install git-core make bossa-cli

GIT checkout

It is up to the user to choose between the more stable 'master' branch or the development 'edge' branch with the latest features. Make a local GIT clone of the repository using either

git clone https://github.com/synthetos/g2.git -b master --recursive

or

git clone https://github.com/synthetos/g2.git -b edge --recursive

or

git clone https://github.com/Djuke-DIYAudio/g2.git -b edge --recursive

Adjustments

Because the Arduino Due does not have an EEPROM to store persistent settings it is advised to make your own settings file containing your machines configuration and build a custom g2core firmware which includes this configuration. Copy from e.g. settings/settings_Djuke_test.h and adjust it for your situation.

Hints:

  • If you want to use the Due spindle direction pin 13 for automatically setting the spindle direction, adjust the following line in gShield-pinout.h (Note that this fix is already present on https://github.com/Djuke-DIYAudio/g2)
    pin_number kSpindle_DirPinNumber            =  13;
  • If you want to use a GRBL CNC shield on the Due with a common motor enable pin 8, use the 'master' branch as the current (100.21) 'edge' branch does not set this pin properly.

Building

cd g2/g2core (for edge)
cd g2/TinyG2 (for master)
make BOARD=gShield SETTINGS_FILE=settings_Djuke_test.h

Flashing

See https://github.com/synthetos/g2/wiki/Flashing-g2core-with-Linux

Last Updated on Friday, 21 June 2019 10:51  

Important information!

From 1st January 2020, the Djuke webshop received a major upgrade and can now be found at: https://webshop.djuke.nl
Orders can only be handled from the new webshop. Not all products are yet transferred, so the old catalogus is left as a reference. Please let me know if you would like to order products that are not yet present in the new webshop.

 


List All Products


Advanced Search

Copyright © 2024 Djuke - DIY Audio. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.