I have a RAMPS 1.4 and an Arduino Mega 2560. The problem is with 100k NTC thermistor. I've tested it with a multimeter, it results in ~122kΩ.
I am using Marlin 1.0.2 (latest stable). I am using an MK8 extruder and do not receive temperature readings from the thermo-sensor - no matter how I connect it. However, on APrinter firmware it works flawlessly.
In configuration.h, I have tried most of the options, but found "1" is the best one for me.
Executing m105
on Marlin, I get following result:
ok T:0.0 /0.0 B:0.0 /0.0 T0:0.0 /0.0 @:0 B@:0
On APrinter, the result is different:
ok B:-inf /nan T:25.2076 /nan
I have not connected bed thermistor yet.
pins.h
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering
configuration.h
#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_BED 1
...
#define MOTHERBOARD BOARD_RAMPS_13_EFB
After switching back and forth from Marlin to APrinter and back, Marlin stopped woking completely. I had configured the LCD (ReprapDiscount Smart Controller) and all the steppers were working. Right now, it does not even sends self test to Pronterface upon start/connection, or it hangs according to the log.
Pronterface output
Connecting...
start
Printer is now online.
echo:Marlin1.0.2
echo: Last Updated: Jul 25 2016 17:12:39 | Author: (Rustam Rahimgulov, default config)
Compiled: Jul 25 2016
echo: Free Memory: 3971 PlannerBufferBytes: 1232
echo:Hardcoded Default Settings Loaded
echo:Steps per unit:
echo: M92 X80.00 Y80.00 Z4000.00 E836.00
echo:Maximum feedrates (mm/s):
echo: M203 X500.00 Y500.00 Z2.00 E25.00
echo:Maximum Acceleration (mm/s2):
echo: M201 X9000 Y9000 Z100 E10000
echo:Acceleration: S=acceleration, T=retract acceleration
echo: M204 S300.00 T3000.00
echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s), Z=maximum Z jerk (mm/s), E=maximum E jerk (mm/s)
echo: M205 S0.00 T0.00 B20000 X20.00 Z0.40 E5.00
echo:Home offset (mm):
echo: M206 X0.00 Y0.00 Z0.00
echo:PID settings:
echo: M301 P22.20 I1.08 D114.00
start
echo:Marlin1.0.2
ec (nothing more here, output just ends)
M105
? What is "aprintr firmware"? $\endgroup$temp_0_pin
that it's very hard to trace if it's correct or not. I can find lines that assign analogue pins 13 and 15 to bed and extruder sensors. $\endgroup$