# This file contains pin mappings for the LDO Nitehawk-SB 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/voron/nitehawk-sb#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. [mcu nhk] ## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify ##-------------------------------------------------------------------- serial: /dev/serial/by-id/usb-Klipper_rp2040_313436333211C87C-if00 restart_method: command ##-------------------------------------------------------------------- ##################################################################### # Extruder ##################################################################### [extruder] step_pin: nhk:gpio23 dir_pin: !nhk:gpio24 enable_pin: !nhk:gpio25 heater_pin: nhk:gpio9 sensor_pin: nhk:gpio29 sensor_type: PT1000 pullup_resistor: 2200 min_temp: 0 max_temp: 400 microsteps: 16 control: pid pid_kp: 15.708 pid_ki: 0.585 pid_kd: 105.438 rotation_distance: 22.6789511 #Bondtech 5mm Drive Gears gear_ratio: 50:10 filament_diameter: 1.75 nozzle_diameter: 0.4 [tmc2209 extruder] sense_resistor: 0.100 uart_pin: nhk:gpio0 tx_pin: nhk:gpio1 interpolate: false run_current: 0.8 ##################################################################### # Fans ##################################################################### ## PCF [fan] pin: nhk:gpio6 #tachometer_pin: nhk:gpio17 #tachometer_ppr: 2 ## HEF [heater_fan hotend_fan] pin: nhk:gpio5 #tachometer_pin: nhk:gpio16 #tachometer_ppr: 2 ##################################################################### # Probe ##################################################################### ## Probe Port [probe] pin: nhk:gpio10 z_offset: -0.9 ##################################################################### # Lights ##################################################################### ## Stealthburner Headlights [neopixel headlight] pin: nhk:gpio7 ## PCB Activity Light [output_pin act_led] pin: !nhk:gpio8 ##################################################################### # Accelerometer ##################################################################### [adxl345] cs_pin: nhk:gpio21 spi_software_sclk_pin: nhk:gpio18 spi_software_mosi_pin: nhk:gpio20 spi_software_miso_pin: nhk:gpio19 [resonance_tester] accel_chip: adxl345 probe_points: 175, 175, 20 ##-------------------------------------------------------------------- ##################################################################### # Thermistors # ##################################################################### ## External Chamber Thermistor Port #[temperature_sensor chamber_temp] #sensor_type: Generic 3950 #sensor_pin: nhk:gpio28 #min_temp: 0 #max_temp: 100 #gcode_id: chamber_th [thermistor CMFB103F3950FANT] temperature1: 0.0 resistance1: 32116.0 temperature2: 40.0 resistance2: 5309.0 temperature3: 80.0 resistance3: 1228.0 [temperature_sensor nh_temp] ## Nitehawk PCB Sensor sensor_type: CMFB103F3950FANT sensor_pin: nhk:gpio26 pullup_resistor: 2200 min_temp: 0 max_temp: 100 gcode_id: nh_th