Delta Rostock mini G2 dual firmware for GT2560

icarusfactor
Posts: 10
Joined: Mon Jun 15, 2015 11:40 am

Delta Rostock mini G2 dual firmware for GT2560

Post by icarusfactor » Mon Jun 15, 2015 11:48 am

I had reconfigured my firmware and uploaded, but can not find out which settings I need for LCD and SD card display.

Some of the setting I did were found on the wiki site , but not all of them .
http://www.geeetech.com/wiki/index.php/ ... ck_mini_G2

Would be nice if you guys had a Github were I could download the configurations for Marlin firmware.
Also, I cant home the steppers now either. While it compiled for the Delta config and uploaded to the board
it no longer performs at all and is just on.

zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by zhangxueyou » Mon Jun 15, 2015 2:15 pm

Hi, the firmware for printer has been well set, you don't need to change it.
Where did you get the firmware?

icarusfactor
Posts: 10
Joined: Mon Jun 15, 2015 11:40 am

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by icarusfactor » Mon Jun 15, 2015 3:43 pm

I had gotten the Firmware here(1) and compiled it and installed it.
Added the Delta Configuration.h Configuration_adv.h to the source and set the numbers to the ones in the wiki(2).

I had set the temp sensors to 100k for the hotend and 10k for the hotbed. Was getting MAXTEMP error otherwise.
But still does not let me run the manual stepper motor commands or the LCD/SD card slot anymore.

I need the complete specs to match the LCD type and board type which is set to :
#define MOTHERBOARD BOARD_RAMPS_13_EFB <-- This is one extruder RAMPS1.4 : Talking with tech online about this, I had not received a dual bracket, just a single hot end bracket, why I wanted to recompile for single until I got my dual bracket.
By default in the Configuration.h boards.h files.

(1) https://github.com/MarlinFirmware/Marlin

(2) http://www.geeetech.com/wiki/index.php/ ... ck_mini_G2
UNDER TITLE: Modify the firmware of Delta.

zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by zhangxueyou » Mon Jun 15, 2015 5:43 pm

Both resistance of thermistors are 100k.
Some parameters are different from the firmware you download.
We've sent you a well set firmware to your email, please try that.

icarusfactor
Posts: 10
Joined: Mon Jun 15, 2015 11:40 am

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by icarusfactor » Mon Jun 15, 2015 6:21 pm

zhangxueyou,
Thanks for the quick response. I have downloaded the firmware from my email and looked over the code, its using the Ultimaker
board setting. I was using a different setting totally. Plus see all the SD card and LCD code in the source tree. Will be busy , but get
to installing it it later. But looks like this is what I was looking for to get a good compile .

icarusfactor
Posts: 10
Joined: Mon Jun 15, 2015 11:40 am

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by icarusfactor » Tue Jun 16, 2015 7:16 pm

I'm having trouble with the temperature settings.
The bed heater and sensor are working fine.
I know this because I can set TEMP_SENSOR_0 0 to disable the hotend sensor.
But the hotend temp sensor gives me this error and locks the printer when enabled.
----------------------------------------------------------------------------------------------
: Extruder switched off. MINTEMP triggered !
Error:Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)
-----------------------------------------------------------------------------------------------

I have measured the temperature sensors and they are both working and 100k ohms.

