Created
July 3, 2024 14:39
-
-
Save jace/1f7bd28d45425d0a23787222e4e5f01d to your computer and use it in GitHub Desktop.
Klipper config for a delta printer on a Smoothieboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[include fluidd.cfg] | |
[include mainsail.cfg] | |
# This file contains common pin mappings for Smoothieboard. To use | |
# this config, the firmware should be compiled for the LPC176x. | |
# See docs/Config_Reference.md for a description of parameters. | |
# This is customized for a RenRen3D Flash (or Flash XL?) printer operated via a | |
# Smoothieboard clone, MKS SBase V1.3. For hardware PIN numbers, see the schematic at | |
# https://github.com/makerbase-mks/MKS-SBASE/blob/master/Hardware/MKS%20SBASE%20V1.3_002/MKS%20SBASE%20V1.3_002%20PIN.pdf | |
# Config reference documentation has been copied here for easier reference. | |
[mcu] | |
serial: /dev/serial/by-id/usb-Klipper_lpc1768_21070B0B9C255453A17AE14D040000F5-if00 | |
# The serial port to connect to the MCU. If unsure (or if it | |
# changes) see the "Where's my serial port?" section of the FAQ. | |
# This parameter must be provided when using a serial port. | |
#baud: 250000 | |
# The baud rate to use. The default is 250000. | |
#canbus_uuid: | |
# If using a device connected to a CAN bus then this sets the unique | |
# chip identifier to connect to. This value must be provided when using | |
# CAN bus for communication. | |
#canbus_interface: | |
# If using a device connected to a CAN bus then this sets the CAN | |
# network interface to use. The default is 'can0'. | |
#restart_method: | |
# This controls the mechanism the host will use to reset the | |
# micro-controller. The choices are 'arduino', 'cheetah', 'rpi_usb', | |
# and 'command'. The 'arduino' method (toggle DTR) is common on | |
# Arduino boards and clones. The 'cheetah' method is a special | |
# method needed for some Fysetc Cheetah boards. The 'rpi_usb' method | |
# is useful on Raspberry Pi boards with micro-controllers powered | |
# over USB - it briefly disables power to all USB ports to | |
# accomplish a micro-controller reset. The 'command' method involves | |
# sending a Klipper command to the micro-controller so that it can | |
# reset itself. The default is 'arduino' if the micro-controller | |
# communicates over a serial port, 'command' otherwise. | |
[printer] | |
kinematics: delta | |
# The type of printer in use. This option may be one of: cartesian, | |
# corexy, corexz, hybrid_corexy, hybrid_corexz, rotary_delta, delta, | |
# deltesian, polar, winch, or none. This parameter must be specified. | |
max_velocity: 300 | |
# Maximum velocity (in mm/s) of the toolhead (relative to the | |
# print). This value may be changed at runtime using the | |
# SET_VELOCITY_LIMIT command. This parameter must be specified. | |
max_accel: 3000 | |
# Maximum acceleration (in mm/s^2) of the toolhead (relative to the | |
# print). Although this parameter is described as a "maximum" | |
# acceleration, in practice most moves that accelerate or decelerate | |
# will do so at the rate specified here. The value specified here | |
# may be changed at runtime using the SET_VELOCITY_LIMIT command. | |
# This parameter must be specified. | |
#minimum_cruise_ratio: 0.5 | |
# Most moves will accelerate to a cruising speed, travel at that | |
# cruising speed, and then decelerate. However, some moves that | |
# travel a short distance could nominally accelerate and then | |
# immediately decelerate. This option reduces the top speed of these | |
# moves to ensure there is always a minimum distance traveled at a | |
# cruising speed. That is, it enforces a minimum distance traveled | |
# at cruising speed relative to the total distance traveled. It is | |
# intended to reduce the top speed of short zigzag moves (and thus | |
# reduce printer vibration from these moves). For example, a | |
# minimum_cruise_ratio of 0.5 would ensure that a standalone 1.5mm | |
# move would have a minimum cruising distance of 0.75mm. Specify a | |
# ratio of 0.0 to disable this feature (there would be no minimum | |
# cruising distance enforced between acceleration and deceleration). | |
# The value specified here may be changed at runtime using the | |
# SET_VELOCITY_LIMIT command. The default is 0.5. | |
#square_corner_velocity: 5.0 | |
# The maximum velocity (in mm/s) that the toolhead may travel a 90 | |
# degree corner at. A non-zero value can reduce changes in extruder | |
# flow rates by enabling instantaneous velocity changes of the | |
# toolhead during cornering. This value configures the internal | |
# centripetal velocity cornering algorithm; corners with angles | |
# larger than 90 degrees will have a higher cornering velocity while | |
# corners with angles less than 90 degrees will have a lower | |
# cornering velocity. If this is set to zero then the toolhead will | |
# decelerate to zero at each corner. The value specified here may be | |
# changed at runtime using the SET_VELOCITY_LIMIT command. The | |
# default is 5mm/s. | |
max_z_velocity: 150 | |
# For delta printers this limits the maximum velocity (in mm/s) of | |
# moves with z axis movement. This setting can be used to reduce the | |
# maximum speed of up/down moves (which require a higher step rate | |
# than other moves on a delta printer). The default is to use | |
# max_velocity for max_z_velocity. | |
#max_z_accel: | |
# This sets the maximum acceleration (in mm/s^2) of movement along | |
# the z axis. Setting this may be useful if the printer can reach higher | |
# acceleration on XY moves than Z moves (eg, when using input shaper). | |
# The default is to use max_accel for max_z_accel. | |
#minimum_z_position: 0 | |
# The minimum Z position that the user may command the head to move | |
# to. The default is 0. | |
# Config from: https://github.com/orobardet/renren3d-printer/blob/master/myconfig.h | |
# Not valid in Klipper config: | |
# smooth_rod_offset: 173.4 | |
# Horizontal offset from middle of printer to smooth rod center | |
# effector_offset: 22.86 | |
# Horizontal offset of the universal joints on the end effector | |
delta_radius: 110 | |
# Radius (in mm) of the horizontal circle formed by the three linear | |
# axis towers. This parameter may also be calculated as: | |
# delta_radius = smooth_rod_offset - effector_offset - carriage_offset | |
# This parameter must be provided. | |
print_radius: 100 | |
# The radius (in mm) of valid toolhead XY coordinates. One may use | |
# this setting to customize the range checking of toolhead moves. If | |
# a large value is specified here then it may be possible to command | |
# the toolhead into a collision with a tower. The default is to use | |
# delta_radius for print_radius (which would normally prevent a | |
# tower collision). | |
# Delta printers have steppers named A, B & C corresponding to steppers | |
# X, Y & Z on the board, but not directly referencing cartesian coordinates. | |
# The stepper_a section describes the stepper controlling the front | |
# left tower (at 210 degrees). This section also controls the homing | |
# parameters (homing_speed, homing_retract_dist) for all towers. | |
[stepper_a] | |
step_pin: P2.0 # 2A, pos 3 | |
# Step GPIO pin (triggered high). This parameter must be provided. | |
dir_pin: !P0.5 # 1A, pos 2 | |
# Direction GPIO pin (high indicates positive direction). This | |
# parameter must be provided. | |
enable_pin: !P0.4 # 2B, pos 4 | |
# Enable pin (default is enable high; use ! to indicate enable | |
# low). If this parameter is not provided then the stepper motor | |
# driver must always be enabled. | |
rotation_distance: 40 | |
# Distance (in mm) that the axis travels with one full rotation of | |
# the stepper motor (or final gear if gear_ratio is specified). | |
# This parameter must be provided. | |
microsteps: 16 | |
# The number of microsteps the stepper motor driver uses. This | |
# parameter must be provided. | |
#full_steps_per_rotation: 200 | |
# The number of full steps for one rotation of the stepper motor. | |
# Set this to 200 for a 1.8 degree stepper motor or set to 400 for a | |
# 0.9 degree motor. The default is 200. | |
#gear_ratio: | |
# The gear ratio if the stepper motor is connected to the axis via a | |
# gearbox. For example, one may specify "5:1" if a 5 to 1 gearbox is | |
# in use. If the axis has multiple gearboxes one may specify a comma | |
# separated list of gear ratios (for example, "57:11, 2:1"). If a | |
# gear_ratio is specified then rotation_distance specifies the | |
# distance the axis travels for one full rotation of the final gear. | |
# The default is to not use a gear ratio. | |
#step_pulse_duration: | |
# The minimum time between the step pulse signal edge and the | |
# following "unstep" signal edge. This is also used to set the | |
# minimum time between a step pulse and a direction change signal. | |
# The default is 0.000000100 (100ns) for TMC steppers that are | |
# configured in UART or SPI mode, and the default is 0.000002 (which | |
# is 2us) for all other steppers. | |
#endstop_pin: ^P1.24 # X- | |
endstop_pin: ^P1.25 # X+ | |
# Endstop switch detection pin. If this endstop pin is on a | |
# different mcu than the stepper motor then it enables "multi-mcu | |
# homing". This parameter must be provided for the X, Y, and Z | |
# steppers on cartesian style printers. | |
#position_min: 0 | |
# Minimum valid distance (in mm) the user may command the stepper to | |
# move to. The default is 0mm. | |
position_endstop: 273.5 | |
# Distance (in mm) between the nozzle and the bed when the nozzle is | |
# in the center of the build area and the endstop triggers. This | |
# parameter must be provided for stepper_a; for stepper_b and | |
# stepper_c this parameter defaults to the value specified for | |
# stepper_a. | |
#position_max: 200 | |
# Maximum valid distance (in mm) the user may command the stepper to | |
# move to. This parameter must be provided for the X, Y, and Z | |
# steppers on cartesian style printers. | |
homing_speed: 40 | |
# Maximum velocity (in mm/s) of the stepper when homing. The default | |
# is 5mm/s. | |
#homing_retract_dist: 5.0 | |
# Distance to backoff (in mm) before homing a second time during | |
# homing. Set this to zero to disable the second home. The default | |
# is 5mm. | |
#homing_retract_speed: | |
# Speed to use on the retract move after homing in case this should | |
# be different from the homing speed, which is the default for this | |
# parameter | |
#second_homing_speed: | |
# Velocity (in mm/s) of the stepper when performing the second home. | |
# The default is homing_speed/2. | |
#homing_positive_dir: | |
# If true, homing will cause the stepper to move in a positive | |
# direction (away from zero); if false, home towards zero. It is | |
# better to use the default than to specify this parameter. The | |
# default is true if position_endstop is near position_max and false | |
# if near position_min. | |
arm_length: 245 # was 235 | |
# Length (in mm) of the diagonal rod that connects this tower to the | |
# print head. This parameter must be provided for stepper_a; for | |
# stepper_b and stepper_c this parameter defaults to the value | |
# specified for stepper_a. | |
#angle: | |
# This option specifies the angle (in degrees) that the tower is | |
# at. The default is 210 for stepper_a, 330 for stepper_b, and 90 | |
# for stepper_c. | |
# The stepper_b section describes the stepper controlling the front | |
# right tower (at 330 degrees). | |
[stepper_b] | |
step_pin: P2.1 # 2A, pos 3 | |
dir_pin: !P0.11 # 1A, pos 2 | |
enable_pin: !P0.10 # 2B, pos 4 | |
rotation_distance: 40 | |
microsteps: 16 | |
#endstop_pin: ^P1.26 # Y- | |
endstop_pin: ^P1.27 # Y+ | |
homing_speed: 40 | |
# The stepper_c section describes the stepper controlling the rear | |
# tower (at 90 degrees). | |
[stepper_c] | |
step_pin: P2.2 # 2A, pos 3 | |
dir_pin: !P0.20 # 1A, pos 2 | |
enable_pin: !P0.19 # 2B, pos 4 | |
rotation_distance: 8 | |
microsteps: 16 | |
#endstop_pin: ^P1.28 # Z- | |
endstop_pin: ^P1.29 # Z+ | |
homing_speed: 40 | |
[delta_calibrate] | |
radius: 50 | |
# Radius (in mm) of the area that may be probed. This is the radius | |
# of nozzle coordinates to be probed; if using an automatic probe | |
# with an XY offset then choose a radius small enough so that the | |
# probe always fits over the bed. This parameter must be provided. | |
#speed: 50 | |
# The speed (in mm/s) of non-probing moves during the calibration. | |
# The default is 50. | |
#horizontal_move_z: 5 | |
# The height (in mm) that the head should be commanded to move to | |
# just prior to starting a probe operation. The default is 5. | |
[extruder] | |
step_pin: P2.3 | |
dir_pin: P0.22 | |
enable_pin: !P0.21 | |
microsteps: 16 | |
rotation_distance: 34.5575 # M11*pi = 34.5575mm; default: 33.500 | |
#full_steps_per_rotation: | |
#gear_ratio: | |
# See the "stepper" section for a description of the above | |
# parameters. If none of the above parameters are specified then no | |
# stepper will be associated with the nozzle hotend (though a | |
# SYNC_EXTRUDER_MOTION command may associate one at run-time). | |
nozzle_diameter: 0.400 | |
# Diameter of the nozzle orifice (in mm). This parameter must be | |
# provided. | |
filament_diameter: 1.750 | |
# The nominal diameter of the raw filament (in mm) as it enters the | |
# extruder. This parameter must be provided. | |
#max_extrude_cross_section: | |
# Maximum area (in mm^2) of an extrusion cross section (eg, | |
# extrusion width multiplied by layer height). This setting prevents | |
# excessive amounts of extrusion during relatively small XY moves. | |
# If a move requests an extrusion rate that would exceed this value | |
# it will cause an error to be returned. The default is: 4.0 * | |
# nozzle_diameter^2 | |
#instantaneous_corner_velocity: 1.000 | |
# The maximum instantaneous velocity change (in mm/s) of the | |
# extruder during the junction of two moves. The default is 1mm/s. | |
#max_extrude_only_distance: 50.0 | |
# Maximum length (in mm of raw filament) that a retraction or | |
# extrude-only move may have. If a retraction or extrude-only move | |
# requests a distance greater than this value it will cause an error | |
# to be returned. The default is 50mm. | |
#max_extrude_only_velocity: | |
#max_extrude_only_accel: | |
# Maximum velocity (in mm/s) and acceleration (in mm/s^2) of the | |
# extruder motor for retractions and extrude-only moves. These | |
# settings do not have any impact on normal printing moves. If not | |
# specified then they are calculated to match the limit an XY | |
# printing move with a cross section of 4.0*nozzle_diameter^2 would | |
# have. | |
#pressure_advance: 0.0 | |
# The amount of raw filament to push into the extruder during | |
# extruder acceleration. An equal amount of filament is retracted | |
# during deceleration. It is measured in millimeters per | |
# millimeter/second. The default is 0, which disables pressure | |
# advance. | |
#pressure_advance_smooth_time: 0.040 | |
# A time range (in seconds) to use when calculating the average | |
# extruder velocity for pressure advance. A larger value results in | |
# smoother extruder movements. This parameter may not exceed 200ms. | |
# This setting only applies if pressure_advance is non-zero. The | |
# default is 0.040 (40 milliseconds). | |
# | |
# The remaining variables describe the extruder heater. | |
heater_pin: P2.7 | |
# PWM output pin controlling the heater. This parameter must be | |
# provided. | |
#max_power: 1.0 | |
# The maximum power (expressed as a value from 0.0 to 1.0) that the | |
# heater_pin may be set to. The value 1.0 allows the pin to be set | |
# fully enabled for extended periods, while a value of 0.5 would | |
# allow the pin to be enabled for no more than half the time. This | |
# setting may be used to limit the total power output (over extended | |
# periods) to the heater. The default is 1.0. | |
sensor_type: EPCOS 100K B57560G104F | |
# Type of sensor - common thermistors are "EPCOS 100K B57560G104F", | |
# "ATC Semitec 104GT-2", "ATC Semitec 104NT-4-R025H42G", "Generic | |
# 3950","Honeywell 100K 135-104LAG-J01", "NTC 100K MGB18-104F39050L32", | |
# "SliceEngineering 450", and "TDK NTCG104LH104JT1". See the | |
# "Temperature sensors" section for other sensors. This parameter | |
# must be provided. | |
sensor_pin: P0.24 | |
# Analog input pin connected to the sensor. This parameter must be | |
# provided. | |
#pullup_resistor: 4700 | |
# The resistance (in ohms) of the pullup attached to the thermistor. | |
# This parameter is only valid when the sensor is a thermistor. The | |
# default is 4700 ohms. | |
#smooth_time: 1.0 | |
# A time value (in seconds) over which temperature measurements will | |
# be smoothed to reduce the impact of measurement noise. The default | |
# is 1 seconds. | |
control: pid | |
# Control algorithm (either pid or watermark). This parameter must | |
# be provided. | |
pid_Kp: 22.2 | |
pid_Ki: 1.08 | |
pid_Kd: 114 | |
# The proportional (pid_Kp), integral (pid_Ki), and derivative | |
# (pid_Kd) settings for the PID feedback control system. Klipper | |
# evaluates the PID settings with the following general formula: | |
# heater_pwm = (Kp*error + Ki*integral(error) - Kd*derivative(error)) / 255 | |
# Where "error" is "requested_temperature - measured_temperature" | |
# and "heater_pwm" is the requested heating rate with 0.0 being full | |
# off and 1.0 being full on. Consider using the PID_CALIBRATE | |
# command to obtain these parameters. The pid_Kp, pid_Ki, and pid_Kd | |
# parameters must be provided for PID heaters. | |
#max_delta: 2.0 | |
# On 'watermark' controlled heaters this is the number of degrees in | |
# Celsius above the target temperature before disabling the heater | |
# as well as the number of degrees below the target before | |
# re-enabling the heater. The default is 2 degrees Celsius. | |
#pwm_cycle_time: 0.100 | |
# Time in seconds for each software PWM cycle of the heater. It is | |
# not recommended to set this unless there is an electrical | |
# requirement to switch the heater faster than 10 times a second. | |
# The default is 0.100 seconds. | |
#min_extrude_temp: 170 | |
# The minimum temperature (in Celsius) at which extruder move | |
# commands may be issued. The default is 170 Celsius. | |
min_temp: 0 | |
max_temp: 250 | |
# The maximum range of valid temperatures (in Celsius) that the | |
# heater must remain within. This controls a safety feature | |
# implemented in the micro-controller code - should the measured | |
# temperature ever fall outside this range then the micro-controller | |
# will go into a shutdown state. This check can help detect some | |
# heater and sensor hardware failures. Set this range just wide | |
# enough so that reasonable temperatures do not result in an error. | |
# These parameters must be provided. | |
#[extruder1] | |
#step_pin: P2.8 | |
#dir_pin: P2.13 | |
#enable_pin: !P4.29 | |
#heater_pin: P2.6 | |
#sensor_pin: P0.25 | |
#... | |
[heater_bed] | |
heater_pin: P2.5 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: P0.23 | |
control: watermark | |
min_temp: 0 | |
max_temp: 130 | |
# See the "extruder" section for a description of the above parameters. | |
# Bed level support is not configured. Reference: | |
# https://www.klipper3d.org/Config_Reference.html#bed-level-support | |
# Customized homing is not configured | |
# https://www.klipper3d.org/Config_Reference.html#customized-homing | |
# Multiple fans can be configured. Reference: | |
# https://www.klipper3d.org/Config_Reference.html#fans | |
[fan] | |
# Print cooling fan | |
pin: P2.4 | |
# Output pin controlling the fan. This parameter must be provided. | |
#max_power: 1.0 | |
# The maximum power (expressed as a value from 0.0 to 1.0) that the | |
# pin may be set to. The value 1.0 allows the pin to be set fully | |
# enabled for extended periods, while a value of 0.5 would allow the | |
# pin to be enabled for no more than half the time. This setting may | |
# be used to limit the total power output (over extended periods) to | |
# the fan. If this value is less than 1.0 then fan speed requests | |
# will be scaled between zero and max_power (for example, if | |
# max_power is .9 and a fan speed of 80% is requested then the fan | |
# power will be set to 72%). The default is 1.0. | |
#shutdown_speed: 0 | |
# The desired fan speed (expressed as a value from 0.0 to 1.0) if | |
# the micro-controller software enters an error state. The default | |
# is 0. | |
#cycle_time: 0.010 | |
# The amount of time (in seconds) for each PWM power cycle to the | |
# fan. It is recommended this be 10 milliseconds or greater when | |
# using software based PWM. The default is 0.010 seconds. | |
#hardware_pwm: False | |
# Enable this to use hardware PWM instead of software PWM. Most fans | |
# do not work well with hardware PWM, so it is not recommended to | |
# enable this unless there is an electrical requirement to switch at | |
# very high speeds. When using hardware PWM the actual cycle time is | |
# constrained by the implementation and may be significantly | |
# different than the requested cycle_time. The default is False. | |
#kick_start_time: 0.100 | |
# Time (in seconds) to run the fan at full speed when either first | |
# enabling or increasing it by more than 50% (helps get the fan | |
# spinning). The default is 0.100 seconds. | |
#off_below: 0.0 | |
# The minimum input speed which will power the fan (expressed as a | |
# value from 0.0 to 1.0). When a speed lower than off_below is | |
# requested the fan will instead be turned off. This setting may be | |
# used to prevent fan stalls and to ensure kick starts are | |
# effective. The default is 0.0. | |
# | |
# This setting should be recalibrated whenever max_power is adjusted. | |
# To calibrate this setting, start with off_below set to 0.0 and the | |
# fan spinning. Gradually lower the fan speed to determine the lowest | |
# input speed which reliably drives the fan without stalls. Set | |
# off_below to the duty cycle corresponding to this value (for | |
# example, 12% -> 0.12) or slightly higher. | |
#tachometer_pin: | |
# Tachometer input pin for monitoring fan speed. A pullup is generally | |
# required. This parameter is optional. | |
#tachometer_ppr: 2 | |
# When tachometer_pin is specified, this is the number of pulses per | |
# revolution of the tachometer signal. For a BLDC fan this is | |
# normally half the number of poles. The default is 2. | |
#tachometer_poll_interval: 0.0015 | |
# When tachometer_pin is specified, this is the polling period of the | |
# tachometer pin, in seconds. The default is 0.0015, which is fast | |
# enough for fans below 10000 RPM at 2 PPR. This must be smaller than | |
# 30/(tachometer_ppr*rpm), with some margin, where rpm is the | |
# maximum speed (in RPM) of the fan. | |
#enable_pin: | |
# Optional pin to enable power to the fan. This can be useful for fans | |
# with dedicated PWM inputs. Some of these fans stay on even at 0% PWM | |
# input. In such a case, the PWM pin can be used normally, and e.g. a | |
# ground-switched FET(standard fan pin) can be used to control power to | |
# the fan. | |
[heater_fan heatbreak_cooling_fan] | |
pin: P2.6 # Extruder heater 2 pin (E2) | |
#max_power: | |
#shutdown_speed: | |
#cycle_time: | |
#hardware_pwm: | |
#kick_start_time: | |
#off_below: | |
#tachometer_pin: | |
#tachometer_ppr: | |
#tachometer_poll_interval: | |
#enable_pin: | |
# See the "fan" section for a description of the above parameters. | |
#heater: extruder | |
# Name of the config section defining the heater that this fan is | |
# associated with. If a comma separated list of heater names is | |
# provided here, then the fan will be enabled when any of the given | |
# heaters are enabled. The default is "extruder". | |
#heater_temp: 50.0 | |
# A temperature (in Celsius) that the heater must drop below before | |
# the fan is disabled. The default is 50 Celsius. | |
#fan_speed: 1.0 | |
# The fan speed (expressed as a value from 0.0 to 1.0) that the fan | |
# will be set to when its associated heater is enabled. The default | |
# is 1.0 | |
[static_digital_output leds] | |
pins: P1.18, P1.19, P1.20, P1.21, P4.28 | |
# Unclear what this is: | |
[mcp4451 stepper_digipot1] | |
i2c_address: 44 | |
# The i2c address that the chip is using on the i2c bus (decimal not hex). | |
# This parameter must be provided. | |
# Scale the config so that wiper values can be specified in amps. | |
scale: 2.25 | |
# This parameter can be used to alter how the 'wiper_x' parameters | |
# are interpreted. If provided, then the 'wiper_x' parameters should | |
# be between 0.0 and 'scale'. This may be useful when the MCP4451 is | |
# used to set stepper voltage references. The 'scale' can be set to | |
# the equivalent stepper amperage if the MCP4451 were at its highest | |
# resistance, and then the 'wiper_x' parameters can be specified | |
# using the desired amperage value for the stepper. The default is | |
# to not scale the 'wiper_x' parameters. | |
# wiper 0 is X or A (aka alpha), 1 is Y or B, 2 is Z or C, 3 is E0 | |
wiper_0: 1.0 | |
wiper_1: 1.0 | |
wiper_2: 1.0 | |
wiper_3: 1.0 | |
[mcp4451 stepper_digipot2] | |
i2c_address: 45 | |
scale: 2.25 | |
# wiper 0 is E1 | |
wiper_0: 1.0 | |
# "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays | |
[display] | |
lcd_type: st7920 | |
# The type of LCD chip in use. This may be "hd44780", "hd44780_spi", | |
# "st7920", "emulated_st7920", "uc1701", "ssd1306", or "sh1106". | |
# See the display sections below for information on each type and | |
# additional parameters they provide. This parameter must be | |
# provided. | |
#display_group: | |
# The name of the display_data group to show on the display. This | |
# controls the content of the screen (see the "display_data" section | |
# for more information). The default is _default_20x4 for hd44780 | |
# displays and _default_16x4 for other displays. | |
#menu_timeout: | |
# Timeout for menu. Being inactive this amount of seconds will | |
# trigger menu exit or return to root menu when having autorun | |
# enabled. The default is 0 seconds (disabled) | |
#menu_root: | |
# Name of the main menu section to show when clicking the encoder | |
# on the home screen. The defaults is __main, and this shows the | |
# the default menus as defined in klippy/extras/display/menu.cfg | |
#menu_reverse_navigation: | |
# When enabled it will reverse up and down directions for list | |
# navigation. The default is False. This parameter is optional. | |
encoder_pins: ^!P3.25, ^!P3.26 # EXP2 pins 3, 5 | |
# The pins connected to encoder. 2 pins must be provided when using | |
# encoder. This parameter must be provided when using menu. | |
#encoder_steps_per_detent: | |
# How many steps the encoder emits per detent ("click"). If the | |
# encoder takes two detents to move between entries or moves two | |
# entries from one detent, try changing this. Allowed values are 2 | |
# (half-stepping) or 4 (full-stepping). The default is 4. | |
click_pin: ^!P1.30 # EXP1 pin 2 | |
# The pin connected to 'enter' button or encoder 'click'. This | |
# parameter must be provided when using menu. The presence of an | |
# 'analog_range_click_pin' config parameter turns this parameter | |
# from digital to analog. | |
#back_pin: | |
# The pin connected to 'back' button. This parameter is optional, | |
# menu can be used without it. The presence of an | |
# 'analog_range_back_pin' config parameter turns this parameter from | |
# digital to analog. | |
#up_pin: | |
# The pin connected to 'up' button. This parameter must be provided | |
# when using menu without encoder. The presence of an | |
# 'analog_range_up_pin' config parameter turns this parameter from | |
# digital to analog. | |
#down_pin: | |
# The pin connected to 'down' button. This parameter must be | |
# provided when using menu without encoder. The presence of an | |
# 'analog_range_down_pin' config parameter turns this parameter from | |
# digital to analog. | |
#kill_pin: | |
# The pin connected to 'kill' button. This button will call | |
# emergency stop. The presence of an 'analog_range_kill_pin' config | |
# parameter turns this parameter from digital to analog. | |
#analog_pullup_resistor: 4700 | |
# The resistance (in ohms) of the pullup attached to the analog | |
# button. The default is 4700 ohms. | |
#analog_range_click_pin: | |
# The resistance range for a 'enter' button. Range minimum and | |
# maximum comma-separated values must be provided when using analog | |
# button. | |
#analog_range_back_pin: | |
# The resistance range for a 'back' button. Range minimum and | |
# maximum comma-separated values must be provided when using analog | |
# button. | |
#analog_range_up_pin: | |
# The resistance range for a 'up' button. Range minimum and maximum | |
# comma-separated values must be provided when using analog button. | |
#analog_range_down_pin: | |
# The resistance range for a 'down' button. Range minimum and | |
# maximum comma-separated values must be provided when using analog | |
# button. | |
#analog_range_kill_pin: | |
# The resistance range for a 'kill' button. Range minimum and | |
# maximum comma-separated values must be provided when using analog | |
# button. | |
cs_pin: P0.16 # EXP1 pin 4 | |
sclk_pin: P0.15 # EXP1 | |
sid_pin: P0.18 # EXP1 | |
# For emulated ST7920 displays: | |
#lcd_type: emulated_st7920 | |
# Set to "emulated_st7920" for emulated_st7920 displays. | |
#en_pin: P0.16 # EXP1 pin 4 | |
#spi_software_sclk_pin: P0.15 # EXP1 | |
#spi_software_mosi_pin: P0.18 # EXP1 | |
#spi_software_miso_pin: | |
# The pins connected to an emulated_st7920 type lcd. The en_pin | |
# corresponds to the cs_pin of the st7920 type lcd, | |
# spi_software_sclk_pin corresponds to sclk_pin and | |
# spi_software_mosi_pin corresponds to sid_pin. The | |
# spi_software_miso_pin needs to be set to an unused pin of the | |
# printer mainboard as the st7920 has no MISO pin but the software | |
# spi implementation requires this pin to be configured. | |
[include moonraker_obico_macros.cfg] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment