Now bed thermistors
-
Hi,
after configure fans in firmware 3, now thermistors, and have a doubt.
I have configured the fans in firmware 3.x, now I want to configure the temperature sensors (Thermistors)
As I've been reading, they are created with the Gcode (M308)
And in the file that the initial web configurator creates for me, it reads this:
M308 S0 P "bedtemp" Y "thermistor" T100000 B4138; configure sensor 0 as thermistor on pin bedtemp M308 S1 P "e0temp" Y "thermistor" T100000 B4138; configure sensor 1 as thermistor on pin e0temp
The main question I have with the modficator P "", it is supposed to be the name of the PIN where the sensor is connected.
But in the schematic of the web, the pins are not called like that. In the schematic of the web:- The pin where the THERMISTOR of the bed is connected, is the "THERMISTOR0"
and
- The pin where the THERMISTOR of the hoten is connected, is the "THERMISTOR1" or "THERMISTOR2"
The question is:
As the configurator generates it, is it okay? or would it be more correct ...
M308 S0 P "THERMISTOR0" AND "thermistor" T100000 B4138; configure sensor 0 as thermistor on pin bedtemp M308 S1 P "THERMISTOR1" AND "thermistor" T100000 B4138; configure sensor 1 as thermistor on pin e0temp
Thanks
-
No,
Y
is correct, see https://duet3d.dozuki.com/Wiki/Gcode#Section_M308_Set_or_report_sensor_parameters -
I have setup config.g with this
; Bed M308 S0 P "bedtemp" Y "thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C ; Hotend M308 S1 P "e0temp" Y "thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C
After put this in config.g
can see in DWC a new tool called "CAMA"
And if try hot, and error can be readed "Error: Temperature reading fault on heater 0: unknow sensor"P.D.: In panel due, the bed temp = 2000, and dont appears nozzle
-
@peirof said in Now bed thermistors:
Bed M308 S0 P "bedtemp" Y "thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C
i have find part of the issue, in M308 of bed was writed P "bedtemp", with a space betewn P and "bedtemp", and no P"bedtemp". now reads temp of bed
-
Here is my config for a Duet3 6HC board (with a low switching frequency because it's an SSR controlling an AC bed that's connected to the board):
; Heaters M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed" ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out0" T0 Q10 ; create bed heater output on out2 and map it to sensor 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M308 S1 P"10.temp0" Y"thermistor" B4725 C7.060000e-8 A"Tool0" ; Semitec on toolboard with address 10 M950 H1 C"10.out0" T1 ; create nozzle heater output on out1 and map it to sensor 1 M143 H1 S295 ; set temperature limit for heater 1 to 280C M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
I am assuming you're using a duet2wifi board? If yes, the pin names are defined in source code as
e0temp
andbedtemp
. I can't find anything pertaining CAMA in the source code -- are you sure that's not from elsewhere in config.g or config-override.g? -
I have revised config.g, and there is nothing called "Cama", and i don have config-override.g
CAMA, its a name that i have must put i, because CAMA is BED in spanish
and another thing, i can read CAMA, but if try to put a temperature, the temperature that rises its hotend
-
Please share your full config.g
-
-
@peirof said in Now bed thermistors:
Y "thermistor"
You also have a space between the Y and the "thermistor"
I suggest you use the config tool to get an example config to start with