I am trying to read the temperature from the EBB36 mcu and Control a fan for the Octopus mcu temp sensor. See comment on EBB36 sensor_mcu line. From the documentation and forum posts I am reading, this is the correct way to do this, but I cannot get it to work.
The following give me unknown pin EBB36
[temperature_sensor EBB36]
sensor_type: temperature_mcu
sensor_mcu: EBB36 # Causes Unknown Pin and if commented out get pin ADC_TEMPERATURE used multiple times in config
min_temp: 0
max_temp: 100
This is the whole section that has the fans and temps for MCU temp reads.
[temperature_fan BTT_Octopus] # Electronics fan PWM
pin: PA8
max_power: 0.60
hardware_pwm: true
control: watermark
max_delta: 2
sensor_type: temperature_mcu
min_temp: 10
max_temp: 80
target_temp: 40
[temperature_fan Raspberry_Pi] # Electronics fan PWM
pin: PE5
max_power: 0.60
hardware_pwm: true
control: watermark
max_delta: 2
sensor_type: temperature_host
min_temp: 10
max_temp: 80
target_temp: 50
[temperature_sensor EBB36_temp]
sensor_type: temperature_mcu
#sensor_mcu: EBB36
min_temp: 0
max_temp: 100
In what way? Error messages?
Maybe the klippy.log (it was asked for) can help.
Please attach it yo your next post.
BTW: Please try to avoid empty lines in the code snippets. ![:wink: :wink:](https://emoji.discourse-cdn.com/twitter/wink.png?v=12)
1 Like
The error is in the description in 2 places. I am pretty sure I am doing something wrong with the way I wrote it, and I need someone to look it over and see if they can spot my error. Not sure what you are going to find in the klippy log, since it is a printer.cfg issue. But here it is.
klippy(1).log (6.4 MB)
# Causes Unknown Pin and if commented out get pin ADC_TEMPERATURE used multiple times in config
klippy(2).log (7.8 MB)
Here are the errors. I rolled over the logs and reproduced the errors I am getting.
This is with this is the printer.cfg
[temperature_sensor EBB36] #the EBB36 can be any name you want as long as it doesn’t match any other named device.
sensor_type: temperature_mcu
sensor_mcu: EBB36
min_temp: 0
max_temp: 100
And this it with this in the printer.cfg
[temperature_sensor EBB36] #the EBB36 can be any name you want as long as it doesn’t match any other named device.
sensor_type: temperature_mcu
sensor_mcu: EBB36
min_temp: 0
max_temp: 100
Have you searched the config for the multiple use of ADC_TEMPERATURE
?
Yes no duplicates.
I just figured it out. I was giving it the wrong name. It was supposed to be EBBCan instead of EBB36. Everything I read said you could name it anything you want, but you have to name it the same name that you defined for the MCU.
[temperature_sensor EBB36] #the EBB36 can be any name you want as long as it doesn’t match any other named device.
sensor_type: temperature_mcu
sensor_mcu: EBBCan
min_temp: 0
max_temp: 100
2 Likes