From 31c6ed972f16b1bbd767fe255f7ac9533b07abd8 Mon Sep 17 00:00:00 2001 From: miguel Date: Thu, 21 Aug 2025 02:35:08 +0100 Subject: [PATCH] nitehawk-36.cfg modified - 21/08/25 - 02:35:01 --- printer_data/config/nitehawk-36.cfg | 126 ++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) diff --git a/printer_data/config/nitehawk-36.cfg b/printer_data/config/nitehawk-36.cfg index e69de29..42b9369 100644 --- a/printer_data/config/nitehawk-36.cfg +++ b/printer_data/config/nitehawk-36.cfg @@ -0,0 +1,126 @@ +# 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. + +[mcu nhk] +## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify +##-------------------------------------------------------------------- +serial: /dev/serial/by-id/usb-Klipper_rp2040_E012345678900000-if00 +restart_method: command +##-------------------------------------------------------------------- + +##################################################################### +# 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 + +##################################################################### +# 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 + + +## 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:gpio27 +spi_software_sclk_pin: nhk:gpio18 +spi_software_mosi_pin: nhk:gpio20 +spi_software_miso_pin: nhk:gpio19 + +[resonance_tester] +accel_chip: adxl345 +##-------------------------------------------------------------------- +## 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: nhk +min_temp: 0 +max_temp: 100 \ No newline at end of file