Closed So6Rallye closed 1 year ago
If i create and another MCU like this :
[mcu host] serial: /tmp/klipper_host_mcu
And define :
[temperature_fan raspberry_pi] pin: host:PG19
I've got message like this : Pin 'PG19' is not a valid pin name on mcu 'host'
SOLVED !
Message form facebook BTT group [TJ MacLennan]
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 :
Hi,
I've connected fan on PG19 pin and Klipper doesn't recognize them. Do you have a config to make it work?
error mainsail : Pin 'PG19' is not a valid pin name on mcu 'mcu'
actually I've bypass with one pin on my board but I want to use PG19 pin on BTT PI
[temperature_fan raspberry_pi] pin: PB6 kick_start_time: 0.8
shutdown_speed: 0
off_below: 0.1 max_power: 1.0
fan_speed: 0.6
sensor_type: temperature_host control: pid min_temp: -40 max_temp: 85
max_delta: 5.0
pid_kp: 1.0 pid_ki: 0.5 pid_kd: 2.0 min_speed: 0.1 max_speed: 0.6 target_temp: 38