{"id":8929,"date":"2021-03-25T00:00:11","date_gmt":"2021-03-24T15:00:11","guid":{"rendered":"https:\/\/techclass.wfjydl.com\/?p=8929"},"modified":"2022-03-07T17:16:25","modified_gmt":"2022-03-07T09:16:25","slug":"%e9%80%82%e7%94%a8%e4%ba%8e%e5%88%9d%e5%ad%a6%e8%80%85%e7%9a%84diy-reprap-3d-%e6%89%93%e5%8d%b0%e6%9c%ba%e6%95%99%e7%a8%8b-%e7%ac%ac3%e9%83%a8%e5%88%86%ef%bc%9a%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/how-tos\/arduino\/diy-reprap-3d-printer-for-beginners-part-3-code","title":{"rendered":"\u9002\u7528\u4e8e\u521d\u5b66\u8005\u7684DIY RepRap 3D \u6253\u5370\u673a\u6559\u7a0b\u2014\u7b2c3\u90e8\u5206\uff1a\u4ee3\u7801"},"content":{"rendered":"<p><script type=\"text\/javascript\" src=\"https:\/\/ssl-cache.stream.ne.jp\/www50\/eqa194obdo\/jmc_pub\/jmc_swf\/player\/t3\/if.js\" charset=\"UTF-8\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/script><\/p>\n<div class=\"\u201cthe_content_wrapper\u201d\">\n<p>\u8fd9\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e<a href=\"https:\/\/www.deviceplus.com\/\">DevicePlus.com<\/a>\u82f1\u8bed\u7f51\u7ad9\u7684\u7ffb\u8bd1\u7a3f\u3002<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5753\" src=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image001.jpg\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image001.jpg 700w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image001-300x200.jpg 300w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image001-219x146.jpg 219w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image001-50x33.jpg 50w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image001-112x75.jpg 112w\" alt=\"reprap 3d printer\" width=\"700\" height=\"467\" \/><\/p>\n<p><span style=\"font-weight: 400;\">\u5982\u679c\u60a8\u662f\u521d\u6b21\u63a5\u89e6\u8be5\u9879\u76ee\uff0c\u8bf7\u5148\u53c2\u8003\u8be5\u9879\u76ee\u7b2c1\u90e8\u5206\u548c\u7b2c2\u90e8\u5206\u7684\u5185\u5bb9\u518d\u8fdb\u884c\u4e0b\u4e00\u6b65\u7684\u5de5\u4f5c\uff1a<\/span> <a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/how-tos\/arduino\/diy-reprap-3d-printer-for-beginners-part-1-build\"><b>\u9002\u7528\u4e8e\u521d\u5b66\u8005\u7684DIY RepRap 3D \u6253\u5370\u673a\u6559\u7a0b\u2014\u7b2c1\u90e8\u5206\uff1a\u6784\u5efa<\/b><\/a><span style=\"font-weight: 400;\"> \u4ee5\u53ca <\/span> <a href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/how-tos\/arduino\/diy-reprap-3d-printer-for-beginners-part-2-wire\"><b>\u9002\u7528\u4e8e\u521d\u5b66\u8005\u7684DIY RepRap 3D \u6253\u5370\u673a\u6559\u7a0b\u2014\u7b2c2\u90e8\u5206: \u63a5\u7ebf<\/b><\/a>\u3002<\/p>\n<p><span style=\"font-weight: 400;\">\u5728DIY RepRap 3D\u6253\u5370\u673a\u7cfb\u5217\u7684\u6700\u540e\u4e00\u90e8\u5206\u4e2d\uff0c\u6211\u4eec\u5c06\u914d\u7f6e\u76ae\u5e26\u548c\u6321\u5757\uff0c\u6dfb\u52a0LCD\u663e\u793a\u5c4f\uff0c\u5e76\u7f16\u5199\u7a0b\u5e8f\u4ee3\u7801\u5bf9\u6253\u5370\u673a\u8fdb\u884c\u6d4b\u8bd5\u3002\u8ba9\u6211\u4eec\u5f00\u59cb\u5427\uff01<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u6700\u7ec8\u6253\u5370\u673a\u89c4\u683c\uff1a<br \/>\n<\/span><span style=\"font-weight: 400;\">\u53f0\u5f0f\u673a\u5360\u5730\u9762\u79ef\uff1a11in x 13in x 13in<br \/>\n<\/span>\u6700\u5927\u5efa\u9020\u7a7a\u95f4\uff1a105mm x 130mm x 80mm<\/p>\n<h2><b>\u786c\u4ef6:<\/b><\/h2>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u4ece\u7b2c1\u90e8\u5206\u4e2d\u5f97\u5230\u76843D\u6253\u5370\u673a\u6846\u67b6<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Arduino Mega<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ramps 1.4<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u4efb\u610f\u5927\u5c0f\u7684SD\u5361<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">5x A4988\u5e26\u6709\u6563\u70ed\u5668\u7684\u6b65\u8fdb\u7535\u673a\u9a71\u52a8\u5668<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">6 x \u673a\u68b0\u7ec8\u7aef\u6321\u5757<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">20 x \u516c\u5bf9\u6bcd\u7ebf<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Discount RepRap\u7684\u667a\u80fd\u5168\u5c4f\u56fe\u5f62\u663e\u793a\u5668<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u7535\u6e90\uff0812V 30A, OEM\uff09<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u4e09\u82af\u7535\u7f06\u548c\u8fde\u63a5\u5668\uff08\u89c1\u56fe X\uff09<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">6 x \u00bc\u201d\u73af\u5f62\u538b\u63a5\u8fde\u63a5\u5668<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u5927\u89c4\u683c\u5bfc\u7ebf<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u903b\u8f91\u7ebf<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u7535\u5de5\u80f6\u5e26<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u80f6\u5e26\uff0c\u9b54\u672f\u8d34\uff0c\u6216\u5176\u4ed6\u7535\u7f06\u7ba1\u7406\u89e3\u51b3\u65b9\u6848\u3002<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><b>\u8f6f\u4ef6<\/b><\/h2>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Arduino IDE<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Marlin 3D \u6253\u5370\u673a\u56fa\u4ef6<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Cura 3D \u6253\u5370\u5207\u7247\u8f6f\u4ef6<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><b>\u5de5\u5177<\/b><\/h2>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u70d9\u94c1<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u710a\u9521<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u5265\u7ebf\u94b3<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u538b\u63a5\u5668<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><b>\u6982\u89c8<\/b><\/h2>\n<ol>\n<li><span style=\"font-weight: 400;\">\u8fde\u63a5\u76ae\u5e26\u88c5\u7f6e<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u8fde\u63a5\u673a\u68b0\u6321\u5757<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u6d4b\u8bd5\u6240\u6709\u7ec4\u4ef6<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u8fde\u63a5\u5c4f\u5e55<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u4e0b\u8f7d\u5e76\u914d\u7f6eMarlin\u56fa\u4ef6<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u6536\u5c3e\u5de5\u4f5c<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u60a8\u7684\u7b2c\u4e00\u53f0\u6253\u5370\u673a<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2><b>\u6b65\u9aa41\uff1a\u8fde\u63a5\u76ae\u5e26\u88c5\u7f6e<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u672c\u6559\u7a0b\u4e2d\u7684\u76ae\u5e26\u914d\u7f6e\u5982\u56fe1\u6240\u793a\u3002\u60a8\u53ef\u80fd\u4f1a\u5bf9\u914d\u7f6e\u4e2d\u7684\u4e00\u4e9b\u5730\u65b9\u611f\u5230\u4e0d\u89e3\uff0c\u6211\u5c06\u4f1a\u5bf9\u5176\u610f\u56fe\u8fdb\u884c\u8bf4\u660e\u3002<\/span><\/p>\n<div id=\"attachment_5754\" class=\"wp-caption alignnone\" style=\"width: 710px;\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5754\" src=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image003-2.jpg\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image003-2.jpg 700w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image003-2-300x200.jpg 300w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image003-2-219x146.jpg 219w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image003-2-50x33.jpg 50w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image003-2-112x75.jpg 112w\" alt=\"reprap 3d printer\" width=\"700\" height=\"467\" aria-describedby=\"caption-attachment-5754\" \/><\/p>\n<p id=\"caption-attachment-5754\" class=\"wp-caption-text\">\u56fe1\uff1a\u76ae\u5e26\u914d\u7f6e<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u8be5\u7cfb\u7edf\u4f7f\u7528\u4e86\u4e24\u6761\u76ae\u5e26\uff0c\u6bcf\u6761\u76ae\u5e26\u73af\u7ed5\u4e00\u4e2a\u6b65\u8fdb\u7535\u673a\uff0c\u7136\u540e\u8fde\u63a5\u5230\u6324\u51fa\u673a\u6ed1\u5757\u7684\u5bf9\u89d2\u7ebf\u4e0a\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c\u5f53\u4ec5\u8fd0\u884c\u4e00\u4e2a\u6b65\u8fdb\u7535\u673a\u65f6\uff0c\u76ae\u5e26\u5c06\u4f1a\u6cbf\u5bf9\u89d2\u7ebf\u8fd0\u52a8\u3002\u5982\u679c\u4e24\u4e2a\u7535\u673a\u90fd\u6cbf\u76f8\u540c\u65b9\u5411\u65cb\u8f6c\uff0c\u5219\u6324\u51fa\u673a\u6cbfx\u8f74\u79fb\u52a8\uff1b\u5982\u679c\u5b83\u4eec\u6cbf\u76f8\u53cd\u65b9\u5411\u65cb\u8f6c\uff0c\u5219\u6324\u51fa\u673a\u6cbfy\u8f74\u79fb\u52a8\u3002\u8fd9\u4f7f\u5f97\u6253\u5370\u673a\u53ef\u4ee5\u6cbf\u5bf9\u89d2\u7ebf\u5feb\u901f\u8fd0\u52a8\uff0c\u4ece\u800c\u8282\u7701\u4e86\u6253\u5370\u7684\u65f6\u95f4\u548c\u529f\u8017\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4e3a\u4e86\u8bbe\u7f6e\u6b64\u88c5\u7f6e\uff0c\u5c06\u540c\u6b65\u5e26\u5207\u81f32 x 140 cm\u957f\u3002\u8fd9\u5b8c\u5168\u53d6\u51b3\u4e8e\u6253\u5370\u673a\u7684\u5c3a\u5bf8\uff0c\u56e0\u6b64\u8bf7\u5148\u8bbe\u7f6e\u597d\u76ae\u5e26\uff0c\u518d\u6309\u7167\u5c3a\u5bf8\u8fdb\u884c\u88c1\u5207\u3002\u4ece\u4e00\u4fa7\u5f00\u59cb\uff0c\u5c06\u4e00\u6761\u76ae\u5e26\u5939\u5728\u6324\u51fa\u673a\u6ed1\u5757\u7684\u4e00\u89d2\u3002\u6700\u7ec8\u7ed3\u679c\u5e94\u5982\u4e0b\u56fe\u6240\u793a\uff08\u56fe2\uff09\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_5755\" class=\"wp-caption alignnone\" style=\"width: 710px;\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5755\" src=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image005.jpg\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image005.jpg 700w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image005-300x200.jpg 300w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image005-219x146.jpg 219w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image005-50x33.jpg 50w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image005-112x75.jpg 112w\" alt=\"reprap 3d printer\" width=\"700\" height=\"467\" aria-describedby=\"caption-attachment-5755\" \/><\/p>\n<p id=\"caption-attachment-5755\" class=\"wp-caption-text\">\u56fe2\uff1a\u4ec5\u8fde\u63a5\u4e86\u4e00\u6839\u76ae\u5e26\u7684\u6253\u5370\u673a<\/p>\n<\/div>\n<p><span style=\"font-weight: 400;\">\u4ee5\u4e0b\u662f\u5b89\u88c5\u6280\u5de7\uff1a<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u5c06\u5e73\u6ed1\u4fa7\u7f20\u7ed5\u5728\u5806\u53e0\u7684\u5e95\u90e8\u540c\u6b65\u76ae\u5e26\u8f6e\u4e0a\u3002<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u5c06\u76ae\u5e26\u7684\u9f7f\u4fa7\u7f20\u7ed5\u5728\u6b65\u8fdb\u7535\u673a\u4e0a\u7684\u540c\u6b65\u76ae\u5e26\u8f6e\u4e0a\u3002<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u5c06\u76ae\u5e26\u7684\u9f7f\u4fa7\u7f20\u7ed5\u5728\u7d27\u6328\u7740\u7684\u4e24\u4e2a\u89d2\u5904\u7684\u5e95\u90e8\u8f74\u627f\u4e0a\u3002<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u5c06\u9f7f\u4fa7\u7f20\u7ed5\u5728\u5e95\u90e8\u540c\u6b65\u76ae\u5e26\u8f6e\u4e0a\uff0c\u5e76\u5c06\u5176\u5939\u7d27\u5728\u53cd\u5bf9\u89d2\u7ebf\u4e0a\u3002<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u4f7f\u7528\u9876\u90e8\u540c\u6b65\u76ae\u5e26\u8f6e\u548c\u8f74\u627f\u5728\u53e6\u4e00\u4e2a\u6b65\u8fdb\u7535\u673a\u4e0a\u91cd\u590d\u4e0a\u8ff0\u6b65\u9aa4\u3002<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2><b>\u6b65\u9aa42\uff1a\u6d4b\u8bd5\u6240\u6709\u7ec4\u4ef6<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u5728\u7ee7\u7eed\u8fdb\u884c\u8be5\u9879\u76ee\u4e4b\u524d\uff0c\u6211\u4eec\u5c06\u5bf9\u6240\u6709\u7ec4\u4ef6\u5206\u522b\u8fdb\u884c\u6d4b\u8bd5\uff0c\u786e\u8ba4\u80fd\u5426\u6b63\u5e38\u5de5\u4f5c\u3002\u8bf7\u786e\u8ba4\u5df2\u4e0b\u8f7dArduino IDE\u3002\u5c06\u4ee5\u4e0b\u4ee3\u7801\u590d\u5236\u5e76\u7c98\u8d34\u5230Arduino\u73af\u5883\u4e2d\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-c\" data-lang=\"C\"><code>#define X_STEP_PIN      54\r\n\r\n#define X_DIR_PIN       55\r\n\r\n#define X_ENABLE_PIN       38\r\n\r\n#define X_MIN_PIN           3\r\n\r\n#define X_MAX_PIN           2\r\n\r\n#define Y_STEP_PIN         60\r\n\r\n#define Y_DIR_PIN          61\r\n\r\n#define Y_ENABLE_PIN       56\r\n\r\n#define Y_MIN_PIN          14\r\n\r\n#define Y_MAX_PIN          15\r\n\r\n#define Z_STEP_PIN         46\r\n\r\n#define Z_DIR_PIN          48\r\n\r\n#define Z_ENABLE_PIN       62\r\n\r\n#define Z_MIN_PIN          18\r\n\r\n#define Z_MAX_PIN          19\r\n\r\n#define E_STEP_PIN         26\r\n\r\n#define E_DIR_PIN          28\r\n\r\n#define E_ENABLE_PIN       24\r\n\r\n#define Q_STEP_PIN     36\r\n\r\n#define Q_DIR_PIN          34\r\n\r\n#define Q_ENABLE_PIN       30\r\n\r\n#define SDPOWER            -1\r\n\r\n#define SDSS               53\r\n\r\n#define LED_PIN            13\r\n\r\n#define FAN_PIN         9\r\n\r\n#define PS_ON_PIN          12\r\n\r\n#define KILL_PIN           -1\r\n\r\n#define HEATER_0_PIN       10\r\n\r\n#define HEATER_1_PIN    8\r\n\r\n#define TEMP_0_PIN          13   \/\/ ANALOG NUMBERING\r\n\r\n#define TEMP_1_PIN          14   \/\/ ANALOG NUMBERING\r\n\r\nvoid setup() {\r\n\r\n pinMode(FAN_PIN , OUTPUT);\r\n\r\n pinMode(HEATER_0_PIN , OUTPUT);\r\n\r\n pinMode(HEATER_1_PIN , OUTPUT);\r\n\r\n pinMode(LED_PIN  , OUTPUT);\r\n\r\n pinMode(X_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(X_DIR_PIN , OUTPUT);\r\n\r\n pinMode(X_ENABLE_PIN , OUTPUT);\r\n\r\n pinMode(Y_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(Y_DIR_PIN , OUTPUT);\r\n\r\n pinMode(Y_ENABLE_PIN , OUTPUT);\r\n\r\n pinMode(Z_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(Z_DIR_PIN , OUTPUT);\r\n\r\n pinMode(Z_ENABLE_PIN , OUTPUT);\r\n\r\n pinMode(E_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(E_DIR_PIN , OUTPUT);\r\n\r\n pinMode(E_ENABLE_PIN , OUTPUT);\r\n\r\n pinMode(Q_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(Q_DIR_PIN , OUTPUT);\r\n\r\n pinMode(Q_ENABLE_PIN , OUTPUT);\r\n\r\n  digitalWrite(X_ENABLE_PIN , LOW);\r\n\r\n   digitalWrite(Y_ENABLE_PIN , LOW);\r\n\r\n   digitalWrite(Z_ENABLE_PIN , LOW);\r\n\r\n   digitalWrite(E_ENABLE_PIN , LOW);\r\n\r\ndigitalWrite(Q_ENABLE_PIN , LOW);\r\n\r\n}\r\n\r\nvoid loop () {\r\n\r\n if (millis() %1000 &lt;500)\r\n\r\ndigitalWrite(LED_PIN, HIGH);\r\n\r\n else\r\n\r\n  digitalWrite(LED_PIN, LOW);\r\n\r\n if (millis() %1000 &lt;300) {\r\n\r\n   digitalWrite(HEATER_0_PIN, HIGH);\r\n\r\ndigitalWrite(HEATER_1_PIN, LOW);\r\n\r\ndigitalWrite(FAN_PIN, LOW);\r\n\r\n } else if (millis() %1000 &lt;600) {\r\n\r\n   digitalWrite(HEATER_0_PIN, LOW);\r\n\r\n   digitalWrite(HEATER_1_PIN, HIGH);\r\n\r\ndigitalWrite(FAN_PIN, LOW);\r\n\r\n } else  {\r\n\r\n   digitalWrite(HEATER_0_PIN, LOW);\r\n\r\n   digitalWrite(HEATER_1_PIN, LOW);\r\n\r\ndigitalWrite(FAN_PIN, HIGH);\r\n\r\n }\r\n\r\n if (millis() %10000 &lt;5000) {\r\n\r\n   digitalWrite(X_DIR_PIN , HIGH);\r\n\r\n   digitalWrite(Y_DIR_PIN , HIGH);\r\n\r\n   digitalWrite(Z_DIR_PIN , HIGH);\r\n\r\n   digitalWrite(E_DIR_PIN , HIGH);\r\n\r\n   digitalWrite(Q_DIR_PIN , HIGH);\r\n\r\n }\r\n\r\n else {\r\n\r\n   digitalWrite(X_DIR_PIN , LOW);\r\n\r\n   digitalWrite(Y_DIR_PIN , LOW);\r\n\r\n   digitalWrite(Z_DIR_PIN , LOW);\r\n\r\n   digitalWrite(E_DIR_PIN , LOW);\r\n\r\n   digitalWrite(Q_DIR_PIN , LOW);\r\n\r\n }\r\n\r\n \r\n\r\n   digitalWrite(X_STEP_PIN , HIGH);\r\n\r\n   digitalWrite(Y_STEP_PIN , HIGH);\r\n\r\n   digitalWrite(Z_STEP_PIN , HIGH);\r\n\r\n   digitalWrite(E_STEP_PIN , HIGH);\r\n\r\n   digitalWrite(Q_STEP_PIN , HIGH);\r\n\r\n delay(1);\r\n\r\n   digitalWrite(X_STEP_PIN , LOW);\r\n\r\n   digitalWrite(Y_STEP_PIN , LOW);\r\n\r\n   digitalWrite(Z_STEP_PIN , LOW);\r\n\r\n   digitalWrite(E_STEP_PIN , LOW);\r\n\r\n   digitalWrite(Q_STEP_PIN , LOW);\r\n\r\n}\r\n\r\n\r\n\r\nThis code should activate all the steppers, fans, and heaters. The only problem with this code is that it does not activate both z-axis steppers; it only activates one. If you encounter any problems with any of the components, try isolating them and only running them in the code. If you would like to test the z-axis and thermistor, download the following codes:\r\n\r\n\r\n\r\n&lt;thermistortables.h&gt;\r\n\r\n\r\n\r\n#ifndef THERMISTORTABLES_H_\r\n#define THERMISTORTABLES_H_\r\n\r\n#define OVERSAMPLENR 16\r\n\r\n#if (THERMISTORHEATER_0 == 1) || (THERMISTORHEATER_1 == 1)  || (THERMISTORHEATER_2 == 1) || (THERMISTORBED == 1) \/\/100k bed thermistor\r\n\r\nconst short temptable_1[][2] PROGMEM = {\r\n{       23*OVERSAMPLENR ,       300     },\r\n{       25*OVERSAMPLENR ,       295     },\r\n{       27*OVERSAMPLENR ,       290     },\r\n{       28*OVERSAMPLENR ,       285     },\r\n{       31*OVERSAMPLENR ,       280     },\r\n{       33*OVERSAMPLENR ,       275     },\r\n{       35*OVERSAMPLENR ,       270     },\r\n{       38*OVERSAMPLENR ,       265     },\r\n{       41*OVERSAMPLENR ,       260     },\r\n{       44*OVERSAMPLENR ,       255     },\r\n{       48*OVERSAMPLENR ,       250     },\r\n{       52*OVERSAMPLENR ,       245     },\r\n{       56*OVERSAMPLENR ,       240     },\r\n{       61*OVERSAMPLENR ,       235     },\r\n{       66*OVERSAMPLENR ,       230     },\r\n{       71*OVERSAMPLENR ,       225     },\r\n{       78*OVERSAMPLENR ,       220     },\r\n{       84*OVERSAMPLENR ,       215     },\r\n{       92*OVERSAMPLENR ,       210     },\r\n{       100*OVERSAMPLENR        ,       205     },\r\n{       109*OVERSAMPLENR        ,       200     },\r\n{       120*OVERSAMPLENR        ,       195     },\r\n{       131*OVERSAMPLENR        ,       190     },\r\n{       143*OVERSAMPLENR        ,       185     },\r\n{       156*OVERSAMPLENR        ,       180     },\r\n{       171*OVERSAMPLENR        ,       175     },\r\n{       187*OVERSAMPLENR        ,       170     },\r\n{       205*OVERSAMPLENR        ,       165     },\r\n{       224*OVERSAMPLENR        ,       160     },\r\n{       245*OVERSAMPLENR        ,       155     },\r\n{       268*OVERSAMPLENR        ,       150     },\r\n{       293*OVERSAMPLENR        ,       145     },\r\n{       320*OVERSAMPLENR        ,       140     },\r\n{       348*OVERSAMPLENR        ,       135     },\r\n{       379*OVERSAMPLENR        ,       130     },\r\n{       411*OVERSAMPLENR        ,       125     },\r\n{       445*OVERSAMPLENR        ,       120     },\r\n{       480*OVERSAMPLENR        ,       115     },\r\n{       516*OVERSAMPLENR        ,       110     },\r\n{       553*OVERSAMPLENR        ,       105     },\r\n{       591*OVERSAMPLENR        ,       100     },\r\n{       628*OVERSAMPLENR        ,       95      },\r\n{       665*OVERSAMPLENR        ,       90      },\r\n{       702*OVERSAMPLENR        ,       85      },\r\n{       737*OVERSAMPLENR        ,       80      },\r\n{       770*OVERSAMPLENR        ,       75      },\r\n{       801*OVERSAMPLENR        ,       70      },\r\n{       830*OVERSAMPLENR        ,       65      },\r\n{       857*OVERSAMPLENR        ,       60      },\r\n{       881*OVERSAMPLENR        ,       55      },\r\n{       903*OVERSAMPLENR        ,       50      },\r\n{       922*OVERSAMPLENR        ,       45      },\r\n{       939*OVERSAMPLENR        ,       40      },\r\n{       954*OVERSAMPLENR        ,       35      },\r\n{       966*OVERSAMPLENR        ,       30      },\r\n{       977*OVERSAMPLENR        ,       25      },\r\n{       985*OVERSAMPLENR        ,       20      },\r\n{       993*OVERSAMPLENR        ,       15      },\r\n{       999*OVERSAMPLENR        ,       10      },\r\n{       1004*OVERSAMPLENR       ,       5       },\r\n{       1008*OVERSAMPLENR       ,       0       } \/\/safety\r\n};\r\n#endif\r\n#if (THERMISTORHEATER_0 == 2) || (THERMISTORHEATER_1 == 2) || (THERMISTORHEATER_2 == 2) || (THERMISTORBED == 2) \/\/200k bed thermistor\r\nconst short temptable_2[][2] PROGMEM = {\r\n  {1*OVERSAMPLENR, 848},\r\n  {54*OVERSAMPLENR, 275},\r\n  {107*OVERSAMPLENR, 228},\r\n  {160*OVERSAMPLENR, 202},\r\n  {213*OVERSAMPLENR, 185},\r\n  {266*OVERSAMPLENR, 171},\r\n  {319*OVERSAMPLENR, 160},\r\n  {372*OVERSAMPLENR, 150},\r\n  {425*OVERSAMPLENR, 141},\r\n  {478*OVERSAMPLENR, 133},\r\n  {531*OVERSAMPLENR, 125},\r\n  {584*OVERSAMPLENR, 118},\r\n  {637*OVERSAMPLENR, 110},\r\n  {690*OVERSAMPLENR, 103},\r\n  {743*OVERSAMPLENR, 95},\r\n  {796*OVERSAMPLENR, 86},\r\n  {849*OVERSAMPLENR, 77},\r\n  {902*OVERSAMPLENR, 65},\r\n  {955*OVERSAMPLENR, 49},\r\n  {1008*OVERSAMPLENR, 17},\r\n  {1020*OVERSAMPLENR, 0} \/\/safety\r\n};\r\n\r\n#endif\r\n#if (THERMISTORHEATER_0 == 3) || (THERMISTORHEATER_1 == 3) || (THERMISTORHEATER_2 == 3) || (THERMISTORBED == 3) \/\/mendel-parts\r\nconst short temptable_3[][2] PROGMEM = {\r\n               {1*OVERSAMPLENR,864},\r\n               {21*OVERSAMPLENR,300},\r\n               {25*OVERSAMPLENR,290},\r\n               {29*OVERSAMPLENR,280},\r\n               {33*OVERSAMPLENR,270},\r\n               {39*OVERSAMPLENR,260},\r\n               {46*OVERSAMPLENR,250},\r\n               {54*OVERSAMPLENR,240},\r\n               {64*OVERSAMPLENR,230},\r\n               {75*OVERSAMPLENR,220},\r\n               {90*OVERSAMPLENR,210},\r\n               {107*OVERSAMPLENR,200},\r\n               {128*OVERSAMPLENR,190},\r\n               {154*OVERSAMPLENR,180},\r\n               {184*OVERSAMPLENR,170},\r\n               {221*OVERSAMPLENR,160},\r\n               {265*OVERSAMPLENR,150},\r\n               {316*OVERSAMPLENR,140},\r\n               {375*OVERSAMPLENR,130},\r\n               {441*OVERSAMPLENR,120},\r\n               {513*OVERSAMPLENR,110},\r\n               {588*OVERSAMPLENR,100},\r\n               {734*OVERSAMPLENR,80},\r\n               {856*OVERSAMPLENR,60},\r\n               {938*OVERSAMPLENR,40},\r\n               {986*OVERSAMPLENR,20},\r\n               {1008*OVERSAMPLENR,0},\r\n               {1018*OVERSAMPLENR,-20}\r\n       };\r\n\r\n#endif\r\n#if (THERMISTORHEATER_0 == 4) || (THERMISTORHEATER_1 == 4) || (THERMISTORHEATER_2 == 4) || (THERMISTORBED == 4) \/\/10k thermistor\r\nconst short temptable_4[][2] PROGMEM = {\r\n  {1*OVERSAMPLENR, 430},\r\n  {54*OVERSAMPLENR, 137},\r\n  {107*OVERSAMPLENR, 107},\r\n  {160*OVERSAMPLENR, 91},\r\n  {213*OVERSAMPLENR, 80},\r\n  {266*OVERSAMPLENR, 71},\r\n  {319*OVERSAMPLENR, 64},\r\n  {372*OVERSAMPLENR, 57},\r\n  {425*OVERSAMPLENR, 51},\r\n  {478*OVERSAMPLENR, 46},\r\n  {531*OVERSAMPLENR, 41},\r\n  {584*OVERSAMPLENR, 35},\r\n  {637*OVERSAMPLENR, 30},\r\n  {690*OVERSAMPLENR, 25},\r\n  {743*OVERSAMPLENR, 20},\r\n  {796*OVERSAMPLENR, 14},\r\n  {849*OVERSAMPLENR, 7},\r\n  {902*OVERSAMPLENR, 0},\r\n  {955*OVERSAMPLENR, -11},\r\n  {1008*OVERSAMPLENR, -35}\r\n};\r\n#endif\r\n\r\n#if (THERMISTORHEATER_0 == 5) || (THERMISTORHEATER_1 == 5) || (THERMISTORHEATER_2 == 5) || (THERMISTORBED == 5) \/\/100k ParCan thermistor (104GT-2)\r\nconst short temptable_5[][2] PROGMEM = {\r\n{1*OVERSAMPLENR, 713},\r\n{18*OVERSAMPLENR, 316},\r\n{35*OVERSAMPLENR, 266},\r\n{52*OVERSAMPLENR, 239},\r\n{69*OVERSAMPLENR, 221},\r\n{86*OVERSAMPLENR, 208},\r\n{103*OVERSAMPLENR, 197},\r\n{120*OVERSAMPLENR, 188},\r\n{137*OVERSAMPLENR, 181},\r\n{154*OVERSAMPLENR, 174},\r\n{171*OVERSAMPLENR, 169},\r\n{188*OVERSAMPLENR, 163},\r\n{205*OVERSAMPLENR, 159},\r\n{222*OVERSAMPLENR, 154},\r\n{239*OVERSAMPLENR, 150},\r\n{256*OVERSAMPLENR, 147},\r\n{273*OVERSAMPLENR, 143},\r\n{290*OVERSAMPLENR, 140},\r\n{307*OVERSAMPLENR, 136},\r\n{324*OVERSAMPLENR, 133},\r\n{341*OVERSAMPLENR, 130},\r\n{358*OVERSAMPLENR, 128},\r\n{375*OVERSAMPLENR, 125},\r\n{392*OVERSAMPLENR, 122},\r\n{409*OVERSAMPLENR, 120},\r\n{426*OVERSAMPLENR, 117},\r\n{443*OVERSAMPLENR, 115},\r\n{460*OVERSAMPLENR, 112},\r\n{477*OVERSAMPLENR, 110},\r\n{494*OVERSAMPLENR, 108},\r\n{511*OVERSAMPLENR, 106},\r\n{528*OVERSAMPLENR, 103},\r\n{545*OVERSAMPLENR, 101},\r\n{562*OVERSAMPLENR, 99},\r\n{579*OVERSAMPLENR, 97},\r\n{596*OVERSAMPLENR, 95},\r\n{613*OVERSAMPLENR, 92},\r\n{630*OVERSAMPLENR, 90},\r\n{647*OVERSAMPLENR, 88},\r\n{664*OVERSAMPLENR, 86},\r\n{681*OVERSAMPLENR, 84},\r\n{698*OVERSAMPLENR, 81},\r\n{715*OVERSAMPLENR, 79},\r\n{732*OVERSAMPLENR, 77},\r\n{749*OVERSAMPLENR, 75},\r\n{766*OVERSAMPLENR, 72},\r\n{783*OVERSAMPLENR, 70},\r\n{800*OVERSAMPLENR, 67},\r\n{817*OVERSAMPLENR, 64},\r\n{834*OVERSAMPLENR, 61},\r\n{851*OVERSAMPLENR, 58},\r\n{868*OVERSAMPLENR, 55},\r\n{885*OVERSAMPLENR, 52},\r\n{902*OVERSAMPLENR, 48},\r\n{919*OVERSAMPLENR, 44},\r\n{936*OVERSAMPLENR, 40},\r\n{953*OVERSAMPLENR, 34},\r\n{970*OVERSAMPLENR, 28},\r\n{987*OVERSAMPLENR, 20},\r\n{1004*OVERSAMPLENR, 8},\r\n{1021*OVERSAMPLENR, 0}\r\n};\r\n#endif\r\n\r\n#if (THERMISTORHEATER_0 == 6) || (THERMISTORHEATER_1 == 6) || (THERMISTORHEATER_2 == 6) || (THERMISTORBED == 6) \/\/ 100k Epcos thermistor\r\nconst short temptable_6[][2] PROGMEM = {\r\n  {28*OVERSAMPLENR, 250},\r\n  {31*OVERSAMPLENR, 245},\r\n  {35*OVERSAMPLENR, 240},\r\n  {39*OVERSAMPLENR, 235},\r\n  {42*OVERSAMPLENR, 230},\r\n  {44*OVERSAMPLENR, 225},\r\n  {49*OVERSAMPLENR, 220},\r\n  {53*OVERSAMPLENR, 215},\r\n  {62*OVERSAMPLENR, 210},\r\n  {73*OVERSAMPLENR, 205},\r\n  {72*OVERSAMPLENR, 200},\r\n  {94*OVERSAMPLENR, 190},\r\n  {102*OVERSAMPLENR, 185},\r\n  {116*OVERSAMPLENR, 170},\r\n  {143*OVERSAMPLENR, 160},\r\n  {183*OVERSAMPLENR, 150},\r\n  {223*OVERSAMPLENR, 140},\r\n  {270*OVERSAMPLENR, 130},\r\n  {318*OVERSAMPLENR, 120},\r\n  {383*OVERSAMPLENR, 110},\r\n  {413*OVERSAMPLENR, 105},\r\n  {439*OVERSAMPLENR, 100},\r\n  {484*OVERSAMPLENR, 95},\r\n  {513*OVERSAMPLENR, 90},\r\n  {607*OVERSAMPLENR, 80},\r\n  {664*OVERSAMPLENR, 70},\r\n  {781*OVERSAMPLENR, 60},\r\n  {810*OVERSAMPLENR, 55},\r\n  {849*OVERSAMPLENR, 50},\r\n  {914*OVERSAMPLENR, 45},\r\n  {914*OVERSAMPLENR, 40},\r\n  {935*OVERSAMPLENR, 35},\r\n  {954*OVERSAMPLENR, 30},\r\n  {970*OVERSAMPLENR, 25},\r\n  {978*OVERSAMPLENR, 22},\r\n  {1008*OVERSAMPLENR, 3}\r\n};\r\n#endif\r\n\r\n#if (THERMISTORHEATER_0 == 7) || (THERMISTORHEATER_1 == 7) || (THERMISTORHEATER_2 == 7) || (THERMISTORBED == 7) \/\/ 100k Honeywell 135-104LAG-J01\r\nconst short temptable_7[][2] PROGMEM = {\r\n  {46*OVERSAMPLENR, 270},\r\n  {50*OVERSAMPLENR, 265},\r\n  {54*OVERSAMPLENR, 260},\r\n  {58*OVERSAMPLENR, 255},\r\n  {62*OVERSAMPLENR, 250},\r\n  {67*OVERSAMPLENR, 245},\r\n  {72*OVERSAMPLENR, 240},\r\n  {79*OVERSAMPLENR, 235},\r\n  {85*OVERSAMPLENR, 230},\r\n  {91*OVERSAMPLENR, 225},\r\n  {99*OVERSAMPLENR, 220},\r\n  {107*OVERSAMPLENR, 215},\r\n  {116*OVERSAMPLENR, 210},\r\n  {126*OVERSAMPLENR, 205},\r\n  {136*OVERSAMPLENR, 200},\r\n  {149*OVERSAMPLENR, 195},\r\n  {160*OVERSAMPLENR, 190},\r\n  {175*OVERSAMPLENR, 185},\r\n  {191*OVERSAMPLENR, 180},\r\n  {209*OVERSAMPLENR, 175},\r\n  {224*OVERSAMPLENR, 170},\r\n  {246*OVERSAMPLENR, 165},\r\n  {267*OVERSAMPLENR, 160},\r\n  {293*OVERSAMPLENR, 155},\r\n  {316*OVERSAMPLENR, 150},\r\n  {340*OVERSAMPLENR, 145},\r\n  {364*OVERSAMPLENR, 140},\r\n  {396*OVERSAMPLENR, 135},\r\n  {425*OVERSAMPLENR, 130},\r\n  {460*OVERSAMPLENR, 125},\r\n  {489*OVERSAMPLENR, 120},\r\n  {526*OVERSAMPLENR, 115},\r\n  {558*OVERSAMPLENR, 110},\r\n  {591*OVERSAMPLENR, 105},\r\n  {628*OVERSAMPLENR, 100},\r\n  {660*OVERSAMPLENR, 95},\r\n  {696*OVERSAMPLENR, 90},\r\n  {733*OVERSAMPLENR, 85},\r\n  {761*OVERSAMPLENR, 80},\r\n  {794*OVERSAMPLENR, 75},\r\n  {819*OVERSAMPLENR, 70},\r\n  {847*OVERSAMPLENR, 65},\r\n  {870*OVERSAMPLENR, 60},\r\n  {892*OVERSAMPLENR, 55},\r\n  {911*OVERSAMPLENR, 50},\r\n  {929*OVERSAMPLENR, 45},\r\n  {944*OVERSAMPLENR, 40},\r\n  {959*OVERSAMPLENR, 35},\r\n  {971*OVERSAMPLENR, 30},\r\n  {981*OVERSAMPLENR, 25},\r\n  {989*OVERSAMPLENR, 20},\r\n  {994*OVERSAMPLENR, 15},\r\n  {1001*OVERSAMPLENR, 10},\r\n  {1005*OVERSAMPLENR, 5}\r\n};\r\n#endif\r\n<\/code><\/pre>\n<\/div>\n<div class=\"hcb_wrap\">\n<pre class=\"prism undefined-numbers lang-c\" data-lang=\"C\"><code>#define _TT_NAME(_N) temptable_ ## _N\r\n#define TT_NAME(_N) _TT_NAME(_N)\r\n\r\n#ifdef THERMISTORHEATER_0\r\n #define heater_0_temptable TT_NAME(THERMISTORHEATER_0)\r\n #define heater_0_temptable_len (sizeof(heater_0_temptable)\/sizeof(*heater_0_temptable))\r\n#else\r\n#ifdef HEATER_0_USES_THERMISTOR\r\n #error No heater 0 thermistor table specified\r\n#else  \/\/ HEATER_0_USES_THERMISTOR\r\n #define heater_0_temptable 0\r\n #define heater_0_temptable_len 0\r\n#endif \/\/ HEATER_0_USES_THERMISTOR\r\n#endif\r\n\r\n#ifdef THERMISTORHEATER_1\r\n #define heater_1_temptable TT_NAME(THERMISTORHEATER_1)\r\n #define heater_1_temptable_len (sizeof(heater_1_temptable)\/sizeof(*heater_1_temptable))\r\n#else\r\n#ifdef HEATER_1_USES_THERMISTOR\r\n #error No heater 1 thermistor table specified\r\n#else  \/\/ HEATER_1_USES_THERMISTOR\r\n #define heater_1_temptable 0\r\n #define heater_1_temptable_len 0\r\n#endif \/\/ HEATER_1_USES_THERMISTOR\r\n#endif\r\n\r\n#ifdef THERMISTORHEATER_2\r\n #define heater_2_temptable TT_NAME(THERMISTORHEATER_2)\r\n #define heater_2_temptable_len (sizeof(heater_2_temptable)\/sizeof(*heater_2_temptable))\r\n#else\r\n#ifdef HEATER_2_USES_THERMISTOR\r\n #error No heater 2 thermistor table specified\r\n#else  \/\/ HEATER_2_USES_THERMISTOR\r\n #define heater_2_temptable 0\r\n #define heater_2_temptable_len 0\r\n#endif \/\/ HEATER_2_USES_THERMISTOR\r\n#endif\r\n\r\n#ifdef THERMISTORBED\r\n #define bedtemptable TT_NAME(THERMISTORBED)\r\n #define bedtemptable_len (sizeof(bedtemptable)\/sizeof(*bedtemptable))\r\n#else\r\n#ifdef BED_USES_THERMISTOR\r\n #error No bed thermistor table specified\r\n#endif \/\/ BED_USES_THERMISTOR\r\n#endif\r\n\r\n#endif \/\/THERMISTORTABLES_H_\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n&lt;ramps14test.ino&gt;\r\n\r\n\r\n\r\n#include \"thermistortables.h\"\r\n\r\n\r\n\r\n#define X_STEP_PIN         54\r\n\r\n#define X_DIR_PIN          55\r\n\r\n#define X_ENABLE_PIN       38\r\n\r\n#define X_MIN_PIN           3\r\n\r\n#define X_MAX_PIN           2\r\n\r\n\r\n\r\n#define Y_STEP_PIN         60\r\n\r\n#define Y_DIR_PIN          61\r\n\r\n#define Y_ENABLE_PIN       56\r\n\r\n#define Y_MIN_PIN          14\r\n\r\n#define Y_MAX_PIN          15\r\n\r\n\r\n\r\n#define Z_STEP_PIN         46\r\n\r\n#define Z_DIR_PIN          48\r\n\r\n#define Z_ENABLE_PIN       62\r\n\r\n#define Z_MIN_PIN          18\r\n\r\n#define Z_MAX_PIN          19\r\n\r\n\r\n\r\n#define E_STEP_PIN         26\r\n\r\n#define E_DIR_PIN          28\r\n\r\n#define E_ENABLE_PIN       24\r\n\r\n\r\n\r\n#define Q_STEP_PIN         36\r\n\r\n#define Q_DIR_PIN          34\r\n\r\n#define Q_ENABLE_PIN       30\r\n\r\n\r\n\r\n#define SDPOWER            -1\r\n\r\n\r\n\r\n#define EXTRUDERS 3\r\n\r\n\r\n\r\n#define TEMP_SENSOR_AD595_OFFSET 0.0\r\n\r\n#define TEMP_SENSOR_AD595_GAIN   1.0\r\n\r\n\r\n\r\n#define THERMISTORHEATER_0 1\r\n\r\n#define THERMISTORHEATER_1 1\r\n\r\n#define THERMISTORHEATER_2 1\r\n\r\n\r\n\r\n#define HEATER_0_USES_THERMISTOR 1\r\n\r\n#define HEATER_1_USES_THERMISTOR 1\r\n\r\n#define HEATER_2_USES_THERMISTOR 1\r\n\r\n\r\n\r\n static void *heater_ttbl_map[EXTRUDERS] = { (void *)heater_0_temptable\r\n\r\n#if EXTRUDERS &gt; 1\r\n\r\n                                           , (void *)heater_1_temptable\r\n\r\n#endif\r\n\r\n#if EXTRUDERS &gt; 2\r\n\r\n                                           , (void *)heater_2_temptable\r\n\r\n#endif\r\n\r\n#if EXTRUDERS &gt; 3\r\n\r\n #error Unsupported number of extruders\r\n\r\n#endif\r\n\r\n };\r\n\r\n \r\n\r\n   static int heater_ttbllen_map[EXTRUDERS] = { heater_0_temptable_len\r\n\r\n#if EXTRUDERS &gt; 1\r\n\r\n                                            , heater_1_temptable_len\r\n\r\n#endif\r\n\r\n#if EXTRUDERS &gt; 2\r\n\r\n                                            , heater_2_temptable_len\r\n\r\n#endif\r\n\r\n#if EXTRUDERS &gt; 3\r\n\r\n #error Unsupported number of extruders\r\n\r\n#endif\r\n\r\n };\r\n\r\n \r\n\r\n #define PGM_RD_W(x)   (short)pgm_read_word(&amp;x)\r\n\r\n\r\n\r\n#define SDSS               53\r\n\r\n#define LED_PIN            13\r\n\r\n\r\n\r\n#define FAN_PIN            9\r\n\r\n\r\n\r\n#define PS_ON_PIN          12\r\n\r\n#define KILL_PIN           -1\r\n\r\n\r\n\r\n#define HEATER_0_PIN       10\r\n\r\n\r\n\r\n#define HEATER_1_PIN       8\r\n\r\n#define TEMP_0_PIN         15   \/\/ ANALOG NUMBERING\r\n\r\n#define TEMP_1_PIN         14   \/\/ ANALOG NUMBERING\r\n\r\n#define TEMP_2_PIN         13   \/\/ ANALOG NUMBERING\r\n\r\n\r\n\r\nvoid setup() {\r\n\r\n \r\n\r\n pinMode(TEMP_0_PIN  , INPUT);\r\n\r\n pinMode(TEMP_1_PIN  , INPUT);\r\n\r\n pinMode(TEMP_2_PIN  , INPUT);\r\n\r\n \r\n\r\n pinMode(FAN_PIN , OUTPUT);\r\n\r\n pinMode(HEATER_0_PIN , OUTPUT);\r\n\r\n pinMode(HEATER_1_PIN , OUTPUT);\r\n\r\n pinMode(LED_PIN  , OUTPUT);\r\n\r\n \r\n\r\n pinMode(X_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(X_DIR_PIN    , OUTPUT);\r\n\r\n pinMode(X_ENABLE_PIN    , OUTPUT);\r\n\r\n \r\n\r\n pinMode(Y_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(Y_DIR_PIN    , OUTPUT);\r\n\r\n pinMode(Y_ENABLE_PIN    , OUTPUT);\r\n\r\n \r\n\r\n pinMode(Z_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(Z_DIR_PIN    , OUTPUT);\r\n\r\n pinMode(Z_ENABLE_PIN    , OUTPUT);\r\n\r\n \r\n\r\n pinMode(E_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(E_DIR_PIN    , OUTPUT);\r\n\r\n pinMode(E_ENABLE_PIN    , OUTPUT);\r\n\r\n \r\n\r\n pinMode(Q_STEP_PIN  , OUTPUT);\r\n\r\n pinMode(Q_DIR_PIN    , OUTPUT);\r\n\r\n pinMode(Q_ENABLE_PIN    , OUTPUT);\r\n\r\n \r\n\r\n  digitalWrite(X_ENABLE_PIN    , LOW);\r\n\r\n   digitalWrite(Y_ENABLE_PIN    , LOW);\r\n\r\n   digitalWrite(Z_ENABLE_PIN    , LOW);\r\n\r\n   digitalWrite(E_ENABLE_PIN    , LOW);\r\n\r\n   digitalWrite(Q_ENABLE_PIN    , LOW);\r\n\r\n   Serial.begin(115200);\r\n\r\n}\r\n\r\n\r\n\r\nfloat analog2temp(int raw, uint8_t e) {\r\n\r\n\r\n\r\n #ifdef HEATER_0_USES_MAX6675\r\n\r\n   if (e == 0)\r\n\r\n   {\r\n\r\n     return 0.25 * raw;\r\n\r\n   }\r\n\r\n #endif\r\n\r\n\r\n\r\n if(heater_ttbl_map[e] != 0)\r\n\r\n {\r\n\r\n   float celsius = 0;\r\n\r\n   byte i;  \r\n\r\n   short (*tt)[][2] = (short (*)[][2])(heater_ttbl_map[e]);\r\n\r\n\r\n\r\n   raw = (1023 * OVERSAMPLENR) - raw;\r\n\r\n   for (i=1; i&lt;heater_ttbllen_map[e]; i++)\r\n\r\n   {\r\n\r\n     if ((PGM_RD_W((*tt)[i][0]) &gt; raw) &amp;&amp; ((float)(PGM_RD_W((*tt)[i][0]) - PGM_RD_W((*tt)[i-1][0])) &gt;0))\r\n\r\n     {\r\n\r\n       celsius = PGM_RD_W((*tt)[i-1][1]) +\r\n\r\n         (raw - PGM_RD_W((*tt)[i-1][0])) *\r\n\r\n         (float)(PGM_RD_W((*tt)[i][1]) - PGM_RD_W((*tt)[i-1][1])) \/\r\n\r\n         (float)(PGM_RD_W((*tt)[i][0]) - PGM_RD_W((*tt)[i-1][0]));\r\n\r\n       break;\r\n\r\n     }\r\n\r\n   }\r\n\r\n\r\n\r\n   \/\/ Overflow: Set to last value in the table\r\n\r\n   if (i == heater_ttbllen_map[e]) celsius = PGM_RD_W((*tt)[i-1][1]);\r\n\r\n\r\n\r\n   return celsius;\r\n\r\n }\r\n\r\n return ((raw * ((5.0 * 100.0) \/ 1024.0) \/ OVERSAMPLENR) * TEMP_SENSOR_AD595_GAIN) + TEMP_SENSOR_AD595_OFFSET;\r\n\r\n}\r\n\r\n\r\n\r\nunsigned long prevMillis;\r\n\r\n\r\n\r\nvoid loop () {\r\n\r\n \r\n\r\n if (millis() %1000 &lt;500)\r\n\r\n   digitalWrite(LED_PIN, HIGH);\r\n\r\n else\r\n\r\n  digitalWrite(LED_PIN, LOW);\r\n\r\n \r\n\r\n if (millis() %1000 &lt;300) {\r\n\r\n   digitalWrite(HEATER_0_PIN, HIGH);\r\n\r\n   digitalWrite(HEATER_1_PIN, LOW);\r\n\r\n   digitalWrite(FAN_PIN, LOW);\r\n\r\n } else if (millis() %1000 &lt;600) {\r\n\r\n   digitalWrite(HEATER_0_PIN, LOW);\r\n\r\n   digitalWrite(HEATER_1_PIN, HIGH);\r\n\r\n   digitalWrite(FAN_PIN, LOW);\r\n\r\n } else  {\r\n\r\n   digitalWrite(HEATER_0_PIN, LOW);\r\n\r\n   digitalWrite(HEATER_1_PIN, LOW);\r\n\r\n   digitalWrite(FAN_PIN, HIGH);\r\n\r\n }\r\n\r\n \r\n\r\n if (millis() %2000 &lt;1000) {\r\n\r\n   digitalWrite(X_DIR_PIN    , HIGH);\r\n\r\n   digitalWrite(Y_DIR_PIN    , HIGH);\r\n\r\n   digitalWrite(Z_DIR_PIN    , HIGH);\r\n\r\n   digitalWrite(E_DIR_PIN    , HIGH);\r\n\r\n   digitalWrite(Q_DIR_PIN    , HIGH);\r\n\r\n }\r\n\r\n else {\r\n\r\n   digitalWrite(X_DIR_PIN    , LOW);\r\n\r\n   digitalWrite(Y_DIR_PIN    , LOW);\r\n\r\n   digitalWrite(Z_DIR_PIN    , LOW);\r\n\r\n   digitalWrite(E_DIR_PIN    , LOW);\r\n\r\n   digitalWrite(Q_DIR_PIN    , LOW);\r\n\r\n }\r\n\r\n \r\n\r\n \r\n\r\n   digitalWrite(X_STEP_PIN    , HIGH);\r\n\r\n   digitalWrite(Y_STEP_PIN    , HIGH);\r\n\r\n   digitalWrite(Z_STEP_PIN    , HIGH);\r\n\r\n   digitalWrite(E_STEP_PIN    , HIGH);\r\n\r\n   digitalWrite(Q_STEP_PIN    , HIGH);\r\n\r\n delay(1);\r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n   \r\n\r\n   digitalWrite(X_STEP_PIN    , LOW);\r\n\r\n   digitalWrite(Y_STEP_PIN    , LOW);\r\n\r\n   digitalWrite(Z_STEP_PIN    , LOW);\r\n\r\n   digitalWrite(E_STEP_PIN    , LOW);\r\n\r\n   digitalWrite(Q_STEP_PIN    , LOW);\r\n\r\n   \r\n\r\n   if (millis() -prevMillis &gt;500){\r\n\r\n   prevMillis=millis();\r\n\r\n   int t = analogRead( TEMP_0_PIN);\r\n\r\n   Serial.print(\"T0 \");\r\n\r\n   Serial.print(t);\r\n\r\n   Serial.print(\"\/\");\r\n\r\n   Serial.print(analog2temp(1024 - t,0),0);\r\n\r\n   \r\n\r\n   Serial.print(\" T1 \");\r\n\r\n   t = analogRead( TEMP_1_PIN);\r\n\r\n   Serial.print(t);\r\n\r\n   Serial.print(\"\/\");\r\n\r\n   Serial.print(analog2temp(1024 - t,1),0);\r\n\r\n   \r\n\r\n   Serial.print(\" T2 \");\r\n\r\n   t = analogRead( TEMP_2_PIN);\r\n\r\n   Serial.print(t);\r\n\r\n   Serial.print(\"\/\");\r\n\r\n   Serial.println(analog2temp(1024 - t,2),0);\r\n\r\n   \r\n\r\n }\r\n\r\n   \r\n\r\n}\r\n<\/code><\/pre>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2><b>\u6b65\u9aa43\uff1a\u8fde\u63a5\u673a\u68b0\u7ec8\u7aef\u6321\u5757<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u673a\u68b0\u7ec8\u7aef\u6321\u5757\u6709\u4e24\u79cd\u7c7b\u578b\uff1a\u4e24\u4e2a\u5f15\u811a\u548c\u4e09\u4e2a\u5f15\u811a\u3002\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e09\u4e2a\u5f15\u811a\u7684\u7ec8\u7aef\u6321\u5757\uff0c\u8fd9\u4e0e\u4e24\u4e2a\u5f15\u811a\u7ec8\u7aef\u6321\u5757\u7684\u5b89\u88c5\u51e0\u4e4e\u76f8\u540c\u3002\u5bf9\u4e8e\u4e09\u4e2a\u5f15\u811a\u7684\u7ec8\u7aef\u6321\u5757\uff0c\u5c06\u7eff\u8272\u4fe1\u53f7\u7ebf\u63d2\u5165RAMPS\u7684S\u5f15\u811a\uff0c\u9ed1\u8272\u63a5\u5730\u7ebf\u63d2\u5165\u8d1f\u6781\uff0c\u7ea2\u8272\u6b63\u6781\u7ebf\u63d2\u5165\u6b63\u6781\u3002<\/span><\/p>\n<div id=\"attachment_5756\" class=\"wp-caption alignnone\" style=\"width: 710px;\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5756\" src=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image007.jpg\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image007.jpg 700w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image007-300x279.jpg 300w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image007-157x146.jpg 157w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image007-50x47.jpg 50w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image007-81x75.jpg 81w\" alt=\"reprap 3d printer\" width=\"700\" height=\"652\" aria-describedby=\"caption-attachment-5756\" \/><\/p>\n<p id=\"caption-attachment-5756\" class=\"wp-caption-text\">\u56fe3\uff1a\u673a\u68b0\u7ec8\u7aef\u6321\u5757\u8fde\u63a5<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u5bf9\u4e8e\u4e24\u4e2a\u5f15\u811a\u7684\u7ec8\u7aef\u6321\u5757\uff0c\u9700\u8981\u5c06\u7ea2\u8272\u6b63\u6781\u7ebf\u63d2\u5165RAMPS\u7684S\u5f15\u811a\uff0c\u5c06\u9ed1\u8272\u63a5\u5730\u7ebf\u63d2\u5165\u8d1f\u6781\u3002\u5e94\u4f7f\u75286\u4e2a\u7ec8\u7aef\u6321\u5757\uff1a\u6bcf\u4e2a\u8f74\u6700\u5927\u503c\u5904\u548c\u6700\u5c0f\u503c\u5904\u3002\u56fe4\u663e\u793a\u4e86\u5b8c\u6210\u4e86\u6240\u6709\u8fde\u63a5\u7684RAMPS\u677f\u3002<\/span><\/p>\n<div id=\"attachment_5757\" class=\"wp-caption alignnone\" style=\"width: 710px;\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5757\" src=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image009-copy.jpg\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image009-copy.jpg 700w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image009-copy-260x300.jpg 260w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image009-copy-127x146.jpg 127w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image009-copy-43x50.jpg 43w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image009-copy-65x75.jpg 65w\" alt=\"reprap 3d printer\" width=\"700\" height=\"807\" aria-describedby=\"caption-attachment-5757\" \/><\/p>\n<p id=\"caption-attachment-5757\" class=\"wp-caption-text\">\u56fe4\uff1a\u8fde\u63a5\u5230RAMPS\u7684\u673a\u68b0\u7ec8\u7aef\u6321\u5757<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">\u53ef\u80fd\u9700\u8981\u53cd\u590d\u8bd5\u9a8c\u624d\u80fd\u627e\u5230\u7ec8\u7aef\u6321\u5757\u7684\u6700\u4f73\u4f4d\u7f6e\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>\u6b65\u9aa44\uff1a\u8fde\u63a5\u5c4f\u5e55<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u53d6\u51fa\u60a8\u7684\u5168\u56fe\u5f62\u667a\u80fd\u63a7\u5236\u5668\u3002\u5c06\u4e24\u6761\u5e26\u72b6\u7535\u7f06\u4e0e\u5c4f\u5e55\u548c\u6269\u5c55\u677f\u8fde\u63a5\u3002\u628a\u6269\u5c55\u677f\u6309\u538b\u5230RAMPS\u7684\u672b\u7aef\u3002\u7528\u80f6\u5e26\u5c06\u5c4f\u5e55\u7c98\u8d34\u5230\u5976\u7bb1\u4e0a\u53ef\u4ee5\u907f\u514d\u673a\u68b0\u5e72\u6270\u7684\u4f4d\u7f6e\u3002\u56fe5\u663e\u793a\u4e86\u7ec4\u4ef6\u7684\u8bbe\u7f6e\u65b9\u5f0f\u3002<\/span><\/p>\n<div id=\"attachment_5758\" class=\"wp-caption alignnone\" style=\"width: 710px;\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-5758\" src=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image011-1.jpg\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" srcset=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image011-1.jpg 700w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image011-1-300x263.jpg 300w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image011-1-166x146.jpg 166w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image011-1-50x44.jpg 50w, https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/05\/image011-1-86x75.jpg 86w\" alt=\"reprap 3d printer\" width=\"700\" height=\"614\" aria-describedby=\"caption-attachment-5758\" \/><\/p>\n<p id=\"caption-attachment-5758\" class=\"wp-caption-text\">\u56fe5\uff1a\u5c4f\u5e55\u653e\u7f6e\u89c6\u56fe<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<h2><b>\u6b65\u9aa45\uff1a\u4e0b\u8f7d\u5e76\u914d\u7f6eMarlin<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Marlin\u88ab\u7528\u4e8e\u6253\u5370\u673a\u7684\u8fd0\u884c\uff0c\u800c\u975e\u7528\u4e8e\u7f16\u5199\u6574\u4e2a\u4ee3\u7801\u3002\u5b83\u5c06\u6587\u4ef6\u8f6c\u6362\u4e3aG\u4ee3\u7801\uff0c\u8c03\u6574\u6253\u5370\u5e8a\u5e73\u6574\u5ea6\uff0c\u5e76\u521b\u5efa\u4e00\u4e2a\u7528\u6237\u53cb\u597d\u7684\u754c\u9762\u3002\u53ef\u4ee5\u5728\u4ee5\u4e0b\u4f4d\u7f6e\u627e\u5230Marlin\u56fa\u4ef6\uff1a<\/span><a href=\"https:\/\/github.com\/MarlinFirmware\/Marlin\"><span style=\"font-weight: 400;\">https:\/\/github.com\/MarlinFirmware\/Marlin<\/span><\/a><span style=\"font-weight: 400;\">\u3002\u4e0b\u8f7d\u6587\u4ef6\u5e76\u5728Arduino IDE\u4e2d\u6253\u5f00\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Marlin\u53ef\u7528\u4e8e\u8bb8\u591a\u4e0d\u540c\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f8b\u5982RAMPS\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u9700\u8981\u8fdb\u884c\u4e00\u4e9b\u914d\u7f6e\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u9996\u5148\uff0c\u9700\u8981\u5224\u65ad\u4e00\u4e0b\u81ea\u5df1\u4f7f\u7528\u7684\u662f\u4ec0\u4e48\u677f\u3002\u6559\u7a0b\u4e2d\u5c06\u5047\u8bbe\u60a8\u4f7f\u7528\u4e86RAMPS 1.4\u3002\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u53e6\u4e00\u5757\u677f\uff0c\u8bf7\u68c0\u67e5Marlin\u4e2d\u7684 <\/span><b>boards.h<\/b><span style=\"font-weight: 400;\"> \u6587\u4ef6\uff0c\u4ee5\u627e\u5230\u9002\u5408\u60a8\u7684\u677f\u7684\u53d8\u91cf\u3002\u6253\u5f00Marlin\u4e2d\u7684 <\/span><b>Configuration.h<\/b><span style=\"font-weight: 400;\"> \u6587\u4ef6\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u547d\u4ee4\u884c\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define MOTHERBOARD<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u5220\u9664\u521d\u59cb\u503c\u5e76\u8f93\u5165\u4e0eRAMPS 1.4 EFB\u677f\u5173\u8054\u7684\u6570\u5b5743\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define CUSTOM_MACHINE_NAME \u201c3D Printer\u201d<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u60a8\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u8981\u66f4\u6539\u673a\u5668\u540d\u79f0\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define MACHINE_UUID \u201c00000000-0000-0000-0000-000000000000\u201d<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u5c06UUID\u66f4\u6539\u4e3a\u4e00\u4e2a\u968f\u673a\u751f\u6210\u7684UUID\uff0c\u4f7f\u5b83\u6210\u4e3a\u7528\u4e8e\u84dd\u7259\u901a\u4fe1\u7684\u552f\u4e00\u5730\u5740\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define EXTRUDERS 1<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u5982\u679c\u4f7f\u7528\u4e86\u4e00\u53f0\u6324\u51fa\u673a\uff0c\u8bf7\u786e\u4fdd\u5c06\u5176\u8bbe\u7f6e\u4e3a1\uff1b\u5982\u679c\u4f7f\u7528\u4e86\u4e24\u53f0\uff0c\u8bf7\u786e\u4fdd\u5c06\u5176\u8bbe\u7f6e\u4e3a2\u3002\u6b64\u5916\uff0c\u5728\u672c\u8282\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4e3a\u7b2c\u4e8c\u53f0\u6324\u51fa\u673a\u5b9a\u4e49\u5176\u4ed6\u53c2\u6570\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define POWER_SUPPLY 1<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u5982\u679c\u4f7f\u7528\u7684\u662fOEM\u7535\u6e90\uff0c\u5219\u5c061\u6362\u4e3a0\u3002\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662fATX\uff0c\u8bf7\u4f7f\u75281\u3002\u5982\u679c\u60a8\u4f7f\u7528\u4e86\u5176\u4ed6\u7535\u6e90\uff0c\u8bf7\u53c2\u9605\u76f8\u5173\u6587\u6863\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define TEMP_SENSOR_0<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u8fd9\u5b9a\u4e49\u4e86\u6324\u51fa\u673a\u7684\u70ed\u654f\u7535\u963b\u963b\u503c\u3002\u5927\u591a\u6570\u4e3a100K\uff0c\u5e94\u5b9a\u4e49\u4e3a1\u3002\u8bf7\u67e5\u770b\u76f8\u5173\u6587\u6863\u6765\u786e\u5b9a\u60a8\u7684\u70ed\u654f\u7535\u963b\u963b\u503c\u3002\u5728\u672c\u8282\u4e2d\u7684\u5269\u4f59\u90e8\u5206\u4e2d\u53ef\u4ee5\u5bf9\u60a8\u6240\u4f7f\u7528\u7684\u5176\u4ed6\u70ed\u654f\u7535\u963b\u963b\u503c\u8fdb\u884c\u5b9a\u4e49\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define HEATER_0_MINTEMP<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u672c\u90e8\u5206\u786e\u5b9a\u70ed\u7aef\u7684\u5b89\u5168\u6e29\u5ea6\u8303\u56f4\u3002\u8bf7\u786e\u4fdd\u5728\u672c\u8282\u4e2d\u8f93\u5165\u5b89\u5168\u503c\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span> <span style=\"color: #0000ff;\"><b>#define EXTRUDE_MINTEMP 170<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u8fd9\u8868\u793a\u5982\u679c\u6324\u51fa\u673a\u7684\u6e29\u5ea6\u4f4e\u4e8e170\u6444\u6c0f\u5ea6\uff0c\u6253\u5370\u673a\u5c06\u4e0d\u4f1a\u79fb\u52a8\u3002\u5982\u679c\u60a8\u7684\u70ed\u654f\u7535\u963b\u4ea7\u751f\u4e86\u95ee\u9898\uff0c\u8bf7\u5207\u8bb0\u8fd9\u4e00\u8981\u70b9\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define THERMAL_PROTECTION_HOTENDS<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u53d6\u6d88\u8be5\u884c\u7684\u6ce8\u91ca\uff0c\u53ef\u4ee5\u542f\u7528\u66f4\u667a\u80fd\u7684\u70ed\u91cf\u63a7\u5236\u529f\u80fd\u3002\u8be5\u529f\u80fd\u4f7f\u7528\u70ed\u654f\u7535\u963b\u6d4b\u91cf\u6e29\u5ea6\uff0c\u5e76\u8bbe\u7f6e\u4e86\u4e00\u4e2a\u8ba1\u65f6\u5668\u3002\u5982\u679c\u81ea\u6d4b\u91cf\u5f00\u59cb\uff0c\u6e29\u5ea6\u663e\u8457\u5347\u9ad8\uff0c\u90a3\u4e48\u5c06\u4f1a\u505c\u6b62\u6253\u5370\u3002\u8fd9\u6837\u53ef\u4ee5\u9632\u6b62\u4f1a\u5bfc\u81f4\u6253\u5370\u673a\u8fc7\u70ed\u7684\u70ed\u654f\u7535\u963b\u7684\u677e\u52a8\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define COREXY<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u8fd9\u662f\u672c\u6559\u7a0b\u4e2d\u4f7f\u7528\u7684\u76ae\u5e26\u914d\u7f6e\u7684\u540d\u79f0\u3002\u672c\u8282\u4e2d\u8fd8\u53ef\u4ee5\u5bf9\u5176\u4ed6\u7279\u6b8a\u914d\u7f6e\u8fdb\u884c\u8bbe\u7f6e\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define INVERT_X_DIR<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u5728\u672c\u90e8\u5206\u4e2d\uff0c\u60a8\u53ef\u4ee5\u5bf9\u4efb\u4f55\u8f74\u7684\u65b9\u5411\u8fdb\u884c\u66f4\u6539\u3002\u8fd9\u5bf9\u4e8e\u8c03\u8bd5\u5f88\u6709\u7528\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define DEFAULT_AXIS_STEPS_PER_UNIT<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u672c\u8282\u662f\u914d\u7f6e\u8fc7\u7a0b\u7684\u5173\u952e\u90e8\u5206\uff0c\u60a8\u53ef\u4ee5\u5728\u6b64\u8bbe\u7f6e\u6bcf\u5355\u4f4d\u957f\u5ea6\u7684\u6b65\u6570\u3002\u8fd9\u53d6\u51b3\u4e8e\u60a8\u7684\u540c\u6b65\u76ae\u5e26\u8f6e\uff0c\u87ba\u6746\u548c\u6324\u51fa\u673a\u7684\u578b\u53f7\u3002\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86\uff1aG2T\u540c\u6b65\u5e26\u548c\u540c\u6b65\u5e26\u8f6e\uff0c\u4e00\u4e2aMk8\u6324\u51fa\u673a\u548c\u4e00\u4e2a8mm\u87ba\u8ddd\u7684\u87ba\u9489\u3002\u8fd9\u8868\u793a\u6211\u4eec\u8981\u8f93\u5165\u7684\u503c\u4e3a\uff1a<\/span><b>78.74, 78.74, 2560, \u548c 95<\/b>\u3002<\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define EEPROM_SETTINGS<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u8bf7\u786e\u4fdd\u5176\u53ef\u4ee5\u6267\u884c\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u8be5\u8bed\u53e5\u5728\u65e0\u9700\u91cd\u65b0\u52a0\u8f7d\u56fa\u4ef6\u7684\u524d\u63d0\u4e0b\u5bf9\u56fa\u4ef6\u8bbe\u7f6e\u8fdb\u884c\u66f4\u6539\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u8be5\u8bed\u53e5\u7528\u6765\u9009\u62e9\u7528\u6237\u754c\u9762\u7684\u8bed\u8a00\u3002\u8bf7\u786e\u4fdd\u4f7f\u7528 <\/span><b>language.h<\/b><span style=\"font-weight: 400;\"> \u6587\u4ef6\u5c06\u5176\u8bbe\u7f6e\u4e3a\u60a8\u7684\u9996\u9009\u8bed\u8a00\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define SDSUPPORT<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u53d6\u6d88\u6b64\u884c\u7684\u6ce8\u91ca\uff0c\u60a8\u5c31\u53ef\u4ee5\u4f7f\u7528\u667a\u80fd\u63a7\u5236\u5668\u4e0a\u7684SD\u5361\u63d2\u69fd\u8fdb\u884c\u6253\u5370\u3002\u8fd9\u53ef\u4ee5\u4f7f\u6253\u5370\u673a\u6210\u4e3a\u72ec\u7acb\u4e8e\u60a8\u7684\u8ba1\u7b97\u673a\u7684\u7cfb\u7edf\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u641c\u7d22\u8be5\u8bed\u53e5\uff1a<\/span><span style=\"color: #0000ff;\"><b>#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER<\/b><\/span><span style=\"font-weight: 400;\">\u3002\u53d6\u6d88\u6b64\u884c\u6ce8\u91ca\uff0c\u60a8\u5c31\u53ef\u4ee5\u4f7f\u7528\u672c\u6587\u4e2d\u6240\u4f7f\u7528\u7684\u667a\u80fd\u63a7\u5236\u5668\u3002\u5982\u679c\u60a8\u60f3\u8981\u4f7f\u7528\u5176\u4ed6\u63a7\u5236\u5668\uff0c\u8bf7\u5728\u5217\u8868\u4e2d\u641c\u7d22\u627e\u5230\u8be5\u63a7\u5236\u5668\uff0c\u5e76\u5c06\u5176\u6ce8\u91ca\u53d6\u6d88\u6389\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u6700\u540e\uff0c\u4e0a\u4f20\u60a8\u7684\u4ee3\u7801\u5e76\u8fdb\u884c\u6d4b\u8bd5\u3002\u70b9\u51fb\u6309\u94ae\u4ee5\u663e\u793a\u83dc\u5355\uff0c\u627e\u5230\u51c6\u5907\uff08Prepare\uff09\u83dc\u5355\u3002\u627e\u5230\u79fb\u52a8\u8f74\u9009\u9879\u3002\u786e\u4fdd\u5bf9\u6bcf\u4e2a\u8f74\u90fd\u8fdb\u884c\u4e86\u6d4b\u8bd5\u3002\u4ee5\u4e0b\u89c6\u9891\u5c06\u663e\u793a\u4e00\u5207\u6b63\u5e38\u60c5\u51b5\u4e0b\u7684\u6d4b\u8bd5\u7ed3\u679c\u3002<\/span><\/p>\n<div style=\"position: relative; height: 0; padding-bottom: 56.25%;\"><script type=\"text\/javascript\">\n\tjstream_t3.PlayerFactoryIF.create({\n\tb:\"eqa194obdo.eq.webcdn.stream.ne.jp\/www50\/eqa194obdo\/jmc_pub\/jmc_swf\/player\/\",\n\tc:\"NDc3\",\n\tm:\"ODUw\",\n\ts:{\n\t\thp:360,\n\t\til:\"off\",\n\t\trb:\"off\",\n\t\tsn:\"f,t,g\",\n\t\twp:640\n\t}});\n<\/script><\/div>\n<h2><b>\u6b65\u9aa46\uff1a\u6536\u5c3e\u5de5\u4f5c<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u5939\u4f4f\u9876\u677f\u7684\u8fb9\u7f18\u3002\u8bf7\u786e\u4fdd\u6240\u6709\u7684\u7535\u7f06\u90fd\u6b63\u786e\u8fde\u63a5\u5e76\u6536\u7eb3\u59a5\u5f53\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u8bf7\u786e\u4fdd\u6240\u6709\u5750\u6807\u8f74\u5f52\u4f4d\u4e8e\u6700\u5c0f\u503c\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u8bf7\u786e\u4fdd\u6240\u6709\u7ec4\u4ef6\u90fd\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u3002\u5728\u5fc5\u8981\u65f6\u5bf9\u8bbe\u7f6e\u8fdb\u884c\u8c03\u6574\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><b>\u6b65\u9aa47\uff1a\u60a8\u7684\u7b2c\u4e00\u53f0\u6253\u5370\u673a<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">\u73b0\u5728\uff0c\u60a8\u53ef\u4ee5\u51c6\u5907\u5f00\u59cb\u7b2c\u4e00\u6b213D\u6253\u5370\u4e86\u3002\u901a\u8fc7\u4ee5\u4e0b\u94fe\u63a5\u4e0b\u8f7d3D\u6253\u5370\u5207\u7247\u7a0b\u5e8fCura\uff1a<\/span> <span style=\"font-weight: 400;\">https:\/\/ultimaker.com\/en\/products\/cura-software<\/span><span style=\"font-weight: 400;\">\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u4e0b\u8f7d\u540e\uff0c\u6253\u5f00\u7a0b\u5e8f\u5e76\u6839\u636e\u60a8\u7684\u6253\u5370\u673a\u5bf9\u5176\u8fdb\u884c\u914d\u7f6e\u3002\u9009\u62e9\u81ea\u5b9a\u4e49FDM\u6253\u5370\u673a\u3002\u8f93\u5165\u6700\u5927\u6784\u5efa\u5c3a\u5bf8\uff1a105mm x 130mm x 80mm\u3002\u5bf9\u5176\u4ed6\u9700\u8981\u8f93\u5165\u7684\u5c3a\u5bf8\u7528\u5c3a\u5b50\u8fdb\u884c\u6d4b\u91cf\u3002\u8bf7\u786e\u4fdd<\/span><b>G\u4ee3\u7801\u98ce\u683c\u4e3aRepRap Marlin<\/b><span style=\"font-weight: 400;\">\u3002<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u73b0\u5728\uff0c\u60a8\u53ea\u9700\u8981\u4e00\u5f20\u88c5\u6709\u8981\u6253\u5370\u7684STL\u6587\u4ef6\u7684SD\u5361\u5373\u53ef\u3002\u57fa\u4e8eRepRap\u7684\u7406\u5ff5\uff0c\u6211\u5efa\u8bae\u60a8\u4ee5\u6253\u5370\u7528\u4e8e\u6539\u8fdb\u6b64\u6253\u5370\u673a\u7684\u96f6\u90e8\u4ef6\u5f00\u59cb\u3002<\/span><\/p>\n<div style=\"position: relative; height: 0; padding-bottom: 56.25%;\"><script type=\"text\/javascript\">\n\tjstream_t3.PlayerFactoryIF.create({\n\tb:\"eqa194obdo.eq.webcdn.stream.ne.jp\/www50\/eqa194obdo\/jmc_pub\/jmc_swf\/player\/\",\n\tc:\"NDc3\",\n\tm:\"ODQ5\",\n\ts:{\n\t\thp:360,\n\t\til:\"off\",\n\t\trb:\"off\",\n\t\tsn:\"f,t,g\",\n\t\twp:640\n\t}});\n<\/script><\/div>\n<p>&nbsp;<\/p>\n<p><a style=\"font-size: 20px;\" href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/how-tos\/arduino\/diy-reprap-3d-printer-for-beginners-part-1-build\"><strong>\u70b9\u51fb\u6b64\u5904\u9605\u8bfb\u7b2c1\u90e8\u5206\uff1a\u6784\u5efa &gt;<\/strong><\/a><\/p>\n<p><a style=\"font-size: 20px;\" href=\"https:\/\/techclass.wfjydl.com\/knowledge\/tech-info\/how-tos\/arduino\/diy-reprap-3d-printer-for-beginners-part-2-wire\"><strong>\u70b9\u51fb\u6b64\u5904\u9605\u8bfb\u7b2c2\u90e8\u5206\uff1a\u63a5\u7ebf &gt;<\/strong><\/a><\/p>\n<div class=\"author-box-wrapper\">\n<div class=\"avatar-wrapper\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.deviceplus.com\/wp-content\/uploads\/2017\/06\/Lyndsey-Mandelare_avatar_1496675609-64x64.jpeg\" alt=\"Lyndsey Mandelare\" width=\"64\" height=\"64\" \/><\/div>\n<div class=\"desc-wrapper\">\n<h5>Lyndsey Mandelare<\/h5>\n<div class=\"desc\">\n<p>Lyndsey\u76ee\u524d\u6b63\u5728\u7814\u7a76\u673a\u68b0\u5de5\u7a0b\u3002\u5979\u5bf93D\u5efa\u6a21\u548c\u5236\u9020\u975e\u5e38\u611f\u5174\u8da3\u3002\u9664\u4e863D\u6253\u5370\uff0c\u5979\u8fd8\u5bf9\u591a\u79cd\u5fae\u63a7\u5236\u5668\u7684\u6784\u5efa\u5bcc\u6709\u7ecf\u9a8c\u3002<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u8fd9\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8eDevicePlus.com\u82f1\u8bed\u7f51\u7ad9\u7684\u7ffb\u8bd1\u7a3f\u3002 \u5982\u679c\u60a8\u662f\u521d\u6b21\u63a5\u89e6\u8be5\u9879\u76ee\uff0c\u8bf7\u5148\u53c2\u8003\u8be5\u9879\u76ee\u7b2c1\u90e8\u5206\u548c\u7b2c2\u90e8\u5206\u7684\u5185\u5bb9\u518d\u8fdb\u884c\u4e0b\u4e00\u6b65\u7684\u5de5\u4f5c\uff1a \u9002\u7528\u4e8e\u521d\u5b66\u8005\u7684DIY RepRap 3D \u6253\u5370\u673a\u6559\u7a0b\u2014\u7b2c1\u90e8\u5206\uff1a\u6784\u5efa \u4ee5\u53ca [&hellip;]","protected":false},"author":3,"featured_media":16139,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1130],"tags":[],"class_list":["post-8929","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino"],"acf":[],"wps_subtitle":"","_links":{"self":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/8929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/comments?post=8929"}],"version-history":[{"count":16,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/8929\/revisions"}],"predecessor-version":[{"id":16785,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/posts\/8929\/revisions\/16785"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media\/16139"}],"wp:attachment":[{"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/media?parent=8929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/categories?post=8929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techclass.wfjydl.com\/wp-json\/wp\/v2\/tags?post=8929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}