//===========================================================================
//============================= Thermal Settings ============================
//===========================================================================
//
//--NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table
//
//// Temperature sensor settings:
// -2 is thermocouple with MAX6675 (only for sensor 0)
// -1 is thermocouple with AD595
// 0 is not used
// 1 is 100k thermistor - best choice for EPCOS 100k (4.7k pullup)
// 2 is 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup)
// 3 is Mendel-parts thermistor (4.7k pullup)
// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
// 5 is 100K thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (4.7k pullup)
// 6 is 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)
// 7 is 100k Honeywell thermistor 135-104LAG-J01 (4.7k pullup)
// 71 is 100k Honeywell thermistor 135-104LAF-J01 (4.7k pullup)
// 8 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)
// 9 is 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)
// 10 is 100k RS thermistor 198-961 (4.7k pullup)
// 11 is 100k beta 3950 1% thermistor (4.7k pullup)
// 12 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)
// 13 is 100k Hisens 3950 1% up to 300°C for hotend "Simple ONE " & "Hotend "All In ONE"
// 20 is the PT100 circuit found in the Ultimainboard V2.x
// 60 is 100k Maker's Tool Works Kapton Bed Thermistor beta=3950
//
// 1k ohm pullup tables - This is not normal, you would have to have changed out your 4.7k for 1k
// (but gives greater accuracy and more stable PID)
// 51 is 100k thermistor - EPCOS (1k pullup)
// 52 is 200k thermistor - ATC Semitec 204GT-2 (1k pullup)
// 55 is 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (1k pullup)
//
// 1047 is Pt1000 with 4k7 pullup
// 1010 is Pt1000 with 1k pullup (non standard)
// 147 is Pt100 with 4k7 pullup
// 110 is Pt100 with 1k pullup (non standard)

#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_3 0
#define TEMP_SENSOR_BED 1


// This makes temp sensor 1 a redundant sensor for sensor 0. If the temperatures difference between these sensors is to high the print will be aborted.
//#define TEMP_SENSOR_1_AS_REDUNDANT
#define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10

// Actual temperature must be close to target for this long before M109 returns success
#define TEMP_RESIDENCY_TIME 10 // (seconds)
#define TEMP_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one
#define TEMP_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.

// The minimal temperature defines the temperature below which the heater will not be enabled It is used
// to check that the wiring to the thermistor is not broken.
// Otherwise this would lead to the heater being powered on all the time.
#define HEATER_0_MINTEMP 5
#define HEATER_1_MINTEMP 5
#define HEATER_2_MINTEMP 5
#define HEATER_3_MINTEMP 5
#define BED_MINTEMP 5

// When temperature exceeds max temp, your heater will be switched off.
// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
// You should use MINTEMP for thermistor short/failure protection.
#define HEATER_0_MAXTEMP 275
#define HEATER_1_MAXTEMP 275
#define HEATER_2_MAXTEMP 275
#define HEATER_3_MAXTEMP 275
#define BED_MAXTEMP 150

// If your bed has low resistance e.g. .6 ohm and throws the fuse you can duty cycle it to reduce the
// average current. The value should be an integer and the heat bed will be turned on for 1 interval of
// HEATER_BED_DUTY_CYCLE_DIVIDER intervals.
//#define HEATER_BED_DUTY_CYCLE_DIVIDER 4

// If you want the M105 heater power reported in watts, define the BED_WATTS, and (shared for all extruders) EXTRUDER_WATTS
//#define EXTRUDER_WATTS (12.0*12.0/6.7) // P=I^2/R
//#define BED_WATTS (12.0*12.0/1.1) // P=I^2/R

----------------------------------------------------------------------------------------------------


I have set the motors coord for the Delta , will test them after I get the hotend sensor working.
Also, I have disabled the LCD and SD card slot for now, I keep getting the error when I set #define REPRAP_DISCOUNT_SMART_CONTROLLER


Arduino: 1.6.5 (Linux), Board: "Arduino Mega ADK"

