Skip to content

Instantly share code, notes, and snippets.

@wolfmanjm
Created June 13, 2017 19:00
Show Gist options
  • Save wolfmanjm/9ffe25f23ae7330976003d27409798db to your computer and use it in GitHub Desktop.
Save wolfmanjm/9ffe25f23ae7330976003d27409798db to your computer and use it in GitHub Desktop.
[general]
second_usb_serial_enable = false # This enables a second USB serial port
kill_button_enable = true # Set to true to enable a kill button
kill_button_pin = 2.12 # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
uart0.baud_rate = 115200 # Baud rate for the default hardware ( UART ) serial port
leds_disable = true # Disable using leds after config loaded
play_led_disable = true # Disable the play led
[motion control]
default_feed_rate = 4000 # Default speed (mm/minute) for G1/G2/G3 moves
default_seek_rate = 4000 # Default speed (mm/minute) for G0 moves
mm_per_arc_segment = 0.0 # Fixed length for line segments that divide arcs, 0 to disable
mm_max_arc_error = 0.01 # The maximum error for line segments that divide arcs 0 to disable
default_acceleration = 3000 # Acceleration in mm/second/second.
junction_deviation = 0.05 # See http://smoothieware.org/motion-control#junction-deviation
[actuator]
alpha.steps_per_mm = 80 # Steps per mm for alpha ( X ) stepper
alpha.step_pin = 2.0 # Pin for alpha stepper step signal
alpha.dir_pin = 0.5 # Pin for alpha stepper direction, add '!' to reverse direction
alpha.en_pin = 0.4 # Pin for alpha enable pin
alpha.max_rate = 30000.0 # Maximum rate in mm/min
alpha.axis_max_speed = 30000 # Maximum speed in mm/min
beta.steps_per_mm = 80 # Steps per mm for beta ( Y ) stepper
beta.step_pin = 2.1 # Pin for beta stepper step signal
beta.dir_pin = 0.11 # Pin for beta stepper direction, add '!' to reverse direction
beta.en_pin = 0.10 # Pin for beta enable
beta.max_rate = 30000.0 # Maxmimum rate in mm/min
beta.axis_max_speed = 30000 # Maximum speed in mm/min
gamma.steps_per_mm = 1600 # Steps per mm for gamma ( Z ) stepper
gamma.step_pin = 2.2 # Pin for gamma stepper step signal
gamma.dir_pin = 0.20 # Pin for gamma stepper direction, add '!' to reverse direction
gamma.en_pin = 0.19 # Pin for gamma enable
gamma.max_rate = 300.0 # Maximum rate in mm/min
gamma.axis_max_speed = 300 # Maximum speed in mm/min
gamma.acceleration = 500 # overrides the default acceleration for this axis
[current control]
enable = true # Control stepper motor current via the configuration file
alpha = 1.5 # X stepper motor currehomingnt
beta = 1.5 # Y stepper motor current
gamma = 1.5 # Z stepper motor current
delta = 1.5 # First extruder stepper motor current
[laser]
enable = false # Whether to activate the laser module at all
pwm_pin = 2.5 # This pin will be PWMed to control the laser.
[endstop]
# NOTE only a min or a max homing endstop maybe defined
minx.enable = true # enable an endstop
minx.pin = 1.24 # pin
minx.homing_direction = home_to_min # direction it moves to the endstop
minx.homing_position = 0 # the cartesian coordinate this is set to when it homes
minx.axis = X # the axis designator
minx.max_travel = 500 # the maximum travel in mm before it times out
minx.fast_rate = 50 # fast homing rate in mm/sec
minx.slow_rate = 25 # slow homing rate in mm/sec
minx.retract = 5 # bounce off endstop in mm
# uncomment for homing to max and comment the minx above
#maxx.enable = true # enable an endstop
#maxx.pin = 1.25 # pin
#maxx.homing_direction = home_to_max # direction it moves to the endstop
#maxx.homing_position = 200 # the cartesian coordinate this is set to when it homes
#maxx.axis = X # the axis designator
#maxx.max_travel = 500 # the maximum travel in mm before it times out
#maxx.fast_rate = 50 # fast homing rate in mm/sec
#maxx.slow_rate = 25 # slow homing rate in mm/sec
#maxx.retract = 5 # bounce off endstop in mm
miny.enable = true # enable an endstop
miny.pin = 1.26 # pin
miny.homing_direction = home_to_min # direction it moves to the endstop
miny.homing_position = 0 # the cartesian coordinate this is set to when it homes
miny.axis = Y # the axis designator
miny.max_travel = 500 # the maximum travel in mm before it times out
miny.fast_rate = 50 # fast homing rate in mm/sec
miny.slow_rate = 25 # slow homing rate in mm/sec
miny.retract = 5 # bounce off endstop in mm
# uncomment for homing to max and comment the min above
#maxy.enable = true # enable an endstop
#maxy.pin = 1.27 # pin
#maxy.homing_direction = home_to_max # direction it moves to the endstop
#maxy.homing_position = 200 # the cartesian coordinate this is set to when it homes
#maxy.axis = Y # the axis designator
#maxy.max_travel = 500 # the maximum travel in mm before it times out
#maxy.fast_rate = 50 # fast homing rate in mm/sec
#maxy.slow_rate = 25 # slow homing rate in mm/sec
#maxy.retract = 5 # bounce off endstop in mm
minz.enable = true # enable an endstop
minz.pin = 1.28 # pin
minz.homing_direction = home_to_min # direction it moves to the endstop
minz.homing_position = 0 # the cartesian coordinate this is set to when it homes
minz.axis = Z # the axis designator
minz.max_travel = 100 # the maximum travel in mm before it times out
minz.fast_rate = 10 # fast homing rate in mm/sec
minz.slow_rate = 2 # slow homing rate in mm/sec
minz.retract = 5 # bounce off endstop in mm
# uncomment for homing to max and comment the min above
#maxz.enable = true # enable an endstop
#maxz.pin = 1.29 # pin
#maxz.homing_direction = home_to_max # direction it moves to the endstop
#maxz.homing_position = 200 # the cartesian coordinate this is set to when it homes
#maxz.axis = Z # the axis designator
#maxz.max_travel = 100 # the maximum travel in mm before it times out
#maxz.fast_rate = 10 # fast homing rate in mm/sec
#maxz.slow_rate = 2 # slow homing rate in mm/sec
#maxz.retract = 5 # bounce off endstop in mm
# optional enable limit switches, actions will stop if any enabled limit switch is triggered
#minx.limit_enable = false # set to true to enable the limit on this endstop
#miny.limit_enable = false # set to true to enable the limit on this endstop
#minz.limit_enable = false # set to true to enable the limit on this endstop
# also define the pin needed and the Axis designator if limit on a max pin not defined above
#maxx.enable = true # enable an endstop
#maxx.pin = 1.25 # pin
#maxx.limit_enable = true # set to true to enable the limit on this endstop
#maxx.axis = X # the axis designator
# OPTIONAL uncomment for homing the A axis to min
#mina.enable = true # enable an endstop
#mina.pin = 1.29 # pin
#mina.homing_direction = home_to_min # direction it moves to the endstop
#mina.homing_position = 200 # the cartesian coordinate this is set to when it homes
#mina.axis = A # the axis designator
#mina.max_travel = 100 # the maximum travel in mm before it times out
#mina.fast_rate = 10 # fast homing rate in mm/sec
#mina.slow_rate = 2 # slow homing rate in mm/sec
#mina.retract = 5 # bounce off endstop in mm
# type of machine
corexy_homing = false # set to true if homing on a hbot or corexy
# optional order in which axis will home, default is they all home at the same time,
# if this is set it will force each axis to home one at a time in the specified order
homing_order = XYZ # x axis followed by y then z last
move_to_origin_after_home = false # move XY to 0,0 after homing
endstop_debounce_count = 100 # uncomment if you get noise on your endstops, default is 100
endstop_debounce_ms = 1 # uncomment if you get noise on your endstops, default is 1 millisecond debounce
home_z_first = true # uncomment and set to true to home the Z first, otherwise Z homes after XY
[extruder]
hotend.enable = true # Whether to activate the extruder module at all. All configuration is ignored if false
hotend.steps_per_mm = 140 # Steps per mm for extruder stepper
hotend.default_feed_rate = 600 # Default rate ( mm/minute ) for moves where only the extruder moves
hotend.acceleration = 500 # Acceleration for the stepper motor mm/sec²
hotend.max_speed = 50 # Maximum speed in mm/s
hotend.step_pin = 2.3 # Pin for extruder step signal
hotend.dir_pin = 0.22 # Pin for extruder dir signal ( add '!' to reverse direction )
hotend.en_pin = 0.21 # Pin for extruder enable signal
# Second extruder module configuration
hotend2.enable = true # Whether to activate the extruder module at all. All configuration is ignored if false
hotend2.steps_per_mm = 140 # Steps per mm for extruder stepper
hotend2.default_feed_rate = 600 # Default rate ( mm/minute ) for moves where only the extruder moves
hotend2.acceleration = 500 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
hotend2.max_speed = 50 # mm/s
hotend2.step_pin = 2.8 # Pin for extruder step signal
hotend2.dir_pin = 2.13 # Pin for extruder dir signal ( add '!' to reverse direction )
hotend2.en_pin = 4.29 # Pin for extruder enable signal
hotend2.x_offset = 0 # x offset from origin in mm
hotend2.y_offset = 25.0 # y offset from origin in mm
hotend2.z_offset = 0 # z offset from origin in mm
[temperature control]
hotend.enable = true # Whether to activate this ( "hotend" ) module at all.
hotend.thermistor_pin = 0.23 # Pin for the thermistor to read
hotend.heater_pin = 2.7 # Pin that controls the heater, set to nc if a readonly thermistor is being defined
hotend.thermistor = EPCOS100K # See http://smoothieware.org/temperaturecontrol#toc5
hotend.set_m_code = 104 # M-code to set the temperature for this module
hotend.set_and_wait_m_code = 109 # M-code to set-and-wait for this module
hotend.designator = T # Designator letter for this module
bed.enable = true # Whether to activate this ( "hotend" ) module at all.
bed.thermistor_pin = 0.24 # Pin for the thermistor to read
bed.heater_pin = 2.5 # Pin that controls the heater
bed.thermistor = Honeywell100K # See http://smoothieware.org/temperaturecontrol#thermistor
bed.set_m_code = 140 # M-code to set the temperature for this module
bed.set_and_wait_m_code = 190 # M-code to set-and-wait for this module
bed.designator = B # Designator letter for this module
[temperature switch]
# See http://smoothieware.org/temperatureswitch
# Automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
# Useful to turn on a fan or water pump to cool the hotend
hotend.enable = true #
hotend.designator = T # first character of the temperature control designator to use as the temperature sensor to monitor
hotend.switch = misc # select which switch to use, matches the name of the defined switch
hotend.threshold_temp = 60.0 # temperature to turn on (if rising) or off the switch
hotend.heatup_poll = 15 # poll heatup at 15 sec intervals
hotend.cooldown_poll = 60 # poll cooldown at 60 sec intervals
[switch]
fan.enable = true # Enable this module
fan.input_on_command = M106 # Command that will turn this switch on
fan.input_off_command = M107 # Command that will turn this switch off
fan.output_pin = 2.6 # Pin this module controls
fan.output_type = pwm # PWM output settable with S parameter in the input_on_comand
misc.enable = true # Enable this module
misc.input_on_command = M42 # Command that will turn this switch on
misc.input_off_command = M43 # Command that will turn this switch off
misc.output_pin = 2.4 # Pin this module controls
misc.output_type = digital # Digital means this is just an on or off pin
[zprobe]
enable = false # Set to true to enable a zprobe
probe_pin = 1.28!^ # Pin probe is attached to, if NC remove the !
slow_feedrate = 5 # Mm/sec probe feed rate
fast_feedrate = 100 # Move feedrate mm/sec
probe_height = 5 # How much above bed to start probe
[three point leveling strategy]
# Example for 3-point levelling strategy, see wiki documentation for other strategies
enable = true # a leveling strategy that probes three points to define a plane and keeps the Z parallel to that plane
point1 = 100.0,0.0 # the first probe point (x,y) optional may be defined with M557
point2 = 200.0,200.0 # the second probe point (x,y)
point3 = 0.0,200.0 # the third probe point (x,y)
home_first = true # home the XY axis before probing
tolerance = 0.03 # the probe tolerance in mm, anything less that this will be ignored, default is 0.03mm
probe_offsets = 0,0,0 # the probe offsets from nozzle, must be x,y,z, default is no offset
save_plane = false # set to true to allow the bed plane to be saved with M500 default is false
[delta calibration leveling strategy]
# Example for the delta calibration strategy
enable = true # Enable basic delta calibration
radius = 100 # the probe radius
[delta grid leveling strategy]
# Example for the delta grid leveling strategy
enable = true # Enable grid leveling
radius = 50 # Grid radius in millimeters
size = 7 # Grid size, must be an odd number
do_home = true # Whether to home before calibration
save = true # Whether to automatically save the grid
initial_height = 10 # Height at which to start probling
[panel]
enable = false # Set to true to enable the panel code
# Example for reprap discount GLCD
# on glcd EXP1 is to left and EXP2 is to right, pin 1 is bottom left, pin 2 is top left etc.
# +5v is EXP1 pin 10, Gnd is EXP1 pin 9
lcd = reprap_discount_glcd #
spi_channel = 0 # SPI channel to use ; GLCD EXP1 Pins 3,5 (MOSI, SCLK)
spi_cs_pin = 0.16 # SPI chip select ; GLCD EXP1 Pin 4
encoder_a_pin = 3.25!^ # Encoder pin ; GLCD EXP2 Pin 3
encoder_b_pin = 3.26!^ # Encoder pin ; GLCD EXP2 Pin 5
click_button_pin = 1.30!^ # Click button ; GLCD EXP1 Pin 2
buzz_pin = 1.31 # Pin for buzzer ; GLCD EXP1 Pin 1
back_button_pin = 2.11!^ # Back button ; GLCD EXP2 Pin 8
menu_offset = 0 # Some panels will need 1 here
alpha_jog_feedrate = 6000 # X jogging feedrate in mm/min
beta_jog_feedrate = 6000 # Y jogging feedrate in mm/min
gamma_jog_feedrate = 200 # Z jogging feedrate in mm/min
hotend_temperature = 185 # Temp to set hotend when preheat is selected
bed_temperature = 60 # Temp to set bed when preheat is selected
[custom_menu]
power_on.enable = true #
power_on.name = Power on #
power_on.command = M80 #
power_off.enable = true #
power_off.name = Power off #
power_off.command = M81 #
[network]
enable = false # Enable the ethernet network services
webserver.enable = true # Enable the webserver
telnet.enable = true # Enable the telnet server
ip_address = auto # Use dhcp to get ip address
# Uncomment the 3 below to manually setup ip address
#ip_address = 192.168.3.222 # The IP address
#ip_mask = 255.255.255.0 # The ip mask
#ip_gateway = 192.168.3.1 # The gateway address
#mac_override = xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment