MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 118 forks source link

Support for SMA3X8C aka Printrboard g2Core #637

Open drphil3d opened 5 years ago

drphil3d commented 5 years ago

Issue description

I've been searching for a better firmware solution for the SMA3X8C also known as the Printrboard g2Core. There are many of these boards out there in the wild as well available for use, overall it's a great hardware design but the g2core firmware is not really ideal for 3D printing.

I've been updating the older Printrboard RevF, D (AT90USB1268) firmware to the latest version of Marlin. My goal is to make 3d printing easier and higher quality for everyone out there with an old printrbot. https://github.com/Printrbot/printrboardmodernmarlin

My setup

There is plentry of documentation and configuration files for the board https://github.com/synthetos/g2/tree/7a25dbf1f8ab2e60ca6122b3a477d08b5b1cd8cc/g2core/board/printrboardg2

drphil3d commented 5 years ago

Incase anyone has interest in this I have been working on porting marlin and klipper to the g2, we are pretty far along.

https://github.com/Printrbot/printrboardmodernmarlin/wiki/Printrboard-G2-164v3c-Marlin-&-Klipper-Support

drphil3d commented 5 years ago

When I power on the Y and Z axis are energized and buzzing, G28 makes the tone change. I jogged the Z axis and I could hear it trying to move.

SENT: M43 READ: PIN: 00 <unused/unknown> Output = 0 READ: PIN: 01 <unused/unknown> Output = 1 READ: PIN: 02 <unused/unknown> Input = 1 READ: PIN: 03 Z_MIN_PIN protected READ: PIN: 04 Y_MAX_PIN protected READ: PIN: 05 <unused/unknown> Input = 1 READ: PIN: 06 <unused/unknown> Input = 1 READ: PIN: 07 <unused/unknown> Input = 1 READ: PIN: 08 <unused/unknown> Input = 1 READ: PIN: 09 <unused/unknown> Input = 1 READ: PIN: 10 <unused/unknown> Input = 1 READ: PIN: 11 <unused/unknown> Input = 0 READ: PIN: 12 <unused/unknown> Input = 0 READ: PIN: 13 <unused/unknown> Input = 1 READ: PIN: 14 <unused/unknown> Input = 0 READ: PIN: 15 HEATER_0_PIN protected READ: PIN: 16 <unused/unknown> Input = 1 READ: PIN: 17 <unused/unknown> Input = 1 READ: PIN: 18 <unused/unknown> Input = 0 READ: PIN: 19 <unused/unknown> Input = 1 READ: PIN: 20 <unused/unknown> Output = 1 READ: PIN: 21 <unused/unknown> Output = 1 READ: PIN: 22 X_MIN_PIN protected READ: PIN: 23 <unused/unknown> Input = 0 READ: PIN: 24 <unused/unknown> Input = 0 READ: PIN: 25 <unused/unknown> Input = 0 READ: PIN: 26 <unused/unknown> Input = 0 READ: PIN: 27 <unused/unknown> Input = 0 READ: PIN: 28 <unused/unknown> Input = 0 READ: PIN: 29 <unused/unknown> Input = 0 READ: PIN: 30 <unused/unknown> Input = 0 READ: PIN: 31 <unused/unknown> Input = 1 READ: PIN: 32 <unused/unknown> Input = 0 READ: PIN: 33 <unused/unknown> Input = 1 READ: PIN: 34 <unused/unknown> Input = 1 READ: PIN: 35 <unused/unknown> Input = 1 READ: PIN: 36 <unused/unknown> Input = 1 READ: PIN: 37 <unused/unknown> Input = 1 READ: PIN: 38 <unused/unknown> Input = 1 READ: PIN: 39 <unused/unknown> Input = 1 READ: PIN: 40 <unused/unknown> Input = 1 READ: PIN: 41 <unused/unknown> Input = 1 READ: PIN: 42 <unused/unknown> Input = 0 READ: PIN: 43 <unused/unknown> Input = 0 READ: PIN: 44 <unused/unknown> Input = 1 READ: PIN: 45 <unused/unknown> Input = 1 READ: PIN: 46 <unused/unknown> Input = 1 READ: PIN: 47 <unused/unknown> Input = 1 READ: PIN: 48 <unused/unknown> Input = 1 READ: PIN: 49 X_MS3_PIN protected READ: PIN: 50 X_MS1_PIN protected READ: . X_MS2_PIN protected READ: PIN: 51 <unused/unknown> Input = 1 READ: PIN: 52 <unused/unknown> Input = 0 READ: PIN: 53 <unused/unknown> Input = 1 READ: PIN: 54 (A 0) X_STEP_PIN protected READ: PIN: 55 (A 1) X_DIR_PIN protected READ: PIN: 56 (A 2) X_ENABLE_PIN protected READ: PIN: 57 (A 3) <unused/unknown> Analog in = 941 Input = 1 READ: PIN: 58 (A 4) <unused/unknown> Analog in = 596 Input = 1 READ: PIN: 59 (A 5) <unused/unknown> Analog in = 1023 Input = 1 READ: PIN: 60 (A 6) FAN1_PIN protected READ: PIN: 61 (A 7) <unused/unknown> Analog in = 563 Input = 1 READ: PIN: 62 (A 8) <unused/unknown> Analog in = 130 Input = 0 READ: PIN: 63 (A 9) MOTOR_CURRENT_PWM_E_PIN Output = 0 READ: PIN: 64 (A10) <unused/unknown> Analog in = 566 Input = 1 READ: PIN: 65 (A11) <unused/unknown> Analog in = 0 Input = 0 READ: PIN: 66 <unused/unknown> Input = 0 READ: PIN: 67 MOTOR_CURRENT_PWM_Z_PIN Output = 0 READ: PIN: 68 MOTOR_CURRENT_PWM_XY_PIN Output = 0 READ: PIN: 69 Y_MS3_PIN protected READ: PIN: 70 Y_MS1_PIN protected READ: . Y_MS2_PIN protected READ: PIN: 71 <unused/unknown> Output = 1 READ: PIN: 72 <unused/unknown> Input = 1 READ: PIN: 73 <unused/unknown> Input = 0 READ: PIN: 74 MISO_PIN protected READ: . Z_STEP_PIN protected READ: PIN: 75 MOSI_PIN protected READ: . Z_ENABLE_PIN protected READ: PIN: 76 SCK_PIN protected READ: . Z_DIR_PIN protected READ: PIN: 77 FAN_PIN protected READ: . SDSS protected READ: . SS_PIN protected READ: . Z_MS3_PIN protected READ: PIN: 78 Z_MS1_PIN protected READ: . Z_MS2_PIN protected