Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # smoothieboard configuration file, see http://smoothieware.org/configuring-smoothie
- # NOTE lines must not exceed 132 characters, and '#' character means what follows is ignored
- ## robot module configurations : general handling of movement G-codes and slicing into moves
- # CONFIGURATION FOR PRUSA I3 CLONE
- # note the configuration is fully working except for the bed temperature not being detected the fault is probably a faulty thermister as of 25/11/2017.
- # Basic motion configuration
- 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_per_line_segment 5 # cut lines into segments this size
- mm_max_arc_error 0.01 # The maximum error for line segments that devide arcs 0 to disable
- # note it is invalid for both the above to be 0
- # if both are used, will use largest segment length based on radius
- # Arm solution configuration : cartesian robot. translates mm positions into stepper positions
- # see http://smoothieware.org/stepper motors
- alpha_steps_per_mm 80 # Steps per mm for alpha ( x ) stepper
- beta_steps_per_mm 80 # Steps per mm for beta ( y ) stepper
- gamma_steps_per_mm 1600 # Steps per mm for gamma ( z ) stepper
- # Planner module configuration : look-ahead and acceleration configuration
- # See http://smoothieware.org/motion-control
- acceleration 3000 # Acceleration in mm/second/second
- #z_acceleration 500 # acceleration for z only moves in mm/s^2, 0 uses acceleration which is the default. DO NOT SET ON A DELTA
- junction_deviation 0.05 # See http://smoothieware.org/motion-control#junction-deviation
- #z_junction_deviation 0.0 # For z only moves, -1 uses junction_deviation, zero disables junction_deviation on z moves DO NOT SET ON A DELTA
- # Cartesian axis speed limits
- x_axis_max_speed 30000 # Maximum speed in mm/min
- y_axis_max_speed 30000 # Maximum speed in mm/min
- z_axis_max_speed 300 # Maximum speed in mm/min
- # Stepper module configuration
- # Pins are defined as ports, and pin numbers, appending "!" to the number will invert a pin
- # see http://smoothieware.org/pin-configuration and http://smoothieware.org/pinout
- 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_current 1.2 # X stepper motor current
- alpha_max_rate 30000.0 # Maximum rate in mm/min
- 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 pin
- beta_current 1.2 # y stepper motor current
- beta_max_rate 30000.0 # Maximum rate in mm/min
- 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 pin
- gamma_current 1.2 # Z stepper motor1 current
- gamma_max_rate 300.0 # Maximum rate in mm/min
- # step, direction and enable pins not required for delta as signals will come from gamma step, direction and enable pins
- # gamma step direction and enable pins are hard wired to the corresponding pins on the delta motor on the smoothieboard
- # This does not apply to all smoothie boards but is a required adaptation for this configuration.
- # EN3 TO EN4
- # DIR3 TO DIR4
- # ST3 TO ST4
- # BOTH MOTORS WILL WORK TOGETHER TO RAISE THE EXTRUDER OR LOWER IT!
- delta_current 1.2 # Z stepper motor2 current
- delta_max_rate 300.0 # Maximum rate in mm/min
- ## extruder module configuration
- # See http://smoothieware.org/extruder
- # As there is only one extruder on the Prusa i3 and m5 is used in this configuration for the motor control
- # the step pin, dir pin and en pin are set for epsilon
- extruder.hotend.enable true # Whether to activate the extruder module at all. all configuration is ignored if false
- extruder.hotend.steps_per_mm 140 # steps per mm for extruder stepper
- extruder.hotend.default_feed_rate 600 # Default rate ( mm/minute ) for moves where only the extruder moves
- extruder.hotend.acceleration 500 # Aceleration for the stepper motor mm/sec^2
- extruder.hotend.max_speed 50 # Maximum speed in mm/sec
- extruder.hotend.step_pin 2.8 # pin for extruder step signal
- extruder.hotend.dir_pin 2.13 # pin for extruder dir signal ( add "!" to reverse direction )
- extruder.hotend.en_pin 4.29 # pin for extruder enable signal
- #extruder offset # not required for single extruder
- #extruder.hotend.x_offset 0 # X offset from origin in mm
- #extruder.offset.y_offset 0 # Y offset from origin in mm
- #extruder.offset.z_offset 0 # Z offsetfrom origin in mm
- # the following settings are commented out and are not activated.
- #firmware retract settings when using G10/G11, these are the defaults if not defined, must be defined for each extruder if not using defaults
- #extruder.hotend.retract_length 3 # Retract length in mm
- #extruder.hotend.retract_feedrate 45 # Retract feedrate in mm/sec
- #extruder.hotend.retract_recover_length 0 # Additional length for recover
- #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
- #extruder.hotend.retract_zlift_length 0 # Z-lift on retract in mm, 0 disables
- #extruder.hotend.retract_zlift_feedrate 6000 # z-lift feedrate in mm/min (Note mm/min not mm/sec)
- #end of non activated settings
- epsilon_current 1.2 # extruder stepper motor current
- # the following settings are commented out and are not activated.
- #firmware retract settings when using G10/G11, these are the defaults if not defined, must be defined for each extruder if not using defaults
- #extruder.hotend.retract_length 3 # Retract length in mm
- #extruder.hotend.retract_feedrate 45 # Retract feedrate in mm/sec
- #extruder.hotend.retract_recover_length 0 # Additional length for recover
- #extruder.hotend.retract_recover_feedrate 8 # recover feedrate in mm/sec (should be less than retract feedrate)
- #extruder.hotend.retract_zlift_length 0 # Z-lift on retract in mm, 0 disables
- #extruder.hotend.retract_zlift_feedrate 6000 # z-lift feedrate in mm/min (Note mm/min not mm/sec)
- #end of non activated settings
- #epsilon_current 1.2 # extruder stepper motor current
- ## Temperature control configuration
- # See http://smoothieware.org/temperaturecontrol
- # Hotend configuration
- temperature_control.hotend.enable true # whether to activate this ( "hotend" ) module at all.
- temperature_control.hotend.therminster_pin 0.23 # pin for the thermistor to read
- temperature_control.hotend.heater_pin 2.4 # pin that controls the heater, set to nc if a readonly thermistoris being defined
- temperature_control.hotend.thermister EPCOS100K # see http://smoothieware.org/temperaturecontrol#toc5
- # temperature_control.hotend.beta 4066 # or set the beta value
- temperature_control.hotend.set_m_code 104 # M-code to set the temperature for this module
- temperature_control.hotend.set_and_wait_m_code 109 # M-code to set_and_wait for this module
- temperature_control.hotend.designator T # Designator letter for this module
- temperature_control.hotend.max_temp 300 # Set maximum temperature - will prevent heating above 300 by default
- #temperature_control.hotend.min_temp 0 # Set minimum temperature - will prevent heating below if set
- # Safety control is enabled by default and can be overwritten here, the values show the defaults
- # See http://smoothieware.org/temperaturecontrol#runaway
- # this is not activated
- #temperature_control.hotend.runaway_heating_timeout 900 # How long it can take to heat up, Max is 2040 seconds.
- #temperature_control.hotend.runaway_cooling_timeout 0 # How long it can take to cool down if temp is set lower, max is 2040 seconds
- #temperature_control.hotend.runaway_range 20 # How far from the set temperature it can wander, Maximum setting is 63 deg C
- # PID configuration
- # See http://smoothieware.org/temperaturecontrol#pid
- temperature_control.hotend. P_factor 450.9 # P ( Proportional ) factor
- temperature_control.hotend. I_factor 20.020 # I ( Integral ) factor
- temperature_control.hotend. D_factor 49.5 # D ( derivative ) factor
- #temperature_control.hotend.max_PWM 64 # Max PWM, 64 is a good value if driving a 12v resister with 24v.
- temperature_control.bed.enable true # wether to activate this ( "hotend" ) module at all
- temperature_control.bed.thermister_pin 0.25 # pin for the thermister to read
- temperature_control.bed.heater_pin 2.7 # pin that controls the bed heater
- temperature_control.bed.thermister Semitec-104NT4 # See http://smoothieware.org/temperaturecontrol#thermister
- #temperature_control.bed.beta 3950 # or set beta value
- temperature_control.bed.set_m_code 140 # M-code to set the temperature for this module
- temperature_control.bed.set_and_wait_m_code 190 # M-code to set and wait for this module
- temperature_control.bed.designater B # Designater letter for this module
- # Bang-bang ( simplified ) control
- # See http://smoothieware.org/temperaturecontrol#bang-bang
- #temperature_control.bed.bang-bang false # Set to true to use bang-bang control rather than PID
- #temperature_control.bed.hysteresis 2.0 # Set to the temperature in degrees C to use as hysteresis
- ## Switch modules
- # See http://smoothieware.org/switch
- # Switch Module for fan control
- switch.fan.enable false # Enable this module
- switch.fan.input_on_command M106 # command that will turn this switch on
- switch.fan.input_off_command M107 # command that will turn this switch off
- switch.fan.output_pin 2.6 # Pin this module controls
- switch.fan.output_type pwm # PWM output settable with s parameter in the input_on_command
- switch.fan.max_pwm 255 # set max pwm for the pin default is 255
- switch.misc.enable false # Enable this module
- switch.misc.input_on_command M42 # Command that will turn this switch on
- switch.misc.input_off_command M43 # command that will turn this switch off
- switch.misc.output_pin 2.4 # pin this module controls
- switch.misc.output_type digital # Digital means this is just an on off switch
- ## Temperatureswitch
- # 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 switches
- # Usefull to turn on a fan or water pump to cool the hotend
- #temperatureswitch.hotend.enable true # enable this module
- #temperatureswitch.hotend.designator T # first character of the temperature control designator to use as the temperature sensor to monitor
- #temperatureswitch.hotend.switch misc # select which switch to use, matches the name of the defined switch
- #temperatureswitch.hotend.threshold_temp 60.0 # temperature to turn the switch, on ( if rising ) or off
- #temperatureswitch.hotend.heatup_poll 15 # poll heatup at 15 second intervals
- #temperatureswitch.hotend.cooldown_poll 60 # poll cooldown at 60 second intervals
- ## Endstops
- # See http://smoothieware.org/endstops
- endstops_enable true # The endstop module is enabled by default and can be disabled here
- #corexy false # set to true if homing on a hbot or corexy
- alpha_min_endstop 1.24^! # pin to read min endstop, add a "!" to invert if endstop is NO connected to ground
- #alpha_max_endstop 1.25^ # pin to read max endstop, uncomment this and comment the above if using max endstops
- alpha_homing_direction home_to_min # or set to home_to_max and set alpha_max and uncomment the alpha_max_endstop
- alpha_min 0 # this gets loaded as the current position after homing when home_to_min is set
- #alpha_max 200 # this gets loaded as the current position after homing when home_to_max is set
- beta_min_endstop 1.26^! # pin to read min endstop, add a "!" to invert if endstop is NO connected to ground
- #beta_max_endstop 1.27^ # pin to read max endstop, uncomment this and comment the above if using max endstops
- beta_homing_direction home_to_min # or set to home_to_max and set beta_max and uncomment the beta_max_endstop
- beta_min 0 # this gets loaded as the current position after homing when home_to_min is set
- #beta_max 200 # this gets loaded as the current position after homing when home_to_max is set
- gamma_min_endstop 1.28^! # pin to read min endstop, add a "!" to invert if endstop is NO connected to ground
- #gamma_max_endstop 1.29^ # pin to read max endstop, uncomment this and comment the above if using max endstops
- gamma_homing_direction home_to_min # or set to home_to_max and set gamma_max and uncomment the gamma_max_endstop
- gamma_min 0 # this gets loaded as the current position after homing when home_to_min is set
- #gamma_max 200 # this gets loaded as the current position after homing when home_to_max is set
- alpha_max_travel 500 # Max travel in mm for alpha/x axis when homing
- beta_max_travel 500 # Max travel in mm for beta/y axis when homing
- gamma_max_travel 500 # Max travel in mm for gamma/z axis when homing
- # Optional enable limit switches, actions will stop if any enabled limit switch is triggered ( all are set for delta )
- #alpha_limit_enable false # Set to true to enable x min and max limit switches
- #beta_limit_enable false # Set to true to enable y min and max limit switches
- #gamma_limit_enable false # set to true to enable z min and max limit switches
- # Endstops home at their fast feedrate first, then once the endstop is found they home again at their slow feedrate for accuracy
- alpha_fast_homing_rate_mm_s 50 # Alpha/x fast homing feedrate in mm/second
- alpha_slow_homing_rate_mm_s 25 # Alpha/x slow homing feedrate in mm/second
- beta_fast_homing_rate_mm_s 50 # Beta/y fast homing feedrate in mm/second
- beta_slow_homing_rate_mm_s 25 # beta/y slow homing feedrate in mm/second
- gamma_fast_homing_rate_mm_s 4 # gamma/z fast homing feedrate in mm/second
- gamma_slow_homing_rate_mm_s 2 # gamma/z slow homing feedrate in mm/second
- alpha_homing_retract_mm 5 # Distance from the endstop after it is hit for alpha/x
- beta_homing_retract_mm 5 # Distance from the endstop after it is hit for beta/y
- gamma_homing_retract_mm 1 # Distance from the endstop after it is hit for gamma/z
- # Optional enable limit switches, actions will stop if any enabled limit switch is triggered ( all are set for delta )
- #alpha_limit_enable false # Set to true to enable x min and max limit switches
- #beta_limit_enable false # Set to true to enable y min and max limit switches
- #gamma_limit_enable false # set to true to enable z min and max limit switches
- # 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 axis followed by z axis
- #move_to_origin_after_home false # Move xy to o,o 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 millesecond debounce
- #home_z_first true # uncomment and set to true to home z first, otherwise z homes after xy
- # End of endstop config
- # Delete the above endstop section and uncomment next line and copy and edit snippets/abc-endstop.config file to enable endstops for abc axis
- #include abc_endstop_config
- ## Network settings
- # see http://smoothieware.org/network
- network.enable false # Enable the ethernet network services if set 'true'
- network.webserver.enable true # Enable the webserver
- network.telnet.enable true # Enable the telnet server
- network.ip_address auto # Use DHCP to get ip address if auto else set ip address 192.168.3.222 static
- # uncomment the following to manually set up the ip address
- #network.ip_mask 255.255.255.0 # The ip mask
- #network.ip_gateway 192.168.3.1 # The gateway address
- #network.mac_override xx.xx.xx.xx.xx.xx # Override the mac address, only do this if you have a conflict
- ## System configuration
- # Serial communications configuration ( baud rate defaults 9600 if undefined )
- # For communication over the uart port, *not* the USB/serial port
- uart0.baud rate 115200 # Baud rate for the default wardware ( UART ) serial port
- second_usb_serial_enable false # This enables a second usb serial port if set true
- #leds_disable true # Disable using leds after config loaded
- #play_led_disable true # disable the play led
- # Kill maybe assigned to a different pin, set to the onboard pin by default
- # See http://smoothieware.org/killbutton
- kill_button_enable true # Set to true to enable a kill button
- kill_button_pin 2.12 # Kill button pin. default is the same as pause button 2.12 ( 2.11 is another good choice )
- #msd_disable false # Disable the MSD ( USB SD CARD ), see http://smoothieware.org/troubleshooting#disable-msd
- #dfu_enable false # FOR LINUX DEVELOPERS, SET TO TRUE TO ENABLE DFU
- # Only needed on a smoothieboard
- # see http://smoothieware.org/currentcontrol
- currentcontrol_module_enable true # Control stepper motor current via the configuration file
Advertisement
Add Comment
Please, Sign In to add comment