In file included from Marlin.h:16:0,
from temperature.h:24,
from ultralcd.cpp:1:
ultralcd.cpp: In function 'void lcd_control_temperature_menu()':
language_en.h:159: error: expected ')' before 'STR_THERMOMETER'
#define MSG_MIN " " STR_THERMOMETER " Min"
^
ultralcd.cpp:169:46: note: in expansion of macro 'MENU_ITEM'
#define MENU_ITEM_EDIT(type, label, args...) MENU_ITEM(setting_edit_ ## type, label, PSTR(label) , ## args )
^
ultralcd.cpp:792:5: note: in expansion of macro 'MENU_ITEM_EDIT'
MENU_ITEM_EDIT(float3, MSG_MIN, &autotemp_min, 0, HEATER_0_MAXTEMP - 15);
^
ultralcd.cpp:792:28: note: in expansion of macro 'MSG_MIN'
MENU_ITEM_EDIT(float3, MSG_MIN, &autotemp_min, 0, HEATER_0_MAXTEMP - 15);
^
language_en.h:159: error: expected ')' before 'STR_THERMOMETER'
#define MSG_MIN " " STR_THERMOMETER " Min"
^
ultralcd.cpp:139:36: note: in definition of macro 'MENU_ITEM'
menu_action_ ## type ( args ); \
^
ultralcd.cpp:792:5: note: in expansion of macro 'MENU_ITEM_EDIT'
MENU_ITEM_EDIT(float3, MSG_MIN, &autotemp_min, 0, HEATER_0_MAXTEMP - 15);
^
ultralcd.cpp:792:28: note: in expansion of macro 'MSG_MIN'
MENU_ITEM_EDIT(float3, MSG_MIN, &autotemp_min, 0, HEATER_0_MAXTEMP - 15);
^
In file included from Marlin.h:16:0,
from temperature.h:24,
from ultralcd.cpp:1:
language_en.h:162: error: expected ')' before 'STR_THERMOMETER'
#define MSG_MAX " " STR_THERMOMETER " Max"
^
ultralcd.cpp:169:46: note: in expansion of macro 'MENU_ITEM'
#define MENU_ITEM_EDIT(type, label, args...) MENU_ITEM(setting_edit_ ## type, label, PSTR(label) , ## args )
^
ultralcd.cpp:793:5: note: in expansion of macro 'MENU_ITEM_EDIT'
MENU_ITEM_EDIT(float3, MSG_MAX, &autotemp_max, 0, HEATER_0_MAXTEMP - 15);
^
ultralcd.cpp:793:28: note: in expansion of macro 'MSG_MAX'
MENU_ITEM_EDIT(float3, MSG_MAX, &autotemp_max, 0, HEATER_0_MAXTEMP - 15);
^
language_en.h:162: error: expected ')' before 'STR_THERMOMETER'
#define MSG_MAX " " STR_THERMOMETER " Max"
^
ultralcd.cpp:139:36: note: in definition of macro 'MENU_ITEM'
menu_action_ ## type ( args ); \
^
ultralcd.cpp:793:5: note: in expansion of macro 'MENU_ITEM_EDIT'
MENU_ITEM_EDIT(float3, MSG_MAX, &autotemp_max, 0, HEATER_0_MAXTEMP - 15);
^
ultralcd.cpp:793:28: note: in expansion of macro 'MSG_MAX'
MENU_ITEM_EDIT(float3, MSG_MAX, &autotemp_max, 0, HEATER_0_MAXTEMP - 15);
^
In file included from Marlin.h:16:0,
from temperature.h:24,
from ultralcd.cpp:1:
language_en.h:165: error: expected ')' before 'STR_THERMOMETER'
#define MSG_FACTOR " " STR_THERMOMETER " Fact"
^
ultralcd.cpp:169:46: note: in expansion of macro 'MENU_ITEM'
#define MENU_ITEM_EDIT(type, label, args...) MENU_ITEM(setting_edit_ ## type, label, PSTR(label) , ## args )
^
ultralcd.cpp:794:5: note: in expansion of macro 'MENU_ITEM_EDIT'
MENU_ITEM_EDIT(float32, MSG_FACTOR, &autotemp_factor, 0.0, 1.0);
^
ultralcd.cpp:794:29: note: in expansion of macro 'MSG_FACTOR'
MENU_ITEM_EDIT(float32, MSG_FACTOR, &autotemp_factor, 0.0, 1.0);
^
language_en.h:165: error: expected ')' before 'STR_THERMOMETER'
#define MSG_FACTOR " " STR_THERMOMETER " Fact"
^
ultralcd.cpp:139:36: note: in definition of macro 'MENU_ITEM'
menu_action_ ## type ( args ); \
^
ultralcd.cpp:794:5: note: in expansion of macro 'MENU_ITEM_EDIT'
MENU_ITEM_EDIT(float32, MSG_FACTOR, &autotemp_factor, 0.0, 1.0);
^
ultralcd.cpp:794:29: note: in expansion of macro 'MSG_FACTOR'
MENU_ITEM_EDIT(float32, MSG_FACTOR, &autotemp_factor, 0.0, 1.0);
^
In file included from Marlin.h:16:0,
from temperature.h:24,
from ultralcd.cpp:1:
ultralcd.cpp: In function 'void lcd_control_volumetric_menu()':
language_en.h:258: error: expected ')' before 'STR_h3'
#define MSG_VOLUMETRIC_ENABLED "E in mm" STR_h3
^
ultralcd.cpp:170:55: note: in expansion of macro 'MENU_ITEM'
#define MENU_ITEM_EDIT_CALLBACK(type, label, args...) MENU_ITEM(setting_edit_callback_ ## type, label, PSTR(label) , ## args )
^
ultralcd.cpp:924:3: note: in expansion of macro 'MENU_ITEM_EDIT_CALLBACK'
MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers);
^
ultralcd.cpp:924:33: note: in expansion of macro 'MSG_VOLUMETRIC_ENABLED'
MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers);
^
language_en.h:258: error: expected ')' before 'STR_h3'
#define MSG_VOLUMETRIC_ENABLED "E in mm" STR_h3
^
ultralcd.cpp:139:36: note: in definition of macro 'MENU_ITEM'
menu_action_ ## type ( args ); \
^
ultralcd.cpp:924:3: note: in expansion of macro 'MENU_ITEM_EDIT_CALLBACK'
MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers);
^
ultralcd.cpp:924:33: note: in expansion of macro 'MSG_VOLUMETRIC_ENABLED'
MENU_ITEM_EDIT_CALLBACK(bool, MSG_VOLUMETRIC_ENABLED, &volumetric_enabled, calculate_volumetric_multipliers);
^
expected ')' before 'STR_THERMOMETER'


