mirror of
https://github.com/mloy97/RedboneBackup.git
synced 2026-01-01 15:25:57 -05:00
nitehawk-36.cfg modified - 21/08/25 - 02:35:01
This commit is contained in:
parent
7eb6c90383
commit
31c6ed972f
1 changed files with 126 additions and 0 deletions
|
|
@ -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
|
||||||
Loading…
Reference in a new issue