您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > 3D打印机源代码详解
3D打印机使用说明三角洲并联臂3D打印机Marlin固件配置详解不同版本可能有些区别只需修改文件夹里Configuration.h的参数就可以了红色字体是配置时可能需要修正的参数软件:arduino-1.0.6(其他版本可能会编译出错)和RepetierHost_1_0_6//===========================================================================//=============================DELTAPrinter===============================//===========================================================================基本设置包括:主板类型,温度传感器类型,轴设置,限位开关配置#defineSTRING_VERSION_CONFIG_H__DATE____TIME__//builddateandtime#defineSTRING_CONFIG_H_AUTHOR(jcrocholl,MiniKossel)//Whomadethechanges.#defineSERIAL_PORT0选择用于和上位机通讯的串口,该值请保持0不动#defineBAUDRATE250000//波特率配置,该值必须和你的上位机波特率相匹配,否则无法通讯。常用波特率有115200和250000//ThisenablestheserialportassociatedtotheBluetoothinterface//#defineBTENABLED//EnableBTinterfaceonAT90USBdevices////Thefollowingdefineselectswhichelectronicsboardyouhave.Pleasechoosetheonethatmatchesyoursetup//10=Gen7custom(Alfons3Version)=Gen7v1.1,v1.2=11//12=Gen7v1.3//13=Gen7v1.4//2=Cheaptronicv1.0//20=Sethi3D_1//3=MEGA/RAMPSupto1.2=3//33=RAMPS1.3/1.4(Poweroutputs:Extruder,Fan,Bed)//34=RAMPS1.3/1.4(Poweroutputs:Extruder0,Extruder1,Bed)//35=RAMPS1.3/1.4(Poweroutputs:Extruder,Fan,Fan)//4=Duemilanovew/ATMega328Ppinassignment//5=Gen6//51=Gen6deluxe//6=Sanguinololu1.2//62=Sanguinololu1.2andabove//63=Melzi//64=STBV1.1//65=AzteegX1//66=MelziwithATmega1284(MaKr3dversion)//67=AzteegX3//68=AzteegX3Pro//7=Ultimaker//71=Ultimaker(Olderelectronics.Pre1.5.4.Thisisrare)//72=Ultimainboard2.x(UsesTEMP_SENSOR20)//77=3DragController//8=Teensylu//80=Rumba//81=Printrboard(AT90USB1286)//82=Brainwave(AT90USB646)//83=SAVMk-I(AT90USB1286)//9=Gen3+//70=Megatronics//701=Megatronicsv2.0//702=Minitronicsv1.0//90=AlphaOMCAboard//91=FinalOMCAboard//301=Rambo//21=ElefuRaBoard(v3)#ifndefMOTHERBOARD#defineMOTHERBOARD33//主板类型选择,请按以上各主板相应代号选择你个人的主板类型。33是ramps1.3/1.4(一个挤出机),34是ramps1.3/1.4(两个挤出机)#endif#defineEXTRUDERS1//1=ATX//2=X-Box360203Watts(thebluewireconnectedtoPS_ONandtheredwiretoVCC)#definePOWER_SUPPLY1//选择电源类型//Definethistohavetheelectronicskeepthepowersupplyoffonstartup.Ifyoudon'tknowwhatthisisleaveit.//#definePS_DEFAULT_OFF//===========================================================================//==============================DeltaSettings=============================//===========================================================================//EnableDELTAkinematics#defineDELTA#defineDELTA_SEGMENTS_PER_SECOND200//防止过多的消耗芯片支援,以及足够的精度,取一个适中的数值#defineDELTA_DIAGONAL_ROD236.9//mm//推杆孔中心距#defineDELTA_SMOOTH_ROD_OFFSET172.6//mm//中心到塔柱距离#defineDELTA_EFFECTOR_OFFSET23//mm//末端执行器上通用关节的水平偏移#defineDELTA_CARRIAGE_OFFSET23//mm//滑车的水平偏移#defineDELTA_RADIUS(DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)#defineDELTA_PRINTABLE_RADIUS80打印面直径(D/2-A)遥不可及的空间(避免与立式塔碰撞)。#defineSIN_600.8660254037844386#defineCOS_600.5#defineDELTA_TOWER1_X-SIN_60*DELTA_RADIUS//frontlefttower#defineDELTA_TOWER1_Y-COS_60*DELTA_RADIUS#defineDELTA_TOWER2_XSIN_60*DELTA_RADIUS//frontrighttower#defineDELTA_TOWER2_Y-COS_60*DELTA_RADIUS#defineDELTA_TOWER3_X0.0//backmiddletower#defineDELTA_TOWER3_YDELTA_RADIUS#defineDELTA_DIAGONAL_ROD_2pow(DELTA_DIAGONAL_ROD,2)//===========================================================================//=============================ThermalSettings============================//===========================================================================////--NORMALIS4.7kohmPULLUP!--1kohmpullupcanbeusedonhotendsensor,usingcorrectresistorandtable//////Temperaturesensorsettings://-2isthermocouplewithMAX6675(onlyforsensor0)//-1isthermocouplewithAD595//0isnotused//1is100kthermistor-bestchoiceforEPCOS100k(4.7kpullup)//2is200kthermistor-ATCSemitec204GT-2(4.7kpullup)//3isMendel-partsthermistor(4.7kpullup)//4is10kthermistor!!donotuseitforahotend.Itgivesbadresolutionathightemp.!!//5is100Kthermistor-ATCSemitec104GT-2(UsedinParCan&J-Head)(4.7kpullup)//6is100kEPCOS-Notasaccurateastable1(createdusingaflukethermocouple)(4.7kpullup)//7is100kHoneywellthermistor135-104LAG-J01(4.7kpullup)//71is100kHoneywellthermistor135-104LAF-J01(4.7kpullup)//8is100k0603SMDVishayNTCS0603E3104FXT(4.7kpullup)//9is100kGESensingAL03006-58.2K-97-G1(4.7kpullup)//10is100kRSthermistor198-961(4.7kpullup)//20isthePT100circuitfoundintheUltimainboardV2.x//60is100kMaker'sToolWorksKaptonBedThermistor//1kohmpulluptables-Thisisnotnormal,youwouldhavetohavechangedoutyour4.7kfor1k//(butgivesgreateraccuracyandmorestablePID)//51is100kthermistor-EPCOS(1kpullup)//52is200kthermistor-ATCSemitec204GT-2(1kpullup)//55is100kthermistor-ATCSemitec104GT-2(UsedinParCan&J-Head)(1kpullup)////1047isPt1000with4k7pullup//1010isPt1000with1kpullup(nonstandard)//147isPt100with4k7pullup//110isPt100with1kpullup(nonstandard)#defineTEMP_SENSOR_01///上面这些值是温度传感器类型配置,是能否正常读取温度的重要参数。#defineTEMP_SENSOR_10///TEMP_SENSOR_0是喷嘴温度传感器,TEMP_SENSOR_BED是热床温度传感器,#defineTEMP_SENSOR_20////配置为1说明两个都是100Kntc热敏电阻。#defineTEMP_SENSOR_BED1如果你使用了其它温度传感器需要根据情况自行更改。如果没有,配置为0////#defineTEMP_SENSOR_1_AS_REDUNDANT#defineMAX_REDUNDANT_TEMP_SENSOR_DI
本文标题:3D打印机源代码详解
链接地址:https://www.777doc.com/doc-5752398 .html