最新 Marlin固件全中文解析

2020-04-03 11:23

#ifndef CONFIGURATION_H #define CONFIGURATION_H

// This configuration file contains the basic settings.

// Advanced settings can be found in Configuration_adv.h

// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration

//////////基本设置包括:主板类型,温度传感器类型,轴设置,限位开关配置

//===========================================================================

//============================= DELTA Printer ===============================

//===========================================================================

// For a Delta printer replace the configuration files with the files in the // example_configurations/delta directory. //

//////////对于三角洲并联打印机,请找到固件里“example_configurations”文件夹下的“delta”子文件夹,并将其中的Configuration.h和Configuration_adv.h两个头文件拷贝到固件文件夹下,替换原先固件里的这两个头文件,并针对delta打印机作相应参数配置。

// User-specified version info of this build to display in [Pronterface, etc] terminal window during

// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this

// build by the user have been successfully uploaded into firmware.

#define STRING_VERSION_CONFIG_H __DATE__ \#define STRING_CONFIG_H_AUTHOR \

// SERIAL_PORT selects which serial port should be used for communication with the host. // This allows the connection of wireless adapters (for instance) to non-default port pins. // Serial port 0 is still used by the Arduino bootloader regardless of this setting. #define SERIAL_PORT 0

//////////选择用于和上位机通讯的串口,该值请保持0不动

// This determines the communication speed of the printer // This determines the communication speed of the printer #define BAUDRATE 250000

//////////波特率配置,该值必须和你的上位机波特率相匹配,否则无法通讯。常用波特率有115200和250000

// This enables the serial port associated to the Bluetooth interface

//#define BTENABLED // Enable BT interface on AT90USB devices

//// The following define selects which electronics board you have. Please choose the one that matches your setup // 10 = Gen7 custom (Alfons3 Version) \// 11 = Gen7 v1.1, v1.2 = 11 // 12 = Gen7 v1.3 // 13 = Gen7 v1.4

// 2 = Cheaptronic v1.0 // 20 = Sethi 3D_1

// 3 = MEGA/RAMPS up to 1.2 = 3

// 33 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed)

// 34 = RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed) // 35 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan) // 4 = Duemilanove w/ ATMega328P pin assignment // 5 = Gen6

// 51 = Gen6 deluxe

// 6 = Sanguinololu < 1.2

// 62 = Sanguinololu 1.2 and above // 63 = Melzi // 64 = STB V1.1 // 65 = Azteeg X1

// 66 = Melzi with ATmega1284 (MaKr3d version) // 67 = Azteeg X3 // 68 = Azteeg X3 Pro // 7 = Ultimaker

// 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare) // 72 = Ultimainboard 2.x (Uses TEMP_SENSOR 20) // 77 = 3Drag Controller // 8 = Teensylu // 80 = Rumba

// 81 = Printrboard (AT90USB1286) // 82 = Brainwave (AT90USB646) // 83 = SAV Mk-I (AT90USB1286) // 9 = Gen3+

// 70 = Megatronics

// 701= Megatronics v2.0 // 702= Minitronics v1.0 // 90 = Alpha OMCA board // 91 = Final OMCA board // 301= Rambo

// 21 = Elefu Ra Board (v3)

// 88 = 5DPrint D8 Driver Board

#ifndef MOTHERBOARD #define MOTHERBOARD 33

//////////主板类型选择,请按以上各主板相应代号选择你个人的主板类型。33是ramps1.3/1.4(一个挤出机),34是ramps1.3/1.4(两个挤出机)

#endif

// Define this to set a custom name for your generic Mendel, // #define CUSTOM_MENDEL_NAME \

// Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)

// You can use an online service to generate a random UUID. (eg http://www.uuidgenerator.net/version4)

// #define MACHINE_UUID \

// This defines the number of extruders #define EXTRUDERS 1

//// The following define selects which power supply you have. Please choose the one that matches your setup // 1 = ATX

// 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)

#define POWER_SUPPLY 1

// Define this to have the electronics keep the power supply off on startup. If you don't know what this is leave it. // #define PS_DEFAULT_OFF

//===========================================================================

//=============================Thermal Settings ============================

//=========================================================================== //

//--NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table //

//// Temperature sensor settings:

// -2 is thermocouple with MAX6675 (only for sensor 0) // -1 is thermocouple with AD595

// 0 is not used

// 1 is 100k thermistor - best choice for EPCOS 100k (4.7k pullup) // 2 is 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup) // 3 is Mendel-parts thermistor (4.7k pullup)

// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !! // 5 is 100K thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (4.7k pullup) // 6 is 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)

// 7 is 100k Honeywell thermistor 135-104LAG-J01 (4.7k pullup) // 71 is 100k Honeywell thermistor 135-104LAF-J01 (4.7k pullup) // 8 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) // 9 is 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup) // 10 is 100k RS thermistor 198-961 (4.7k pullup) // 11 is 100k beta 3950 1% thermistor (4.7k pullup)

// 12 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)

// 20 is the PT100 circuit found in the Ultimainboard V2.x

// 60 is 100k Maker's Tool Works Kapton Bed Thermistor beta=3950 //

// 1k ohm pullup tables - This is not normal, you would have to have changed out your 4.7k for 1k

// (but gives greater accuracy and more stable PID) // 51 is 100k thermistor - EPCOS (1k pullup)

// 52 is 200k thermistor - ATC Semitec 204GT-2 (1k pullup)

// 55 is 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (1k pullup) //

// 1047 is Pt1000 with 4k7 pullup

// 1010 is Pt1000 with 1k pullup (non standard) // 147 is Pt100 with 4k7 pullup

// 110 is Pt100 with 1k pullup (non standard)

#define TEMP_SENSOR_0 1 #define TEMP_SENSOR_1 0 #define TEMP_SENSOR_2 0 #define TEMP_SENSOR_BED 1

//////////上面这些值是温度传感器类型配置,是能否正常读取温度的重要参数。TEMP_SENSOR_0是喷嘴温度传感器,TEMP_SENSOR_BED是热床温度传感器,配置为1说明两个都是100K ntc热敏电阻。如果你使用了其它温度传感器需要根据情况自行更改。如果没有,配置为0

// This makes temp sensor 1 a redundant sensor for sensor 0. If the temperatures difference between these sensors is to high the print will be aborted. //#define TEMP_SENSOR_1_AS_REDUNDANT

#define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10

// Actual temperature must be close to target for this long before M109 returns success #define TEMP_RESIDENCY_TIME 10 // (seconds)

#define TEMP_HYSTERESIS 3 // (degC) range of +/- temperatures considered \

//////////这个值决定当实际温度在正负3度时被认为接近设定的目标温度。适当加大该值可以减少等待升温的时间,过大则对出丝不利,建议该值保持默认

#define TEMP_WINDOW 1 // (degC) Window around target to start the residency timer x degC early.

// The minimal temperature defines the temperature below which the heater will not be enabled It is used

// to check that the wiring to the thermistor is not broken.

// Otherwise this would lead to the heater being powered on all the time. #define HEATER_0_MINTEMP 5 #define HEATER_1_MINTEMP 5 #define HEATER_2_MINTEMP 5 #define BED_MINTEMP 5

//////////以上几个配置是喷嘴和热床在温度低于5度时,打印机将不能启动,表现为报错,并且加热头和热床的加热无法打开

// When temperature exceeds max temp, your heater will be switched off.

// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!

// You should use MINTEMP for thermistor short/failure protection. #define HEATER_0_MAXTEMP 275 #define HEATER_1_MAXTEMP 275 #define HEATER_2_MAXTEMP 275 #define BED_MAXTEMP 150

//////////以上是喷嘴和热床的最高温度配置,防止烧坏主板

// If your bed has low resistance e.g. .6 ohm and throws the fuse you can duty cycle it to reduce the

// average current. The value should be an integer and the heat bed will be turned on for 1 interval of

// HEATER_BED_DUTY_CYCLE_DIVIDER intervals. //#define HEATER_BED_DUTY_CYCLE_DIVIDER 4

//////////该配置是为了防止热床电阻太小,长时间加热容易烧mos管,增加这个数字,可以防止mos管过热,但加热时间会增长

// If you want the M105 heater power reported in watts, define the BED_WATTS, and (shared for all extruders) EXTRUDER_WATTS

//#define EXTRUDER_WATTS (12.0*12.0/6.7) // P=I^2/R //#define BED_WATTS (12.0*12.0/1.1) // P=I^2/R


最新 Marlin固件全中文解析.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:中国奶茶果汁行业市场前景分析预测年度报告(目录) - 图文

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: