Repetier for K8200
Dear all,
I've more or less easily managed to run Repetier Firmware on my RADDS board, and as I am very satisfied with Repetier, I now desire to run it on my stock K8200 motherboard as well (it has been switched from my K8200 to a homebrew router, but it looks like Repetier might be well-suited for this task, too).
I assume it would be feasible to tweek some repetier pin configuration "manually", or modify/add some entries in boards.h (or similar).
But then again maybe:
I've more or less easily managed to run Repetier Firmware on my RADDS board, and as I am very satisfied with Repetier, I now desire to run it on my stock K8200 motherboard as well (it has been switched from my K8200 to a homebrew router, but it looks like Repetier might be well-suited for this task, too).
I assume it would be feasible to tweek some repetier pin configuration "manually", or modify/add some entries in boards.h (or similar).
But then again maybe:
- somebody did this already!? (I searched this forum and saw some people use K8200 with Repetier, but no details)
- it is preferable to introduce K8200 support "on a higher level" (maybe including web configurator).
So I ask myself about the best approach. Even if my C/C++ programming experience dates back 30 years and the last 15 years I did mostly Java, I could probably help and contribute, though some basic guidance would be welcome.
Kind regards,
Michael
Comments
In file included from Repetier.h:457:0,
from Commands.cpp:22:
HAL.h:34:20: fatal error: avr/io.h: No such file or directory
#include <avr/io.h>
^
compilation terminated.
#ifndef __AVR_ATmega1280__
#ifndef __AVR_ATmega2560__
#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
#endif
#endif
#define ORIG_X_DIR_PIN 55
#define ORIG_X_ENABLE_PIN 38
#define ORIG_X_MIN_PIN 3
#define ORIG_X_MAX_PIN -1
#define ORIG_Y_DIR_PIN 61
#define ORIG_Y_ENABLE_PIN 56
#define ORIG_Y_MIN_PIN 14
#define ORIG_Y_MAX_PIN -1
#define ORIG_Z_DIR_PIN 48
#define ORIG_Z_ENABLE_PIN 63
#define ORIG_Z_MIN_PIN 18
#define ORIG_Z_MAX_PIN -1
#define ORIG_E0_DIR_PIN 28 // from schematic
#define ORIG_E0_ENABLE_PIN 24 // from schematic
#define ORIG_E1_DIR_PIN -1
#define ORIG_E1_ENABLE_PIN -1
#define SDSS 25 // from schematic
#define ORIG_SDCARDDETECT -1
#define ORIG_FAN_PIN 8 // from schematic
#define ORIG_PS_ON_PIN -1
#define HEATER_1_PIN 9 // schematic: HEATER2 (Heated Bed)
#define HEATER_2_PIN -1
#define TEMP_0_PIN 13 // schematic: THERM1 (Extruder)
#define TEMP_1_PIN 14 // schematic: THERM2 (Heated Bed)
#define TEMP_2_PIN -1
#define E1_PINS ORIG_E1_STEP_PIN,ORIG_E1_DIR_PIN,ORIG_E1_ENABLE_PIN,
#ifdef NEWPANEL
#define LCD_PINS_ENABLE 29 // from schematic
#define LCD_PINS_D4 37 // from schematic
#define LCD_PINS_D5 35 // from schematic
#define LCD_PINS_D6 33 // from schematic
#define LCD_PINS_D7 31 // from schematic
#define BTN_EN2 17 // from schematic
#define BTN_ENC 23 // from schematic
#endif //ULTRA_LCD
#define MISO_PIN 50 // from schematic
#define MOSI_PIN 51 // from schematic
#define MAX6675_SS 53 // from schematic
#ifndef __AVR_ATmega1280__
#ifndef __AVR_ATmega2560__
#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
#endif
#endif
3DRAG and K8200 both use the same ATmega2560-based design.
The wiki article explains that it is a successor of Sanguinololu Controller (ATmega644 based).
I have 'Arduino Mega' selected when compiling.
I assume the pins _will_ fit the 3DRAG as well.
I fear the pins will _not_ fit the older Sanguinololu.
Does this sound reasonable?
Seems to work better then Marlin so far in the sense that the temperature curves in Repetier Host now work all the time. In Marlin they block during M190 G-code. Also I have the feeling it's smoother. Marlin has little mechanical glitches during communication.
i'm trying to set Repetier Firmware for my 3Drag.
Anyone can tell me witch DISPLAY_CONTROLLER i have to set for the one that comes with the printer: https://www.futurashop.it/stampanti-3d/elettronica-2/scheda-lcd-controllo-autonomo-3drag-montata-8220-vm8201 ?
Thanks