SOLVED !
Message form facebook BTT group
PG19 is definitely a GPIO pin. It may not be on the 40 pin GPIO header but any input / output pin on the BTT Pi and CB1 is GPIO.
The formula to convert from PG19 to GPIO is:
[(PG - PA)*32] + {Pin Number}
Where PA = 1, PB =2….so PG = 7
So [(7-1)*32] + 19 = 211
Try using GPIO211
The BTT documentation on this is rubbish and lacking.
result :

Thanks again and happy FAST printing
2 Likes
Push on GitHub with more explanation.
Phat3R
3
Is there any way to make that GPIO211 pin a PWM one rather than just voltage?
Sineos
4
Each pin can work as software PWM pin which usually is the better choice anyway.
If you aim for hardware PWM then the answer is no.
@Jfml :
Could you please put your code snippet between code braces.

The way you did it, information like spaces get lost.
1 Like
Jfml
7
Any idea what the error could be?
Put inside printer.cfg
[mcu host]
serial: /tmp/klipper_host_mcu
Remove from fan…cfg
1 Like
Jfml
10
I have gotten it to work, I needed to create the MCU but I see that it spins slowly. I have measured voltage and it is approximately 3 v
If I set the value in klipperscreen to 0, the rest of the values stop spinning very slowly with only 3 v and the fan It is 5v
EddyMI3D
Split this topic
11
Sineos
Split this topic
12
2 posts were split to a new topic: Printer object already created