EBB42 pin alias isn't recognized.

Hi, Just installed a EBB42 with the toolhead and klipper doesn't seem to recognize the pin-aliases as stated in the RatOS config. The result being that klipper throws the infamous 'ADC out of range' error because the thermistor isn't recognized. My expectation would be that the following config would rectify that: [extruder] sensor_type: PT1000 sensor_pin: e_sensor_pin In reality the following config is needed and with it it works like a dream. Same goes for the configuration of all other parts of the toolhead. Extruder fan doesn't trigger, etc. but a manual config and it is fine. [mcu toolboard] serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_btt-ebb42-12-if00 [extruder] sensor_type: PT1000 sensor_pin: toolboard: PA3 Two configs are attached: config.txt is the 'before EBB42' config that worked without issue. The second is the config post-EBB42 with all pins manually set. The pin-config is commented out as i'm hunting an issue of my extruder massively overextruding which I why I'm trying going back to basics which caused my question. Question is: What could be going on here?
6 Replies
blacksmithforlife
blacksmithforlife•3mo ago
why did you delete the lines that actually setup the toolboard? https://github.com/Rat-OS/RatOS-configuration/blob/v2.x/templates/v-core-3-printer.template.cfg#L251-L287 Assuming you have version 1.2 of the EBB42, you need to use the template and uncomment lines 262, 266, 283-284, and 287 then wire up your hardware according to https://os.ratrig.com/docs/toolboards/btt/ebb-42-12#wiring but to answer your original question, the reason toolboard: PD0 doesn't work for example, is because you never imported the toolboard definition (https://github.com/Rat-OS/RatOS-configuration/blob/v2.x/templates/v-core-3-printer.template.cfg#L262) so klipper has no idea what MCU toolboard refers to
Heretic_Infidel
Heretic_Infidel•3mo ago
I am a dumdum - I probably sanitized it months ago to make the config easier to read. 🤦‍♂️ Ofcourse it won’t find the alias if the reference to them isn’t there. That might fix the extruder shenanigans as well.
blacksmithforlife
blacksmithforlife•3mo ago
in general, I would not delete lines in the template moving them around is also a no-no
Heretic_Infidel
Heretic_Infidel•3mo ago
I’m just gonna start clean slate and rebuild from there. Who knows what else I’ve done.
blacksmithforlife
blacksmithforlife•3mo ago
since ordering matters, later in the printer.cfg overwrites previous config values best of luck! Come on back if you run into more issues!
Heretic_Infidel
Heretic_Infidel•3mo ago
Thanks for your help - will do! Will mark as solved
Want results from more Discord servers?
Add your server
More Posts