GTwo Shield for Arduino DUE & TinyG 2
TinyG is a 6 axis motion control system designed by Synthetos for driving CNC, Laser cutters, ans so on. It have been designed to run on Atmel ATxmega192. It’s a complete system (hard + soft).
Some faeatures :
- 6 axis motion (XYZABC axes)
- jerk controlled motion for acceleration planning (3rd order motion planning)
- status displays (‘?’ character)
- XON/XOFF and RTS/CTS protocol over USB serial
- RESTful interface using JSON
TinyG 2 is a TinyG ARM port, also developed by Synthetos, working on Atmel Arm Processors, like the one used on low cost Arduino DUE. That port can be configured for using GRBL shields (Arduino Uno form factor) but unfortunately, pinout is slightly differents, so there’s no way to have more than 3 motors running. No commands, no emergency stops, spindle or homing…
GTwo is a shield designed to allow easy use or the port of TinyG with all functionnalities.
That shield can be used :
- Directly connected to a TB 6560 “Red”, for a maximum of 4 axis (X,Y,Z,A) and 4 GPIO inputs (I.E. homing X,Y,Z and emergency stop)
- Connected thru 6 X 6 pins connectors to discrete drivers like Leadshine, Gekko, etc., allowing up to 6 axis (X,Y,Z,A,B,C).
Caracteristics
- Mostly passive shield, with all connectors for connecting spindle, PWM Spindle, coolant, homing & Limits, switch for program control, up to 6 axis stepper driver boards
- Since DUE is not 5V tolerant, limits inputs are level translated to be used @5V
- All other inouts ARE not, and should no be connected to anything else than a 0V. (program control)
Connections
When using a TB6560 power board :
That work is the property of Jean-Philippe Civade (jp at civade dot com) and is shared under Creative Common NonCommercial 3.0
- JP1 : For connectig to a TB6560 “Red” Stepper driver board. A cable must be made with a HE10-26F > DB25F emulating parallel port. If using JP1, don’t use M1>M6
- JP2 : Limits configuration for TB6560. Must be left unequipped if using M1 > M6 connections.
- JP4 : Relay config. Must be left unequipped if using M1 > M6 connections.
When using M1 > M6 connections to discrete drivers
- M1 > M6 : Allows to connect up to 6 steppers motors (X/Y/Z/A/B/C). If using M1>M6, don’t use JP1.
- JP3 : Limits inputs. Allow to connect limit and/or homing switches (X-, X+, Y-, Y+, Z-, Z+), emergency stop and optionnaly Hardware interlock. All inputs are 5V tolerant.
- JP6 : Stepper power conf
M1 to M6 pinout :
* Broche 1 : Step
* Broche 2 : Dir
* Broche 3 : Enable motor (independant enable for each axis)
* Broche 4 : GND
* Broche 5 : Global Enable for all axis
* Broche 6 : VCC (3.3V or 5V depending of JP6) setting
Other connectors :
- JP5 : Spindle & Coolant outputs (3.3V). “Spindle” is for Spindle on/off, “dir” is for spindle direction (CW/CCW), “PWM” is for connecting a PWM spindle, “PW2” is an optionnal secondary PWM, “Cool” is for connecting cooolant command.
- JP7 : Control inputs. Connect swtches for Soft Reset (SR), Feed Hold (Hold), Cycle Start (Run), Emergency Stop (ESTP) or hardware reset (RST)
Configuration Jumpers :
JP2 : Must be equipped with 4 jumpers allowing to route X- or X+ to Pin 10 of parallel port, Y- or Y+ to pin 11 of parallel port, Z-or Z+ on pin 12 of paralel port, and emergency stop or hardware interlock on pin 13 of parallel port.
JP4 : Must be equipped with 1 jumper allowing to route motor or coolant to the embedded relay of TB6560 red board.
JP6 : Must be equipped with 1 jumper to route a 3.3V or a 5V to M1 > M6 pin 6.
Associated Documents :
Example configuration :
This configuration fits to a machine with origin switches at the bottom left ad top Z, for a CNC machine. GTtwo is connected to a TB6560 driver board, and board relay is used to power the spindle. (motor = M3/M5 Gcode).
TB6560 inputs are Xmin, Ymin, ZMax, Emergency stop. A 3.3V is routed to M1>M6 pin 6.