Djuke - DIY Audio

build your own audio equipment

  • Increase font size
  • Default font size
  • Decrease font size
Dutch customers can pay using iDEAL
Home Support CNC Using G2 core

Using G2 core

Afdrukken PDF
There are no translations available.

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

Laatst aangepast op vrijdag, 21 juni 2019 10:51  

Waarom Djuke - Zelfbouwaudio?

  • Kwaliteitsontwerpen en producten
  • Snelle levering
  • Lage S/H, afhankelijk van gewicht
  • S/H onder 0.25kg: NL 2,- EU 4,- Wereld 6,-
  • Geen BTW voor klanten buiten EU

Important information!

There are no translations available.

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.

 


Toon alle producten


Uitgebreid zoeken

Copyright © 2025 Djuke - Zelfbouw Audio. Alle rechten voorbehouden.
Joomla! is gratis open source software vrijgegeven onder de GNU/GPL Licentie.