# 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_4E363334320E22C6-if00 restart_method: command ##-------------------------------------------------------------------- ##################################################################### # Endstops ##################################################################### ## XES - Toolhead PCB [stepper_x] endstop_pin: nhk:gpio13 ## YES - Toolhead PCB [stepper_y] endstop_pin: nhk:gpio12 ##################################################################### # Extruder ##################################################################### [extruder] step_pin: nhk:gpio23 dir_pin: nhk:gpio24 enable_pin: !nhk:gpio25 heater_pin: nhk:gpio9 sensor_pin: nhk:gpio29 pullup_resistor: 2200 [tmc2209 extruder] sense_resistor: 0.100 uart_pin: nhk:gpio0 tx_pin: nhk:gpio1 interpolate: false #run_current: #recommend setting it below 0.7A. ##################################################################### # 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 ##################################################################### # Lights ##################################################################### ##Stealthburner Headlights [neopixel sb_leds] pin: 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: !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 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 ##-------------------------------------------------------------------- ##################################################################### # 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