Would like to get the hotend temp sensor working first. Then work on the LCD/SD card slot.

icarusfactor
Posts: 10
Joined: Mon Jun 15, 2015 11:40 am

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by icarusfactor » Tue Jun 16, 2015 7:21 pm

I did get the LCD working, I had to uncomment the #define DISPLAY_CHARSET_HD44780_JAPAN

But still having the temperature setting issue.

: Extruder switched off. MINTEMP triggered !
Error:Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)
echo:SD init fail

zhangxueyou
Posts: 1405
Joined: Fri Feb 06, 2015 1:33 pm

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by zhangxueyou » Wed Jun 17, 2015 9:06 am

Is thermistor fine? Or have you well connected thermistor to corresponding slot ?

icarusfactor
Posts: 10
Joined: Mon Jun 15, 2015 11:40 am

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by icarusfactor » Wed Jun 17, 2015 2:19 pm

I have checked over and over again and its reading some resistance in accordance with the thermistor
at the end connector located by the second slot in between GT and reset button.

While typing G-CODE M105 on the direct serial connection I get the return debug data.
ok T:0.0 /0.0 B:28.9 /0.0 T0:0.0 /0.0 @:0 B@:0

Should not T0.0/0.0 be reading something besides 0.0 if the resistance is around 85k ohms.

If so, after work today (opposite of you guys side of the globe) I will disconnect the wires and unmount the board from the printer and check the the bottom side solder joints for bad connections. That will take a while though.

icarusfactor
Posts: 10
Joined: Mon Jun 15, 2015 11:40 am

Re: Delta Rostock mini G2 dual firmware for GT2560

Post by icarusfactor » Thu Jun 18, 2015 6:02 pm

I have tested the controller board and it was ok, no problems.
What I had to do was change sensor slot to furthermost away from reset button.
Which was not what the wiki had shown. I also had to do this for the hotend temp also.

Sensors for the heat bed and extrruder 0 work fine now. This issue is resolved.

The next problem i'm now having is with the HOME POS. The position of Y and Z both pull to the top ,but X will always pulls down, away from the end stop, so it rams the carriage to the outside perimeter of the print space. (I'v tried to set the inverted X axis in RepetierHost but still no effect. )Must be something with a firmware setting.

Post Reply