Notifications
Clear all

Hepa filter vs printer status  

  RSS
Mr. Finley
(@mr-finley)
Member
Hepa filter vs printer status

Hi,
I have the original Prusa Enclosure for my MK3S+ with hepa filter.
Unfortunately, hepa filter, as for example LEDs inside are only available on the front as two buttons.

Now, I would like to turn on/off the hepa filter programmatically, using raspberry pi, which is connected to my printer to facilitate PrusaLink.
In the latest FW Prusa-Link-0.7.2/prusa/link/web I found main.py, where for example printer state is provided:

PRINTER_STATES = {
    State.IDLE: "Operational",
    State.READY: "Operational",
    State.BUSY: "Busy",
    State.PRINTING: "Printing",
    State.PAUSED: "Paused",
    State.FINISHED: "Operational",
    State.STOPPED: "Cancelling",
    State.ERROR: "Error",
    State.ATTENTION: "Error",
}

I would like to attach a small PCB with a relay that would be turned on/off automatically when print begins and ends, which would be directly driven by one of the raspberry pi's pins, based on the current printer status.

In other words, I would like to have a pin high when printer is working and low when printing is finished.

Any ideas how to get that status out on a pin in a smart way?

Cheers!

This topic was modified 7 months temu by Mr. Finley
Opublikowany : 23/04/2024 1:23 pm
Share: