Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I set MKS PWC on the klipper #132

Open
sima35 opened this issue Oct 15, 2022 · 4 comments
Open

How do I set MKS PWC on the klipper #132

sima35 opened this issue Oct 15, 2022 · 4 comments

Comments

@sima35
Copy link

sima35 commented Oct 15, 2022

Good, I need advice on MKS PWC and klipper.
I have RB Nano v3, the clipper works great, , but I need to start MKS PWC in klipper.
I did not load the information in klipper.
As I understand correctly, MKS PWC is not in their settings.
I would be grateful if you could give me the code for the setup.
After finishing printing, my printer does not turn off automatically.
And I don't know if PWC monitors the voltage.
Or connection to RPI4

@sima35
Copy link
Author

sima35 commented Oct 29, 2022

when no one helped us, what could I have thought, I will give you the info here.
put this in moonraker and watch out for the pin
then proceed as written here in the link> https://www.etechnophiles.com/raspberry-pi-4-gpio-pinout-specifications-and-schematic/#raspberry-pi-4-gpio-pinout

this is how you can control the printer via mainsail

[power Printer]
type: gpio
pin: gpio14
on_when_job_queued: True
off_when_shutdown: True
locked_while_printing: True
restart_klipper_when_powered: false
initial_state: off

@ColdBeer72
Copy link

Hi, @sima35... Is it working for you? I don't find a gpio14 pin in our Robin Nano V3. If you're talking about MKS PWC (not MKS UPS that is a total different think), it need a power detection and a power off connectors: one is for PW_DET pin (PA13 in Klipper) and the other is for PW_OFF pin (PB2 in Klipper).
Is it really working as you told?

@ColdBeer72
Copy link

Ok, friend @sima35 I could make it work without a Raspberry Pi. I explained it on this other issue, here

@sima35
Copy link
Author

sima35 commented Jun 19, 2023

Ahoj,@sima35... Funguje vám to? V našom Robin Nano V3 nenájdem pin gpio14. Ak hovoríte o MKS PWC (nie o MKS UPS, čo je úplne iný názor), potrebuje detekciu napájania a konektory vypnutia: jeden je pre pin PW_DET (PA13 v Klipper) a druhý je pre pin PW_OFF (PB2 v Klipperi). Naozaj to funguje tak, ako ste povedali?

you need to connect the pw_off cable to the rpi, I have ver.4b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants