12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151 |
-
-
-
- #ifndef CONFIGURATION_H
- #define CONFIGURATION_H
-
- #include "boards.h"
- #include "macros.h"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #if ENABLED(USE_AUTOMATIC_VERSIONING)
- #include "_Version.h"
- #else
- #include "Version.h"
- #endif
-
-
-
-
- #define STRING_CONFIG_H_AUTHOR "(none, default config)"
- #define SHOW_BOOTSCREEN
- #define STRING_SPLASH_LINE1 SHORT_BUILD_VERSION
-
-
-
-
-
-
-
-
- #define SERIAL_PORT 0
-
-
-
- #define BAUDRATE 250000
-
-
-
-
-
-
- #ifndef MOTHERBOARD
- #define MOTHERBOARD BOARD_RAMPS_14_EFB
- #endif
-
-
-
-
-
-
-
-
-
-
-
- #define EXTRUDERS 1
-
-
-
-
-
-
-
-
-
-
-
-
- #define POWER_SUPPLY 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #define TEMP_SENSOR_0 1
- #define TEMP_SENSOR_1 0
- #define TEMP_SENSOR_2 0
- #define TEMP_SENSOR_3 0
- #define TEMP_SENSOR_BED 0
-
-
-
- #define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10
-
-
- #define TEMP_RESIDENCY_TIME 10
- #define TEMP_HYSTERESIS 3
- #define TEMP_WINDOW 1
-
-
- #define TEMP_BED_RESIDENCY_TIME 10
- #define TEMP_BED_HYSTERESIS 3
- #define TEMP_BED_WINDOW 1
-
-
-
-
- #define HEATER_0_MINTEMP 5
- #define HEATER_1_MINTEMP 5
- #define HEATER_2_MINTEMP 5
- #define HEATER_3_MINTEMP 5
- #define BED_MINTEMP 5
-
-
-
-
- #define HEATER_0_MAXTEMP 275
- #define HEATER_1_MAXTEMP 275
- #define HEATER_2_MAXTEMP 275
- #define HEATER_3_MAXTEMP 275
- #define BED_MAXTEMP 150
-
-
-
-
-
-
-
-
-
-
-
- #define PIDTEMP
- #define BANG_MAX 255
- #define PID_MAX BANG_MAX
- #if ENABLED(PIDTEMP)
-
-
-
-
-
-
- #define PID_FUNCTIONAL_RANGE 10
-
- #define PID_INTEGRAL_DRIVE_MAX PID_MAX
- #define K1 0.95
-
-
-
- #define DEFAULT_Kp 22.2
- #define DEFAULT_Ki 1.08
- #define DEFAULT_Kd 114
-
-
-
-
-
-
-
-
-
-
-
- #endif
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #define MAX_BED_POWER 255
-
- #if ENABLED(PIDTEMPBED)
-
-
-
- #define PID_BED_INTEGRAL_DRIVE_MAX MAX_BED_POWER
-
-
-
- #define DEFAULT_bedKp 10.00
- #define DEFAULT_bedKi .023
- #define DEFAULT_bedKd 305.4
-
-
-
-
-
-
-
-
- #endif
-
-
-
-
-
- #define PREVENT_DANGEROUS_EXTRUDE
-
- #define PREVENT_LENGTHY_EXTRUDE
-
- #define EXTRUDE_MINTEMP 170
- #define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH)
-
-
-
-
-
-
-
- #define THERMAL_PROTECTION_HOTENDS
- #define THERMAL_PROTECTION_BED
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #define USE_XMIN_PLUG
- #define USE_YMIN_PLUG
- #define USE_ZMIN_PLUG
-
-
-
-
-
- #define ENDSTOPPULLUPS
-
- #if DISABLED(ENDSTOPPULLUPS)
-
-
-
-
-
-
-
-
- #endif
-
-
- const bool X_MIN_ENDSTOP_INVERTING = false;
- const bool Y_MIN_ENDSTOP_INVERTING = false;
- const bool Z_MIN_ENDSTOP_INVERTING = false;
- const bool X_MAX_ENDSTOP_INVERTING = false;
- const bool Y_MAX_ENDSTOP_INVERTING = false;
- const bool Z_MAX_ENDSTOP_INVERTING = false;
- const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
-
-
-
-
-
-
-
-
-
-
-
- #define X_ENABLE_ON 0
- #define Y_ENABLE_ON 0
- #define Z_ENABLE_ON 0
- #define E_ENABLE_ON 0
-
-
-
- #define DISABLE_X false
- #define DISABLE_Y false
- #define DISABLE_Z false
-
-
-
-
-
- #define DISABLE_E false
- #define DISABLE_INACTIVE_EXTRUDER true
-
-
-
-
- #define INVERT_X_DIR false
- #define INVERT_Y_DIR true
- #define INVERT_Z_DIR false
-
-
-
-
- #define INVERT_E0_DIR false
- #define INVERT_E1_DIR false
- #define INVERT_E2_DIR false
- #define INVERT_E3_DIR false
-
-
-
-
-
-
-
-
- #define X_HOME_DIR -1
- #define Y_HOME_DIR -1
- #define Z_HOME_DIR -1
-
- #define min_software_endstops true
- #define max_software_endstops true
-
-
-
-
- #define X_MIN_POS 0
- #define Y_MIN_POS 0
- #define Z_MIN_POS 0
- #define X_MAX_POS 200
- #define Y_MAX_POS 200
- #define Z_MAX_POS 200
-
-
-
-
-
-
-
-
- #if ENABLED(FILAMENT_RUNOUT_SENSOR)
- const bool FIL_RUNOUT_INVERTING = true;
- #define ENDSTOPPULLUP_FIL_RUNOUT
- #define FILAMENT_RUNOUT_SCRIPT "M600"
- #endif
-
-
-
-
-
-
-
- #if ENABLED(MESH_BED_LEVELING)
- #define MESH_MIN_X 10
- #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X))
- #define MESH_MIN_Y 10
- #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y))
- #define MESH_NUM_X_POINTS 3
- #define MESH_NUM_Y_POINTS 3
- #define MESH_HOME_SEARCH_Z 4
-
-
-
- #if ENABLED(MANUAL_BED_LEVELING)
- #define MBL_Z_STEP 0.025
- #endif
-
- #endif
-
-
-
-
-
-
-
-
-
- #define Z_MIN_PROBE_REPEATABILITY_TEST
-
- #if ENABLED(AUTO_BED_LEVELING_FEATURE)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #define AUTO_BED_LEVELING_GRID
-
- #if ENABLED(AUTO_BED_LEVELING_GRID)
-
- #define LEFT_PROBE_BED_POSITION 15
- #define RIGHT_PROBE_BED_POSITION 170
- #define FRONT_PROBE_BED_POSITION 20
- #define BACK_PROBE_BED_POSITION 170
-
- #define MIN_PROBE_EDGE 10
-
-
-
- #define AUTO_BED_LEVELING_GRID_POINTS 2
-
- #else
-
-
-
- #define ABL_PROBE_PT_1_X 15
- #define ABL_PROBE_PT_1_Y 180
- #define ABL_PROBE_PT_2_X 15
- #define ABL_PROBE_PT_2_Y 20
- #define ABL_PROBE_PT_3_X 170
- #define ABL_PROBE_PT_3_Y 20
-
- #endif
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #define X_PROBE_OFFSET_FROM_EXTRUDER 10
- #define Y_PROBE_OFFSET_FROM_EXTRUDER 10
- #define Z_PROBE_OFFSET_FROM_EXTRUDER 0
-
- #define XY_TRAVEL_SPEED 8000
-
- #define Z_RAISE_BEFORE_PROBING 15
- #define Z_RAISE_BETWEEN_PROBINGS 5
- #define Z_RAISE_AFTER_PROBING 15
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #endif
-
-
-
-
-
-
-
-
-
-
- #if ENABLED(MANUAL_HOME_POSITIONS)
- #define MANUAL_X_HOME_POS 0
- #define MANUAL_Y_HOME_POS 0
- #define MANUAL_Z_HOME_POS 0
-
- #endif
-
-
-
-
-
-
-
-
-
-
-
- #if ENABLED(Z_SAFE_HOMING)
- #define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2)
- #define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2)
- #endif
-
-
-
-
-
-
- #define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}
-
-
-
- #define DEFAULT_AXIS_STEPS_PER_UNIT {80,80,4000,500}
- #define DEFAULT_MAX_FEEDRATE {300, 300, 5, 25}
- #define DEFAULT_MAX_ACCELERATION {3000,3000,100,10000}
-
- #define DEFAULT_ACCELERATION 3000
- #define DEFAULT_RETRACT_ACCELERATION 3000
- #define DEFAULT_TRAVEL_ACCELERATION 3000
-
-
- #define DEFAULT_XYJERK 20.0
- #define DEFAULT_ZJERK 0.4
- #define DEFAULT_EJERK 5.0
-
-
-
-
-
-
-
-
-
- #define CUSTOM_M_CODES
- #if ENABLED(CUSTOM_M_CODES)
- #if ENABLED(AUTO_BED_LEVELING_FEATURE)
- #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
- #define Z_PROBE_OFFSET_RANGE_MIN -20
- #define Z_PROBE_OFFSET_RANGE_MAX 20
- #endif
- #endif
-
-
-
-
-
-
-
-
-
-
-
-
-
- #if ENABLED(EEPROM_SETTINGS)
-
- #define EEPROM_CHITCHAT
- #endif
-
-
-
-
-
-
-
-
- #if DISABLED(DISABLE_HOST_KEEPALIVE)
- #define DEFAULT_KEEPALIVE_INTERVAL 2
- #endif
-
-
-
-
-
-
-
-
-
- #define PLA_PREHEAT_HOTEND_TEMP 180
- #define PLA_PREHEAT_HPB_TEMP 70
- #define PLA_PREHEAT_FAN_SPEED 0
-
- #define ABS_PREHEAT_HOTEND_TEMP 240
- #define ABS_PREHEAT_HPB_TEMP 110
- #define ABS_PREHEAT_FAN_SPEED 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #define LCD_LANGUAGE en
-
-
- #define DISPLAY_CHARSET_HD44780 JAPANESE
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #define SOFT_PWM_SCALE 0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- #if ENABLED(DEACTIVATE_SERVOS_AFTER_MOVE)
-
-
-
- #define SERVO_DEACTIVATION_DELAY 300
- #endif
-
-
-
-
-
- #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00
-
- #if ENABLED(FILAMENT_WIDTH_SENSOR)
- #define FILAMENT_SENSOR_EXTRUDER_NUM 0
- #define MEASUREMENT_DELAY_CM 14
-
- #define MEASURED_UPPER_LIMIT 3.30
- #define MEASURED_LOWER_LIMIT 1.90
- #define MAX_MEASUREMENT_DELAY 20
-
- #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA
-
-
-
- #endif
-
- #include "Configuration_adv.h"
- #include "thermistortables.h"
-
- #endif
|