MCU safety control

Hi. Today my klipper host breaks and I was unable to use anymore in the middle of a print. These situations lead forward to an issue very dangerous for my machine…

When klliper connection with the MCU falls for any reason the printer is uncontrollable, Of course can’t move any axis, control fans, temps, anything… So the machine ends with a heated enclosure, two hot ends a 270Cº without cooling, etc… What happen if I’m not there to open the case, put an external fan to cool everything…

Is it possible to control the machine, at least, temps, fans and simple axis movement without the klipper host?

In the machines that I have with marlin+pronterface or octoprint, if the host falls for any reason, I Still have the option to control manually the printer via the physical control panel in the machine. Why in klipper I can’t control anything if the host falls for any reason?

Is there a way to tell the MCU that if the connection with klipper falls for any reason, at least, put all Fans at full power to evacuate all the heat away from the machine?

Hello @noruas !

Unless nothing is done to the MCU code, on detecting a not accessible Host, the MCU shuts down all heaters and puts all fans to maximum speed.

Not in my machine, Don’t know why.

If the link with the host goes down all heaters shuts down, fans… also shut down, and motors still on, so I can’t even move it with my hands if I don’t power off the system.

So… Is it possible to do something with the firmware to gain control over the machine? If not, the machine is a simple brick without the klipper host. And the motors will keep consuming power and heat with no cooling. The time that the hot end or the enclosure will need to cool down will be absurd with no heat dissipation.

My enclosure is very well isolated, all the electronic and motors inside the enclosure needs active dissipation because the enclosure is just below 100C. At that temperature, if the cooling system goes down, lots of system will end as hot dogs.

I need a way to control the machine if the klipper stop for any reason.

Interesting. Could you please post a klippy.log?

I don’t have logs xD, the RPI is dead and the SD card data is corrupted. I think the ram is dead, It seems that has power, however it does not power up… I will try to see if I can do something with it.

I realized some time ago that the lack of control of the printer without Klipper connected to it is a big problem in an emergency… I simply thought that this thing will be no issue because the RPI will never die and if something happen it will restart alone bla bla bla… Until it happens and almost fried my printer.

Let me try to reproduce the problem in another printer and generate a log.

EDIT: Here is a log of my old klippericed prusa clone, I simply turn off the fan, heat the bed and the tool to 50C, then unplug the link between the klipper and the MCU and… No fans ON. In this case the motors stopped also, It seems the freeze in my main printer is something else, However, it happens the same, If the klipper connection falls the FANs will stay OFF and IF I put FANS ON before cut the connection the FANS will Stay ON. This is an issue, Klipper MUST cut the energy AND power on the FANS if connections is lost.

klippy.log (1.2 MB)

Your klippy.log shows in line 4
Git version: 'v0.12.0-343-gfaa89be81-dirty'

You may have a look at point 5 from How-To Trouble-Shoot

1 Like

Dont know what that is important, the old prusa is not running in a PI so It needs extra software to run.

So, if you repeat the same test that I did with your printer, your printer start their fans?

It’s very important to know. Please be as honest and transparent about your system as possible.

Also note that if you’re modifying Klipper in any way, that makes it very hard for us to help support you.

That’s the way it works on all my printers.

What do you use as Klipper host?

Could you fill out the template?

Basic Information:

Printer Model:
MCU / Printerboard:
Host / SBC
klippy.log

1 Like

cringe-eeee

1 Like

:rofl:

So that option almost ruin my machine… Yes, now the fans start after lost connection. Thx!!

As I told you the log is from another machine, as I said is an old prusa (clone), the host is a old smartphone with debian installed.

The machine of this post is a total custom 3d printer build by me with the idea of print high temp filaments in a hight temp enclosure (and it is going bad xD), the host is a well fried pi3b+ and a Bigtretech octopus as driver board.

However Sineos found the problem :stuck_out_tongue: and it was a very embarrassing one :sweat_smile: