ErikZalm/Marlin — Issue #19: [Marlin 1.0.0 b1]
Author: justjoheinz
Created: 2011-11-25 21:24:38+00:00
State: open

I operate a Makerbot with a Ramps 1.2 board and just switched to Marlin 1.0.0 b1.I suspect that there is something wrong with the way that the bed and extruder temps are read. Both temperatures always increase or decrease, when the bed is being turned on and the heater is off (measured with voltmeter).

I changed my pins in the according setup as follows:
#ifdef RAMPS_V_1_0 // RAMPS_V_1_0
#define HEATER_0_PIN 12 // RAMPS 1.0
#define HEATER_1_PIN -1 // RAMPS 1.0
#define FAN_PIN 11 // RAMPS 1.0

#else // RAMPS_V_1_1 or RAMPS_V_1_2
#define HEATER_0_PIN 10 // RAMPS 1.1
#define HEATER_1_PIN 8 // RAMPS 1.1
#define FAN_PIN 9 // RAMPS 1.1
#endif
#define HEATER_2_PIN -1
#define TEMP_0_PIN 2 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
#define TEMP_1_PIN 8 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
#define TEMP_2_PIN -1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
#endif

Note the the bed TEMP_1_PIN is set to analog pin 8!
i switched PID of in the configuration.h file

Obeserved output (despite the fact that only the bed is turned on):
ok T:51.70 B:50.00
ok T:52.16 B:51.00
ok T:53.15 B:52.00
ok T:54.59 B:53.00
ok T:56.15 B:55.00

This used to work in Marlin Non Gen6 by the way!

I can provide other information if desired. Thanks Markus