I am doing the Sovol SV08 tool changer that Teaching Tech is doing and loaded the CFG as another head. It keeps coming up as the rx and tx pins error. It is only this file causing me a problem. If I comment out the file, it come up normal.
Here is the CFG for this toolhead. I added [include mcu_nhk0] to my printer.cfg file:
purple
[mcu mcu_nhk0]
serial: /dev/serial/by-id/usb-Klipper_rp2040_4E363334320E8938-if00
restart_method: command
[extruder]
step_pin: mcu_nhk0:gpio23
dir_pin: mcu_nhk0:gpio24
enable_pin:!mcu_nhk0: gpio25
rotation_distance: 6.5
microsteps: 16
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.75
max_extrude_only_distance: 150
heater_pin:mcu_nhk0:gpio9
sensor_type:my_thermistor_e
pullup_resistor: 2200
sensor_pin: mcu_nhk0:gpio29
min_temp: 5
max_temp: 305
max_power: 1.0
min_extrude_temp: 5
control : pid
pid_kp : 33.838
pid_ki : 5.223
pid_kd : 47.752
pressure_advance: 0.025
pressure_advance_smooth_time: 0.035
[tmc2209 extruder]
uart_pin: mcu_nhk0:gpio0
tx_pin: mcu_nhk0:gpio1
interpolate: False
run_current: 0.8
#hold_current: 0.75
uart_address:3
sense_resistor: 0.100
[verify_heater extruder]
max_error: 120
check_gain_time:30
hysteresis: 5
heating_gain: 2
[multi_pin print_cooling_fan_pins]
pins: mcu_nhk0:gpio6
print/part cooling fan
[fan]
pin: mcu_nhk0:gpio6
max_power: 1.0
[heater_fan hotend_fan]
pin: mcu_nhk0:gpio5
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 50
tachometer_pin:mcu_nhk0:gpio16
tachometer_ppr: 1
tachometer_poll_interval: 0.0013
[temperature_sensor NH36]
sensor_type: temperature_mcu
sensor_mcu: mcu_nhk0
min_temp: 0
max_temp: 100
[temperature_sensor Toolhead_Temp]
sensor_type: temperature_mcu
sensor_mcu: mcu_nhk0
This file contains pin mappings for the LDO Nitehawk-36 Toolboard
To use this config, the firmware should be compiled for the Raspberry Pi RP2040
Make sure to include this config at the end of printer.cfg to overwrite the relevent sections
For instructions on uploading/updating klipper firmware to the PCB
LDO Nitehawk-SB Toolboard Partial Config
*** THINGS TO CHANGE/CHECK: ***
MCU paths [mcu] section
Thermistor types [extruder] sections
MAKE SURE to include this partial config file AFTER the main controller config.
This will ensure the relavent sections are overwritten by the pin mappings specified here.
#####################################################################
Endstops
#####################################################################
XES - Toolhead PCB
[stepper_x]
endstop_pin: nhk:gpio13
#####################################################################
Filament Sensor
#####################################################################
#[filament_switch_sensor filament_sensor]
#switch_pin: nhk:gpio3
#pause_on_runout: True
#####################################################################
Probe
#####################################################################
Probe Port
[probe]
pin: nhk:gpio10
#####################################################################
Lights
#####################################################################
##Stealthburner Headlights
[neopixel sb_leds]
pin: mcu_nhk:gpio7
chain_count: 3
color_order: GRBW
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 1.0
initial_WHITE: 0.0
PCB Activity Light
[output_pin act_led]
pin: !mcu_nhk:gpio8
#####################################################################
Accelerometer
#####################################################################
[adxl345]
cs_pin: mcu_nh0k:gpio27
spi_software_sclk_pin: mcu_nhk0:gpio18
spi_software_mosi_pin: mcu_nhk0:gpio20
spi_software_miso_pin: mcu_nhk0:gpio19
[resonance_tester]
accel_chip: adxl345
accel_per_hz: 100
sweeping_accel: 400
sweeping_period: 0
##--------------------------------------------------------------------
Uncomment below for 250mm build
#probe_points:
125, 125, 20
Uncomment below for 300mm build
probe_points:
155, 155, 20
Uncomment below for 350mm build
#probe_points:
175, 175, 20
#####################################################################
Addtional Sensors
#####################################################################
[temperature_sensor NH36]
sensor_type: temperature_mcu
sensor_mcu: mcu_nhk0
min_temp: 0
max_temp: 100
I am doing the Sovol SV08 tool changer that Teaching Tech is doing and loaded the CFG as another head. It keeps coming up as the rx and tx pins error. It is only this file causing me a problem. If I comment out the file, it come up normal.
Here is the CFG for this toolhead. I added [include mcu_nhk0] to my printer.cfg file:
purple
[mcu mcu_nhk0]
serial: /dev/serial/by-id/usb-Klipper_rp2040_4E363334320E8938-if00
restart_method: command
[extruder]
step_pin: mcu_nhk0:gpio23
dir_pin: mcu_nhk0:gpio24
enable_pin:!mcu_nhk0: gpio25
rotation_distance: 6.5
microsteps: 16
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.75
max_extrude_only_distance: 150
heater_pin:mcu_nhk0:gpio9
sensor_type:my_thermistor_e
pullup_resistor: 2200
sensor_pin: mcu_nhk0:gpio29
min_temp: 5
max_temp: 305
max_power: 1.0
min_extrude_temp: 5
control : pid
pid_kp : 33.838
pid_ki : 5.223
pid_kd : 47.752
pressure_advance: 0.025
pressure_advance_smooth_time: 0.035
[tmc2209 extruder]
uart_pin: mcu_nhk0:gpio0
tx_pin: mcu_nhk0:gpio1
interpolate: False
run_current: 0.8
#hold_current: 0.75
uart_address:3
sense_resistor: 0.100
[verify_heater extruder]
max_error: 120
check_gain_time:30
hysteresis: 5
heating_gain: 2
[multi_pin print_cooling_fan_pins]
pins: mcu_nhk0:gpio6
print/part cooling fan
[fan]
pin: mcu_nhk0:gpio6
max_power: 1.0
[heater_fan hotend_fan]
pin: mcu_nhk0:gpio5
max_power: 1.0
kick_start_time: 0.5
heater: extruder
heater_temp: 50
tachometer_pin:mcu_nhk0:gpio16
tachometer_ppr: 1
tachometer_poll_interval: 0.0013
[temperature_sensor NH36]
sensor_type: temperature_mcu
sensor_mcu: mcu_nhk0
min_temp: 0
max_temp: 100
[temperature_sensor Toolhead_Temp]
sensor_type: temperature_mcu
sensor_mcu: mcu_nhk0
This file contains pin mappings for the LDO Nitehawk-36 Toolboard
To use this config, the firmware should be compiled for the Raspberry Pi RP2040
Make sure to include this config at the end of printer.cfg to overwrite the relevent sections
See https://docs.ldomotors.com/en/Toolboard/nitehawk-36#firmware-setup-and-update
For instructions on uploading/updating klipper firmware to the PCB
LDO Nitehawk-SB Toolboard Partial Config
*** THINGS TO CHANGE/CHECK: ***
MCU paths [mcu] section
Thermistor types [extruder] sections
MAKE SURE to include this partial config file AFTER the main controller config.
This will ensure the relavent sections are overwritten by the pin mappings specified here.
#####################################################################
Endstops
#####################################################################
XES - Toolhead PCB
[stepper_x]
endstop_pin: nhk:gpio13
#####################################################################
Filament Sensor
#####################################################################
#[filament_switch_sensor filament_sensor]
#switch_pin: nhk:gpio3
#pause_on_runout: True
#####################################################################
Probe
#####################################################################
Probe Port
[probe]
pin: nhk:gpio10
#####################################################################
Lights
#####################################################################
##Stealthburner Headlights
[neopixel sb_leds]
pin: mcu_nhk:gpio7
chain_count: 3
color_order: GRBW
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 1.0
initial_WHITE: 0.0
PCB Activity Light
[output_pin act_led]
pin: !mcu_nhk:gpio8
#####################################################################
Accelerometer
#####################################################################
[adxl345]
cs_pin: mcu_nh0k:gpio27
spi_software_sclk_pin: mcu_nhk0:gpio18
spi_software_mosi_pin: mcu_nhk0:gpio20
spi_software_miso_pin: mcu_nhk0:gpio19
[resonance_tester]
accel_chip: adxl345
accel_per_hz: 100
sweeping_accel: 400
sweeping_period: 0
##--------------------------------------------------------------------
Uncomment below for 250mm build
#probe_points:
125, 125, 20
Uncomment below for 300mm build
probe_points:
155, 155, 20
Uncomment below for 350mm build
#probe_points:
175, 175, 20
#####################################################################
Addtional Sensors
#####################################################################
[temperature_sensor NH36]
sensor_type: temperature_mcu
sensor_mcu: mcu_nhk0
min_temp: 0
max_temp: 100