BTT Manta M8P Pi fan

Basic Information:

Printer Model: Ender 5plus
MCU / Printerboard: BTT Manta M8P V1.1 with CB1
klippy.log

Fill out above information and in all cases attach your klippy.log file. Pasting your printer.cfg is not needed
Be sure to check our Knowledge Base and in particular this and this post

Describe your issue: I am trying to use the Pi fan port to power a fan for the CB1. This is the callout in printer cfg but I get this error “Unknown pin chip name ‘CB1’”.

[heater_fan SoC_fan]
pin: CB1:gpio79
#pin: RPI:gpio26

Thanks
klippy (3).log (81.0 KB)

You haven’t added the CB1 as a 2nd MCU. Or at least have not defined a [mcu CB1] in your printer config.

You need to flash Klipper (setup for Linux) to the CB1 (similar to how you flash Klipper to RPI for input shaper). Then define:

[mcu CB1]
serial: /tmp/klipper_host_mcu

Can’t confirm if the ‘gpio79’ is right or wrong…

Thanks

That worked. I would like to figure out how to have the fan turn on at a specific CB1 temperature. Right now it turns on with the hotend. I’ve called out the CB1 temp sensor.

[temperature_sensor CB1]
sensor_type: temperature_host
min_temp: 10
max_temp: 100

[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100

[fan]
pin: PE6

[heater_fan fan1]
pin: PE0

[heater_fan SoC_fan]
pin: CB1:gpio79
#pin: RPI:gpio26

Just to close the loop, I got the fan to work like I wanted using this:

[temperature_fan SoC_fan]
pin: CB1:gpio79
#pin: RPI:gpio26
kick_start_time: 0.8
off_below: 0.1
max_power: 1.0
sensor_type: temperature_host
control: pid
min_temp: 10
max_temp: 100
pid_kp: 1.0
pid_ki: 0.5
pid_kd: 2.0
min_speed: 0.1
max_speed: 0.8
target_temp: 38

One kind request I have:

Please always put your code snippets between code braces.
I makes reading more easy and spaces do not get lost:

Format

Got it … :+1:

Thanks

1 Like