<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[SoliForum - 3D Printing Community — AZTeeg X3 Install Help: UPDATE]]></title>
		<link>https://www.soliforum.com/topic/11261/azteeg-x3-install-help-update/</link>
		<atom:link href="https://www.soliforum.com/feed/rss/topic/11261/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in AZTeeg X3 Install Help: UPDATE.]]></description>
		<lastBuildDate>Fri, 05 Jun 2015 03:44:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97982/#p97982</link>
			<description><![CDATA[<div class="quotebox"><cite>cujo3131 wrote:</cite><blockquote><p>Nope... appears to be random.....</p></blockquote></div><br /><p>Go here and see if any of the things on this chart might apply to you.</p><p><a href="http://bukobot.com/troubleshooting">http://bukobot.com/troubleshooting</a></p><p>It is more about the Azteeg the buko uses so disregard it is a buko. When you strip them down to basic parts and boards all printers are the same.</p>]]></description>
			<author><![CDATA[null@example.com (carl_m1968)]]></author>
			<pubDate>Fri, 05 Jun 2015 03:44:31 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97982/#p97982</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97980/#p97980</link>
			<description><![CDATA[<p>Nope... appears to be random.....</p>]]></description>
			<author><![CDATA[null@example.com (cujo3131)]]></author>
			<pubDate>Fri, 05 Jun 2015 03:34:44 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97980/#p97980</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97979/#p97979</link>
			<description><![CDATA[<div class="quotebox"><cite>cujo3131 wrote:</cite><blockquote><p>Reduced baud rate.... exact same effect....</p><p>No change at all.&nbsp; &nbsp;</p><br /><p>And yes I changed it in code and S3D</p><p>This is frustrating....</p></blockquote></div><br /><p>Try a different cable, maybe it has bad, poor, or no shielding and is picking up noise.</p><p>Does it stop at the exact same spot or time period on every print?</p>]]></description>
			<author><![CDATA[null@example.com (carl_m1968)]]></author>
			<pubDate>Fri, 05 Jun 2015 03:33:45 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97979/#p97979</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97978/#p97978</link>
			<description><![CDATA[<p>Reduced baud rate.... exact same effect....</p><p>No change at all.&nbsp; &nbsp;</p><br /><p>And yes I changed it in code and S3D</p><p>This is frustrating....</p>]]></description>
			<author><![CDATA[null@example.com (cujo3131)]]></author>
			<pubDate>Fri, 05 Jun 2015 03:11:40 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97978/#p97978</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97977/#p97977</link>
			<description><![CDATA[<div class="quotebox"><cite>cujo3131 wrote:</cite><blockquote><p>Ok... There is a SDcard reader onboard.... but I am not sure how to set that up....</p><p>If I understand what I am seeing in USBview all of my USB ports are 2.0.<br />and the port the printer is attached to shows this:</p><div class="quotebox"><blockquote><p>Device Bus Speed:&nbsp; &nbsp; &nbsp;Full</p></blockquote></div><p>Rather than High or Low</p><p>How do you reduce the com port speed?</p></blockquote></div><p>The com port speed is the baud rate. Reduce it to 57600 in both the firmware and simplify3d.</p>]]></description>
			<author><![CDATA[null@example.com (carl_m1968)]]></author>
			<pubDate>Fri, 05 Jun 2015 02:48:31 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97977/#p97977</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97976/#p97976</link>
			<description><![CDATA[<p>Ok... There is a SDcard reader onboard.... but I am not sure how to set that up....</p><p>If I understand what I am seeing in USBview all of my USB ports are 2.0.<br />and the port the printer is attached to shows this:</p><div class="quotebox"><blockquote><p>Device Bus Speed:&nbsp; &nbsp; &nbsp;Full</p></blockquote></div><p>Rather than High or Low</p><p>How do you reduce the com port speed?</p>]]></description>
			<author><![CDATA[null@example.com (cujo3131)]]></author>
			<pubDate>Fri, 05 Jun 2015 02:31:26 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97976/#p97976</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97970/#p97970</link>
			<description><![CDATA[<div class="quotebox"><cite>cujo3131 wrote:</cite><blockquote><p>Welcome Back....</p><p>Here is the update.... School is FINALLY over so this teacher can now focus on <br />something for more than 10 minutes.</p><p>I have the board flashed and all the code seems to be correct and working now.</p><p>I have a hotend that works correctly and comes up to temp quickly.<br />Build plate now heats though it is as slow as ever coming up to temp.... but it works.</p><p>All axis are working correctly... and homing correctly....</p><p>So on the surface everything seems to be working correctly.</p><p>However.... I start up Simplify3D and heat everything up.... slice a part and send it<br />on its way.... and.....</p><p>It stops at a random point in the print every time.&#039;</p><p>Just stops.... no heat overrun.... not lost connection-code scrolling by 100 MPH</p><p>Just stops as if paused.</p><p>If I hit the &quot;STOP&quot; button, I get a message as I normally would at stopping a print...<br />showing print time etc....</p><p>If I hit HOME ALL.... everything re-homes itself just fine....</p><p>It is bizarre.... and I am not sure if it is loosing signal or what....</p><p>BTW (250000 Baud Rate in S3D and code)</p><br /><p>What the heck is going on???????</p><p>Matt</p></blockquote></div><br /><p>Do you have an sdcard reader setup on it? Try printing from sd if you can. Try a different high quality cable. Make sure you are on a USB 2.0 and not 3.0. Try reducing the com port speed by half. It wont affect your print speed.</p>]]></description>
			<author><![CDATA[null@example.com (carl_m1968)]]></author>
			<pubDate>Fri, 05 Jun 2015 01:59:14 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97970/#p97970</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97969/#p97969</link>
			<description><![CDATA[<p>Welcome Back....</p><p>Here is the update.... School is FINALLY over so this teacher can now focus on <br />something for more than 10 minutes.</p><p>I have the board flashed and all the code seems to be correct and working now.</p><p>I have a hotend that works correctly and comes up to temp quickly.<br />Build plate now heats though it is as slow as ever coming up to temp.... but it works.</p><p>All axis are working correctly... and homing correctly....</p><p>So on the surface everything seems to be working correctly.</p><p>However.... I start up Simplify3D and heat everything up.... slice a part and send it<br />on its way.... and.....</p><p>It stops at a random point in the print every time.&#039;</p><p>Just stops.... no heat overrun.... not lost connection-code scrolling by 100 MPH</p><p>Just stops as if paused.</p><p>If I hit the &quot;STOP&quot; button, I get a message as I normally would at stopping a print...<br />showing print time etc....</p><p>If I hit HOME ALL.... everything re-homes itself just fine....</p><p>It is bizarre.... and I am not sure if it is loosing signal or what....</p><p>BTW (250000 Baud Rate in S3D and code)</p><br /><p>What the heck is going on???????</p><p>Matt</p>]]></description>
			<author><![CDATA[null@example.com (cujo3131)]]></author>
			<pubDate>Fri, 05 Jun 2015 01:50:28 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97969/#p97969</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97526/#p97526</link>
			<description><![CDATA[<p>alright....</p><p>So I have the XYZ axis working correctly now.... and the heatbed heats.... but for some reason,<br />now the hotend is not working (I get a base temp thru thermistor) but not heating up.</p>]]></description>
			<author><![CDATA[null@example.com (cujo3131)]]></author>
			<pubDate>Sat, 30 May 2015 18:15:49 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97526/#p97526</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97489/#p97489</link>
			<description><![CDATA[<p>I had the flow control setup incorrectly in the S3D settings....<br />Now that is corrected and I am able to get connected again.... and move<br />X,Y, Z again... and the endstops are working correctly....</p><p>Hotend is not heating... for some reason the light on the board for Hotend2 <br />flashes instead.... so somewhere in the code, I have the wrong pin heating <br />for the hotend....</p><p>It is getting there friends.... slowly but surely!</p>]]></description>
			<author><![CDATA[null@example.com (cujo3131)]]></author>
			<pubDate>Sat, 30 May 2015 03:17:04 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97489/#p97489</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97481/#p97481</link>
			<description><![CDATA[<div class="quotebox"><cite>cujo3131 wrote:</cite><blockquote><p>Using that link.... I follow all the directions.... I am <br />able to connect to the board via Arduino and upload and compile....</p><p>But when I go into Simplify3D now and select Port 6 and try to connect,<br />this is all I get:</p><p>Attempting connection at \\.\COM6...<br />Error opening selected port.</p><p>Not sure what I have set wrong <img src="https://www.soliforum.com/img/smilies/sad.png" width="15" height="15" alt="sad" /></p></blockquote></div><p>Is the port speed in S3D the same as what is in the firmware? Yoy need to make sure S3D is set for the same port speed.</p>]]></description>
			<author><![CDATA[null@example.com (carl_m1968)]]></author>
			<pubDate>Sat, 30 May 2015 01:31:18 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97481/#p97481</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97476/#p97476</link>
			<description><![CDATA[<p>Using that link.... I follow all the directions.... I am <br />able to connect to the board via Arduino and upload and compile....</p><p>But when I go into Simplify3D now and select Port 6 and try to connect,<br />this is all I get:</p><p>Attempting connection at \\.\COM6...<br />Error opening selected port.</p><p>Not sure what I have set wrong <img src="https://www.soliforum.com/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[null@example.com (cujo3131)]]></author>
			<pubDate>Sat, 30 May 2015 00:01:32 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97476/#p97476</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97148/#p97148</link>
			<description><![CDATA[<p>I don&#039;t know what version that is could you post a link?<br />If you have an SD3 might I recommend this version instead.&nbsp; <a href="https://github.com/ozadr1an/Solidoodle-Marlin_v1/tree/Solidoodle_Marlin_v1_beta">https://github.com/ozadr1an/Solidoodle- … in_v1_beta</a></p><p>There are a few versions out there that have some glitches and if my instincts are correct you have the particular version I am thinking of.</p>]]></description>
			<author><![CDATA[null@example.com (wardjr)]]></author>
			<pubDate>Wed, 27 May 2015 01:58:39 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97148/#p97148</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97132/#p97132</link>
			<description><![CDATA[<p>I ran across this, you may want to check it out if you have not.</p><p><a href="http://www.soliforum.com/topic/377/upgrading-to-the-azteeg-x3/">http://www.soliforum.com/topic/377/upgr … azteeg-x3/</a></p>]]></description>
			<author><![CDATA[null@example.com (carl_m1968)]]></author>
			<pubDate>Tue, 26 May 2015 23:24:32 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97132/#p97132</guid>
		</item>
		<item>
			<title><![CDATA[Re: AZTeeg X3 Install Help: UPDATE]]></title>
			<link>https://www.soliforum.com/post/97127/#p97127</link>
			<description><![CDATA[<p>Printer is a standard Solidoodle 3....</p><p>Config:h:</p><div class="quotebox"><blockquote><p>#ifndef CONFIGURATION_H<br />#define CONFIGURATION_H</p><p>// This configuration file contains the basic settings.<br />// Advanced settings can be found in Configuration_adv.h<br />// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration</p><p>//===========================================================================<br />//============================= DELTA Printer ===============================<br />//===========================================================================<br />// For a Delta printer replace the configuration files with the files in the<br />// example_configurations/delta directory.<br />//</p><p>// User-specified version info of this build to display in [Pronterface, etc] terminal window during<br />// startup. Implementation of an idea by Prof Braino to inform user that any changes made to this<br />// build by the user have been successfully uploaded into firmware.<br />#define STRING_VERSION_CONFIG_H __DATE__ &quot; &quot; __TIME__ // build date and time<br />#define STRING_CONFIG_H_AUTHOR &quot;(none, default config)&quot; // Who made the changes.</p><p>// SERIAL_PORT selects which serial port should be used for communication with the host.<br />// This allows the connection of wireless adapters (for instance) to non-default port pins.<br />// Serial port 0 is still used by the Arduino bootloader regardless of this setting.<br />#define SERIAL_PORT 0</p><p>// This determines the communication speed of the printer<br />// This determines the communication speed of the printer<br />#define BAUDRATE 250000</p><p>// This enables the serial port associated to the Bluetooth interface<br />//#define BTENABLED&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Enable BT interface on AT90USB devices</p><br /><p>//// The following define selects which electronics board you have. Please choose the one that matches your setup<br />// 10 = Gen7 custom (Alfons3 Version) &quot;<a href="https://github.com/Alfons3/Generation_7_Electronics">https://github.com/Alfons3/Generation_7_Electronics</a>&quot;<br />// 11 = Gen7 v1.1, v1.2 = 11<br />// 12 = Gen7 v1.3<br />// 13 = Gen7 v1.4<br />// 2&nbsp; = Cheaptronic v1.0<br />// 20 = Sethi 3D_1<br />// 3&nbsp; = MEGA/RAMPS up to 1.2 = 3<br />// 33 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Bed)<br />// 34 = RAMPS 1.3 / 1.4 (Power outputs: Extruder0, Extruder1, Bed)<br />// 35 = RAMPS 1.3 / 1.4 (Power outputs: Extruder, Fan, Fan)<br />// 4&nbsp; = Duemilanove w/ ATMega328P pin assignment<br />// 5&nbsp; = Gen6<br />// 51 = Gen6 deluxe<br />// 6&nbsp; = Sanguinololu &lt; 1.2<br />// 62 = Sanguinololu 1.2 and above<br />// 63 = Melzi<br />// 64 = STB V1.1<br />// 65 = Azteeg X1<br />// 66 = Melzi with ATmega1284 (MaKr3d version)<br />// 67 = Azteeg X3<br />// 68 = Azteeg X3 Pro<br />// 7&nbsp; = Ultimaker<br />// 71 = Ultimaker (Older electronics. Pre 1.5.4. This is rare)<br />// 72 = Ultimainboard 2.x (Uses TEMP_SENSOR 20)<br />// 77 = 3Drag Controller<br />// 8&nbsp; = Teensylu<br />// 80 = Rumba<br />// 81 = Printrboard (AT90USB1286)<br />// 82 = Brainwave (AT90USB646)<br />// 83 = SAV Mk-I (AT90USB1286)<br />// 84 = Teensy++2.0 (AT90USB1286) // CLI compile: DEFINES=AT90USBxx_TEENSYPP_ASSIGNMENTS HARDWARE_MOTHERBOARD=84&nbsp; make<br />// 9&nbsp; = Gen3+<br />// 70 = Megatronics<br />// 701= Megatronics v2.0<br />// 702= Minitronics v1.0<br />// 90 = Alpha OMCA board<br />// 91 = Final OMCA board<br />// 301= Rambo<br />// 21 = Elefu Ra Board (v3)<br />// 88 = 5DPrint D8 Driver Board</p><p>#ifndef MOTHERBOARD<br />#define MOTHERBOARD 67<br />#endif</p><p>// Define this to set a custom name for your generic Mendel,<br />// #define CUSTOM_MENDEL_NAME &quot;This Mendel&quot;</p><p>// Define this to set a unique identifier for this printer, (Used by some programs to differentiate between machines)<br />// You can use an online service to generate a random UUID. (eg <a href="http://www.uuidgenerator.net/version4)">http://www.uuidgenerator.net/version4)</a><br />// #define MACHINE_UUID &quot;00000000-0000-0000-0000-000000000000&quot;</p><p>// This defines the number of extruders<br />#define EXTRUDERS 1</p><p>//// The following define selects which power supply you have. Please choose the one that matches your setup<br />// 1 = ATX<br />// 2 = X-Box 360 203Watts (the blue wire connected to PS_ON and the red wire to VCC)</p><p>#define POWER_SUPPLY 1</p><p>// Define this to have the electronics keep the power supply off on startup. If you don&#039;t know what this is leave it.<br />// #define PS_DEFAULT_OFF</p><p>//===========================================================================<br />//=============================Thermal Settings&nbsp; ============================<br />//===========================================================================<br />//<br />//--NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table<br />//<br />//// Temperature sensor settings:<br />// -2 is thermocouple with MAX6675 (only for sensor 0)<br />// -1 is thermocouple with AD595<br />// 0 is not used<br />// 1 is 100k thermistor - best choice for EPCOS 100k (4.7k pullup)<br />// 2 is 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup)<br />// 3 is Mendel-parts thermistor (4.7k pullup)<br />// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!<br />// 5 is 100K thermistor - ATC Semitec 104GT-2 (Used in ParCan &amp; J-Head) (4.7k pullup)<br />// 6 is 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)<br />// 7 is 100k Honeywell thermistor 135-104LAG-J01 (4.7k pullup)<br />// 71 is 100k Honeywell thermistor 135-104LAF-J01 (4.7k pullup)<br />// 8 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)<br />// 9 is 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)<br />// 10 is 100k RS thermistor 198-961 (4.7k pullup)<br />// 11 is 100k beta 3950 1% thermistor (4.7k pullup)<br />// 12 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)<br />// 20 is the PT100 circuit found in the Ultimainboard V2.x<br />// 60 is 100k Maker&#039;s Tool Works Kapton Bed Thermistor beta=3950<br />//<br />//&nbsp; &nbsp; 1k ohm pullup tables - This is not normal, you would have to have changed out your 4.7k for 1k<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (but gives greater accuracy and more stable PID)<br />// 51 is 100k thermistor - EPCOS (1k pullup)<br />// 52 is 200k thermistor - ATC Semitec 204GT-2 (1k pullup)<br />// 55 is 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan &amp; J-Head) (1k pullup)<br />//<br />// 1047 is Pt1000 with 4k7 pullup<br />// 1010 is Pt1000 with 1k pullup (non standard)<br />// 147 is Pt100 with 4k7 pullup<br />// 110 is Pt100 with 1k pullup (non standard)</p><p>#define TEMP_SENSOR_0 5<br />#define TEMP_SENSOR_1 0<br />#define TEMP_SENSOR_2 0<br />#define TEMP_SENSOR_BED 1</p><p>// 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.<br />//#define TEMP_SENSOR_1_AS_REDUNDANT<br />#define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10</p><p>// Actual temperature must be close to target for this long before M109 returns success<br />#define TEMP_RESIDENCY_TIME 15&nbsp; // (seconds)<br />#define TEMP_HYSTERESIS 5&nbsp; &nbsp; &nbsp; &nbsp;// (degC) range of +/- temperatures considered &quot;close&quot; to the target one<br />#define TEMP_WINDOW&nbsp; &nbsp; &nbsp;1&nbsp; &nbsp; &nbsp; &nbsp;// (degC) Window around target to start the residency timer x degC early.</p><p>// The minimal temperature defines the temperature below which the heater will not be enabled It is used<br />// to check that the wiring to the thermistor is not broken.<br />// Otherwise this would lead to the heater being powered on all the time.<br />#define HEATER_0_MINTEMP 5<br />#define HEATER_1_MINTEMP 5<br />#define HEATER_2_MINTEMP 5<br />#define BED_MINTEMP 5</p><p>// When temperature exceeds max temp, your heater will be switched off.<br />// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!<br />// You should use MINTEMP for thermistor short/failure protection.<br />#define HEATER_0_MAXTEMP 330<br />#define HEATER_1_MAXTEMP 275<br />#define HEATER_2_MAXTEMP 275<br />#define BED_MAXTEMP 150</p><p>// If your bed has low resistance e.g. .6 ohm and throws the fuse you can duty cycle it to reduce the<br />// average current. The value should be an integer and the heat bed will be turned on for 1 interval of<br />// HEATER_BED_DUTY_CYCLE_DIVIDER intervals.<br />//#define HEATER_BED_DUTY_CYCLE_DIVIDER 4</p><p>// If you want the M105 heater power reported in watts, define the BED_WATTS, and (shared for all extruders) EXTRUDER_WATTS<br />//#define EXTRUDER_WATTS (12.0*12.0/6.7) //&nbsp; P=I^2/R<br />//#define BED_WATTS (12.0*12.0/1.1)&nbsp; &nbsp; &nbsp; // P=I^2/R</p><p>// PID settings:<br />// Comment the following line to disable PID and enable bang-bang.<br />#define PIDTEMP<br />#define BANG_MAX 255 // limits current to nozzle while in bang-bang mode; 255=full current<br />#define PID_MAX 255 // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 255=full current<br />#ifdef PIDTEMP<br />&nbsp; //#define PID_DEBUG // Sends debug data to the serial port.<br />&nbsp; //#define PID_OPENLOOP 1 // Puts PID in open loop. M104/M140 sets the output power from 0 to PID_MAX<br />&nbsp; #define PID_FUNCTIONAL_RANGE 100 // If the temperature difference between the target temperature and the actual temperature<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // is more then PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.<br />&nbsp; #define PID_INTEGRAL_DRIVE_MAX 255&nbsp; //limit for the integral term<br />&nbsp; #define K1 0.95 //smoothing factor within the PID<br />&nbsp; #define PID_dT ((OVERSAMPLENR * 8.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the temperature routine</p><p>// If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it<br />// Ultimaker<br />&nbsp; &nbsp; #define&nbsp; DEFAULT_Kp 15.44<br />&nbsp; &nbsp; #define&nbsp; DEFAULT_Ki 0.51<br />&nbsp; &nbsp; #define&nbsp; DEFAULT_Kd 116.62</p><p>// MakerGear<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Kp 7.0<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Ki 0.1<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Kd 12</p><p>// Mendel Parts V9 on 12V<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Kp 63.0<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Ki 2.25<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Kd 440<br />#endif // PIDTEMP</p><p>// Bed Temperature Control<br />// Select PID or bang-bang with PIDTEMPBED. If bang-bang, BED_LIMIT_SWITCHING will enable hysteresis<br />//<br />// Uncomment this to enable PID on the bed. It uses the same frequency PWM as the extruder.<br />// If your PID_dT above is the default, and correct for your hardware/configuration, that means 7.689Hz,<br />// which is fine for driving a square wave into a resistive load and does not significantly impact you FET heating.<br />// This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W heater.<br />// If your configuration is significantly different than this and you don&#039;t understand the issues involved, you probably<br />// shouldn&#039;t use bed PID until someone else verifies your hardware works.<br />// If this is enabled, find your own PID constants below.<br />#define PIDTEMPBED<br />//<br />//#define BED_LIMIT_SWITCHING</p><p>// This sets the max power delivered to the bed, and replaces the HEATER_BED_DUTY_CYCLE_DIVIDER option.<br />// all forms of bed control obey this (PID, bang-bang, bang-bang with hysteresis)<br />// setting this to anything other than 255 enables a form of PWM to the bed just like HEATER_BED_DUTY_CYCLE_DIVIDER did,<br />// so you shouldn&#039;t use it unless you are OK with PWM on your bed.&nbsp; (see the comment on enabling PIDTEMPBED)<br />#define MAX_BED_POWER 255 // limits duty cycle to bed; 255=full current</p><p>#ifdef PIDTEMPBED<br />//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)<br />//from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)<br /> //&nbsp; &nbsp;#define&nbsp; DEFAULT_bedKp 152.13<br /> //&nbsp; &nbsp;#define&nbsp; DEFAULT_bedKi 7.65<br /> //&nbsp; &nbsp;#define&nbsp; DEFAULT_bedKd 327.90</p><p>//120v 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)<br />//from pidautotune<br />&nbsp; &nbsp; #define&nbsp; DEFAULT_bedKp 100.15<br />&nbsp; &nbsp; #define&nbsp; DEFAULT_bedKi 7.65<br />&nbsp; &nbsp; #define&nbsp; DEFAULT_bedKd 327.90</p><p>// FIND YOUR OWN: &quot;M303 E-1 C8 S90&quot; to run autotune on the bed at 90 degreesC for 8 cycles.<br />#endif // PIDTEMPBED</p><br /><br /><p>//this prevents dangerous Extruder moves, i.e. if the temperature is under the limit<br />//can be software-disabled for whatever purposes by<br />#define PREVENT_DANGEROUS_EXTRUDE<br />//if PREVENT_DANGEROUS_EXTRUDE is on, you can still disable (uncomment) very long bits of extrusion separately.<br />#define PREVENT_LENGTHY_EXTRUDE</p><p>#define EXTRUDE_MINTEMP 170<br />#define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.</p><p>//===========================================================================<br />//=============================Mechanical Settings===========================<br />//===========================================================================</p><p>// Uncomment the following line to enable CoreXY kinematics<br />// #define COREXY</p><p>// coarse Endstop Settings<br />#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors</p><p>#ifndef ENDSTOPPULLUPS<br />&nbsp; // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined<br />&nbsp; &nbsp;#define ENDSTOPPULLUP_XMAX<br />&nbsp; &nbsp;#define ENDSTOPPULLUP_YMAX<br />&nbsp; // #define ENDSTOPPULLUP_ZMAX<br /> //&nbsp; #define ENDSTOPPULLUP_XMIN<br /> //&nbsp; #define ENDSTOPPULLUP_YMIN<br />&nbsp; // #define ENDSTOPPULLUP_ZMIN<br />#endif</p><p>#ifdef ENDSTOPPULLUPS<br />&nbsp; #define ENDSTOPPULLUP_XMAX<br />&nbsp; #define ENDSTOPPULLUP_YMAX<br />&nbsp; //#define ENDSTOPPULLUP_ZMAX<br /> // #define ENDSTOPPULLUP_XMIN<br /> // #define ENDSTOPPULLUP_YMIN<br />&nbsp; #define ENDSTOPPULLUP_ZMIN<br />#endif</p><p>// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.<br />const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.<br />const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.<br />const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.<br />const bool X_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.<br />const bool Y_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.<br />const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.<br />//#define DISABLE_MAX_ENDSTOPS<br />//#define DISABLE_MIN_ENDSTOPS</p><p>// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1<br />#define X_ENABLE_ON 0<br />#define Y_ENABLE_ON 0<br />#define Z_ENABLE_ON 0<br />#define E_ENABLE_ON 0 // For all extruders</p><p>// Disables axis when it&#039;s not being used.<br />#define DISABLE_X false<br />#define DISABLE_Y false<br />#define DISABLE_Z false<br />#define DISABLE_E false // For all extruders<br />#define DISABLE_INACTIVE_EXTRUDER true //disable only inactive extruders and keep active extruder enabled</p><p>#define INVERT_X_DIR true&nbsp; &nbsp; // for Mendel set to false, for Orca set to true<br />#define INVERT_Y_DIR true&nbsp; &nbsp; // for Mendel set to true, for Orca set to false<br />#define INVERT_Z_DIR true&nbsp; &nbsp; &nbsp;// for Mendel set to false, for Orca set to true<br />#define INVERT_E0_DIR false&nbsp; &nbsp;// for direct drive extruder v9 set to true, for geared extruder set to false<br />#define INVERT_E1_DIR false&nbsp; &nbsp; // for direct drive extruder v9 set to true, for geared extruder set to false<br />#define INVERT_E2_DIR false&nbsp; &nbsp;// for direct drive extruder v9 set to true, for geared extruder set to false</p><p>// ENDSTOP SETTINGS:<br />// Sets direction of endstops when homing; 1=MAX, -1=MIN<br />#define X_HOME_DIR 1<br />#define Y_HOME_DIR 1<br />#define Z_HOME_DIR -1</p><p>#define min_software_endstops false // If true, axis won&#039;t move to coordinates less than HOME_POS.<br />#define max_software_endstops false&nbsp; // If true, axis won&#039;t move to coordinates greater than the defined lengths below.</p><p>// Travel limits after homing<br />#define X_MAX_POS 209<br />#define X_MIN_POS 0<br />#define Y_MAX_POS 200<br />#define Y_MIN_POS 0<br />#define Z_MAX_POS 200<br />#define Z_MIN_POS 0</p><p>#define X_MAX_LENGTH (X_MAX_POS - X_MIN_POS)<br />#define Y_MAX_LENGTH (Y_MAX_POS - Y_MIN_POS)<br />#define Z_MAX_LENGTH (Z_MAX_POS - Z_MIN_POS)<br />//============================= Bed Auto Leveling ===========================</p><p>//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)</p><p>#ifdef ENABLE_AUTO_BED_LEVELING</p><p>// There are 2 different ways to pick the X and Y locations to probe:</p><p>//&nbsp; - &quot;grid&quot; mode<br />//&nbsp; &nbsp; Probe every point in a rectangular grid<br />//&nbsp; &nbsp; You must specify the rectangle, and the density of sample points<br />//&nbsp; &nbsp; This mode is preferred because there are more measurements.<br />//&nbsp; &nbsp; It used to be called ACCURATE_BED_LEVELING but &quot;grid&quot; is more descriptive</p><p>//&nbsp; - &quot;3-point&quot; mode<br />//&nbsp; &nbsp; Probe 3 arbitrary points on the bed (that aren&#039;t colinear)<br />//&nbsp; &nbsp; You must specify the X &amp; Y coordinates of all 3 points</p><p>&nbsp; #define AUTO_BED_LEVELING_GRID<br />&nbsp; // with AUTO_BED_LEVELING_GRID, the bed is sampled in a<br />&nbsp; // AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid<br />&nbsp; // and least squares solution is calculated<br />&nbsp; // Note: this feature occupies 10&#039;206 byte<br />&nbsp; #ifdef AUTO_BED_LEVELING_GRID</p><p>&nbsp; &nbsp; // set the rectangle in which to probe<br />&nbsp; &nbsp; #define LEFT_PROBE_BED_POSITION 15<br />&nbsp; &nbsp; #define RIGHT_PROBE_BED_POSITION 170<br />&nbsp; &nbsp; #define BACK_PROBE_BED_POSITION 180<br />&nbsp; &nbsp; #define FRONT_PROBE_BED_POSITION 20</p><p>&nbsp; &nbsp; &nbsp;// set the number of grid points per dimension<br />&nbsp; &nbsp; &nbsp;// I wouldn&#039;t see a reason to go above 3 (=9 probing points on the bed)<br />&nbsp; &nbsp; #define AUTO_BED_LEVELING_GRID_POINTS 2</p><br /><p>&nbsp; #else&nbsp; // not AUTO_BED_LEVELING_GRID<br />&nbsp; &nbsp; // with no grid, just probe 3 arbitrary points.&nbsp; A simple cross-product<br />&nbsp; &nbsp; // is used to esimate the plane of the print bed</p><p>&nbsp; &nbsp; &nbsp; #define ABL_PROBE_PT_1_X 15<br />&nbsp; &nbsp; &nbsp; #define ABL_PROBE_PT_1_Y 180<br />&nbsp; &nbsp; &nbsp; #define ABL_PROBE_PT_2_X 15<br />&nbsp; &nbsp; &nbsp; #define ABL_PROBE_PT_2_Y 20<br />&nbsp; &nbsp; &nbsp; #define ABL_PROBE_PT_3_X 170<br />&nbsp; &nbsp; &nbsp; #define ABL_PROBE_PT_3_Y 20</p><p>&nbsp; #endif // AUTO_BED_LEVELING_GRID</p><br /><p>&nbsp; // these are the offsets to the probe relative to the extruder tip (Hotend - Probe)<br />&nbsp; #define X_PROBE_OFFSET_FROM_EXTRUDER -25<br />&nbsp; #define Y_PROBE_OFFSET_FROM_EXTRUDER -29<br />&nbsp; #define Z_PROBE_OFFSET_FROM_EXTRUDER -12.35</p><p>&nbsp; #define Z_RAISE_BEFORE_HOMING 4&nbsp; &nbsp; &nbsp; &nbsp;// (in mm) Raise Z before homing (G28) for Probe Clearance.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Be sure you have this distance over your Z_MAX_POS in case</p><p>&nbsp; #define XY_TRAVEL_SPEED 8000&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// X and Y axis travel speed between probes, in mm/min</p><p>&nbsp; #define Z_RAISE_BEFORE_PROBING 15&nbsp; &nbsp; //How much the extruder will be raised before traveling to the first probing point.<br />&nbsp; #define Z_RAISE_BETWEEN_PROBINGS 5&nbsp; //How much the extruder will be raised when traveling from between next probing points</p><br /><p>&nbsp; //If defined, the Probe servo will be turned on only during movement and then turned off to avoid jerk<br />&nbsp; //The value is the delay to turn the servo off after powered on - depends on the servo speed; 300ms is good value, but you can try lower it.<br />&nbsp; // You MUST HAVE the SERVO_ENDSTOPS defined to use here a value higher than zero otherwise your code will not compile.</p><p>//&nbsp; #define PROBE_SERVO_DEACTIVATION_DELAY 300</p><br /><p>//If you have enabled the Bed Auto Leveling and are using the same Z Probe for Z Homing,<br />//it is highly recommended you let this Z_SAFE_HOMING enabled!!!</p><p>&nbsp; #define Z_SAFE_HOMING&nbsp; &nbsp;// This feature is meant to avoid Z homing with probe outside the bed area.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // When defined, it will:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // - Allow Z homing only after X and Y homing AND stepper drivers still enabled<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // - If stepper drivers timeout, it will need X and Y homing again before Z homing<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // - Position the probe in a defined XY point before Z Homing when homing all axis (G28)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // - Block Z homing only when the probe is outside bed area.</p><p>&nbsp; #ifdef Z_SAFE_HOMING</p><p>&nbsp; &nbsp; #define Z_SAFE_HOMING_X_POINT (X_MAX_LENGTH/2)&nbsp; &nbsp; // X point for Z homing when homing all axis (G28)<br />&nbsp; &nbsp; #define Z_SAFE_HOMING_Y_POINT (Y_MAX_LENGTH/2)&nbsp; &nbsp; // Y point for Z homing when homing all axis (G28)</p><p>&nbsp; #endif</p><p>#endif // ENABLE_AUTO_BED_LEVELING</p><br /><p>// The position of the homing switches<br />//#define MANUAL_HOME_POSITIONS&nbsp; // If defined, MANUAL_*_HOME_POS below will be used<br />//#define BED_CENTER_AT_0_0&nbsp; // If defined, the center of the bed is at (X=0, Y=0)</p><p>//Manual homing switch locations:<br />// For deltabots this means top and center of the Cartesian print volume.<br />#define MANUAL_X_HOME_POS 0<br />#define MANUAL_Y_HOME_POS 0<br />#define MANUAL_Z_HOME_POS 0<br />//#define MANUAL_Z_HOME_POS 402 // For delta: Distance between nozzle and print surface after homing.</p><p>//// MOVEMENT SETTINGS<br />#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E<br />#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}&nbsp; // set the homing speeds (mm/min)</p><p>// default settings</p><p>#define DEFAULT_AXIS_STEPS_PER_UNIT&nbsp; &nbsp;{88,88,2268,138}&nbsp; // default steps per unit for Ultimaker<br />#define DEFAULT_MAX_FEEDRATE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {500, 500, 5, 45}&nbsp; &nbsp; // (mm/sec)<br />#define DEFAULT_MAX_ACCELERATION&nbsp; &nbsp; &nbsp; {9000,9000,100,10000}&nbsp; &nbsp; // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.</p><p>#define DEFAULT_ACCELERATION&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3000&nbsp; &nbsp; // X, Y, Z and E max acceleration in mm/s^2 for printing moves<br />#define DEFAULT_RETRACT_ACCELERATION&nbsp; 3000&nbsp; &nbsp;// X, Y, Z and E max acceleration in mm/s^2 for retracts</p><p>// Offset of the extruders (uncomment if using more than one and relying on firmware to position when changing).<br />// The offset has to be X=0, Y=0 for the extruder 0 hotend (default extruder).<br />// For the other hotends it is their distance from the extruder 0 hotend.<br />// #define EXTRUDER_OFFSET_X {0.0, 20.00} // (in mm) for each extruder, offset of the hotend on the X axis<br />// #define EXTRUDER_OFFSET_Y {0.0, 5.00}&nbsp; // (in mm) for each extruder, offset of the hotend on the Y axis</p><p>// The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously)<br />#define DEFAULT_XYJERK&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 15.4&nbsp; &nbsp; // (mm/sec)<br />#define DEFAULT_ZJERK&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.4&nbsp; &nbsp; &nbsp;// (mm/sec)<br />#define DEFAULT_EJERK&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;5.0&nbsp; &nbsp; // (mm/sec)</p><p>//===========================================================================<br />//=============================Additional Features===========================<br />//===========================================================================</p><p>// Custom M code points<br />#define CUSTOM_M_CODES<br />#ifdef CUSTOM_M_CODES<br />&nbsp; #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851<br />&nbsp; #define Z_PROBE_OFFSET_RANGE_MIN -15<br />&nbsp; #define Z_PROBE_OFFSET_RANGE_MAX -5<br />#endif</p><br /><p>// EEPROM<br />// The microcontroller can store settings in the EEPROM, e.g. max velocity...<br />// M500 - stores parameters in EEPROM<br />// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).<br />// M502 - reverts to the default &quot;factory settings&quot;.&nbsp; You still need to store them in EEPROM afterwards if you want to.<br />//define this to enable EEPROM support<br />//#define EEPROM_SETTINGS<br />//to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:<br />// please keep turned on if you can.<br />//#define EEPROM_CHITCHAT</p><p>// Preheat Constants<br />#define PLA_PREHEAT_HOTEND_TEMP 180<br />#define PLA_PREHEAT_HPB_TEMP 70<br />#define PLA_PREHEAT_FAN_SPEED 255&nbsp; &nbsp;// Insert Value between 0 and 255</p><p>#define ABS_PREHEAT_HOTEND_TEMP 240<br />#define ABS_PREHEAT_HPB_TEMP 100<br />#define ABS_PREHEAT_FAN_SPEED 255&nbsp; &nbsp;// Insert Value between 0 and 255</p><p>//LCD and SD support<br />//#define ULTRA_LCD&nbsp; //general LCD support, also 16x2<br />//#define DOGLCD&nbsp; // Support for SPI LCD 128x64 (Controller ST7565R graphic Display Family)<br />//#define SDSUPPORT // Enable SD Card Support in Hardware Console<br />//#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you&#039;re getting volume init error)<br />//#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication<br />//#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder<br />//#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking<br />//#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.<br />//#define ULTIPANEL&nbsp; //the UltiPanel as on Thingiverse<br />//#define LCD_FEEDBACK_FREQUENCY_HZ 1000&nbsp; &nbsp; // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click<br />//#define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100 // the duration the buzzer plays the UI feedback sound. ie Screen Click</p><p>// The MaKr3d Makr-Panel with graphic controller and SD support<br />// <a href="http://reprap.org/wiki/MaKr3d_MaKrPanel">http://reprap.org/wiki/MaKr3d_MaKrPanel</a><br />//#define MAKRPANEL</p><p>// The RepRapDiscount Smart Controller (white PCB)<br />// <a href="http://reprap.org/wiki/RepRapDiscount_Smart_Controller">http://reprap.org/wiki/RepRapDiscount_Smart_Controller</a><br />//#define REPRAP_DISCOUNT_SMART_CONTROLLER</p><p>// The GADGETS3D G3D LCD/SD Controller (blue PCB)<br />// <a href="http://reprap.org/wiki/RAMPS_1.3/1.4_GADGETS3D_Shield_with_Panel">http://reprap.org/wiki/RAMPS_1.3/1.4_GA … with_Panel</a><br />//#define G3D_PANEL</p><p>// The RepRapDiscount FULL GRAPHIC Smart Controller (quadratic white PCB)<br />// <a href="http://reprap.org/wiki/RepRapDiscount_Full_Graphic_Smart_Controller">http://reprap.org/wiki/RepRapDiscount_F … Controller</a><br />//<br />// ==&gt; REMEMBER TO INSTALL U8glib to your ARDUINO library folder: <a href="http://code.google.com/p/u8glib/wiki/u8glib">http://code.google.com/p/u8glib/wiki/u8glib</a><br />//#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER</p><p>// The RepRapWorld REPRAPWORLD_KEYPAD v1.1<br />// <a href="http://reprapworld.com/?products_details&amp;products_id=202&amp;cPath=1591_1626">http://reprapworld.com/?products_detail … =1591_1626</a><br />//#define REPRAPWORLD_KEYPAD<br />//#define REPRAPWORLD_KEYPAD_MOVE_STEP 10.0 // how much should be moved when a key is pressed, eg 10.0 means 10mm per click</p><p>// The Elefu RA Board Control Panel<br />// <a href="http://www.elefu.com/index.php?route=product/product&amp;product_id=53">http://www.elefu.com/index.php?route=pr … duct_id=53</a><br />// REMEMBER TO INSTALL LiquidCrystal_I2C.h in your ARUDINO library folder: <a href="https://github.com/kiyoshigawa/LiquidCrystal_I2C">https://github.com/kiyoshigawa/LiquidCrystal_I2C</a><br />//#define RA_CONTROL_PANEL</p><p>//automatic expansion<br />#if defined (MAKRPANEL)<br /> #define DOGLCD<br /> #define SDSUPPORT<br /> #define ULTIPANEL<br /> #define NEWPANEL<br /> #define DEFAULT_LCD_CONTRAST 17<br />#endif</p><p>#if defined (REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)<br /> #define DOGLCD<br /> #define U8GLIB_ST7920<br /> #define REPRAP_DISCOUNT_SMART_CONTROLLER<br />#endif</p><p>#if defined(ULTIMAKERCONTROLLER) || defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL)<br /> #define ULTIPANEL<br /> #define NEWPANEL<br />#endif</p><p>#if defined(REPRAPWORLD_KEYPAD)<br />&nbsp; #define NEWPANEL<br />&nbsp; #define ULTIPANEL<br />#endif<br />#if defined(RA_CONTROL_PANEL)<br /> #define ULTIPANEL<br /> #define NEWPANEL<br /> #define LCD_I2C_TYPE_PCA8574<br /> #define LCD_I2C_ADDRESS 0x27&nbsp; &nbsp;// I2C Address of the port expander<br />#endif</p><p>//I2C PANELS</p><p>//#define LCD_I2C_SAINSMART_YWROBOT<br />#ifdef LCD_I2C_SAINSMART_YWROBOT<br />&nbsp; // This uses the LiquidCrystal_I2C library ( <a href="https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/Home">https://bitbucket.org/fmalpartida/new-l … /wiki/Home</a> )<br />&nbsp; // Make sure it is placed in the Arduino libraries directory.<br />&nbsp; #define LCD_I2C_TYPE_PCF8575<br />&nbsp; #define LCD_I2C_ADDRESS 0x27&nbsp; &nbsp;// I2C Address of the port expander<br />&nbsp; #define NEWPANEL<br />&nbsp; #define ULTIPANEL<br />#endif</p><p>// PANELOLU2 LCD with status LEDs, separate encoder and click inputs<br />//#define LCD_I2C_PANELOLU2<br />#ifdef LCD_I2C_PANELOLU2<br />&nbsp; // This uses the LiquidTWI2 library v1.2.3 or later ( <a href="https://github.com/lincomatic/LiquidTWI2">https://github.com/lincomatic/LiquidTWI2</a> )<br />&nbsp; // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.<br />&nbsp; // (v1.2.3 no longer requires you to define PANELOLU in the LiquidTWI2.h library header file)<br />&nbsp; // Note: The PANELOLU2 encoder click input can either be directly connected to a pin<br />&nbsp; //&nbsp; &nbsp; &nbsp; &nbsp;(if BTN_ENC defined to != -1) or read through I2C (when BTN_ENC == -1).<br />&nbsp; #define LCD_I2C_TYPE_MCP23017<br />&nbsp; #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander<br />&nbsp; #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD<br />&nbsp; #define NEWPANEL<br />&nbsp; #define ULTIPANEL</p><p>&nbsp; #ifndef ENCODER_PULSES_PER_STEP<br />&nbsp; &nbsp; #define ENCODER_PULSES_PER_STEP 4<br />&nbsp; #endif</p><p>&nbsp; #ifndef ENCODER_STEPS_PER_MENU_ITEM<br />&nbsp; &nbsp; #define ENCODER_STEPS_PER_MENU_ITEM 1<br />&nbsp; #endif</p><br /><p>&nbsp; #ifdef LCD_USE_I2C_BUZZER<br />&nbsp; &nbsp; #define LCD_FEEDBACK_FREQUENCY_HZ 1000<br />&nbsp; &nbsp; #define LCD_FEEDBACK_FREQUENCY_DURATION_MS 100<br />&nbsp; #endif</p><p>#endif</p><p>// Panucatt VIKI LCD with status LEDs, integrated click &amp; L/R/U/P buttons, separate encoder inputs<br />//#define LCD_I2C_VIKI<br />#ifdef LCD_I2C_VIKI<br />&nbsp; // This uses the LiquidTWI2 library v1.2.3 or later ( <a href="https://github.com/lincomatic/LiquidTWI2">https://github.com/lincomatic/LiquidTWI2</a> )<br />&nbsp; // Make sure the LiquidTWI2 directory is placed in the Arduino or Sketchbook libraries subdirectory.<br />&nbsp; // Note: The pause/stop/resume LCD button pin should be connected to the Arduino<br />&nbsp; //&nbsp; &nbsp; &nbsp; &nbsp;BTN_ENC pin (or set BTN_ENC to -1 if not used)<br />&nbsp; #define LCD_I2C_TYPE_MCP23017<br />&nbsp; #define LCD_I2C_ADDRESS 0x20 // I2C Address of the port expander<br />&nbsp; #define LCD_USE_I2C_BUZZER //comment out to disable buzzer on LCD (requires LiquidTWI2 v1.2.3 or later)<br />&nbsp; #define NEWPANEL<br />&nbsp; #define ULTIPANEL<br />#endif</p><p>// Shift register panels<br />// ---------------------<br />// 2 wire Non-latching LCD SR from:<br />// <a href="https://bitbucket.org/fmalpartida/new-liquidcrystal/wiki/schematics#!shiftregister-connection">https://bitbucket.org/fmalpartida/new-l … connection</a><br />//#define SR_LCD<br />#ifdef SR_LCD<br />&nbsp; &nbsp;#define SR_LCD_2W_NL&nbsp; &nbsp; // Non latching 2 wire shift register<br />&nbsp; &nbsp;//#define NEWPANEL<br />#endif</p><br /><p>#ifdef ULTIPANEL<br />//&nbsp; #define NEWPANEL&nbsp; //enable this if you have a click-encoder panel<br />&nbsp; #define SDSUPPORT<br />&nbsp; #define ULTRA_LCD<br />&nbsp; #ifdef DOGLCD // Change number of lines to match the DOG graphic display<br />&nbsp; &nbsp; #define LCD_WIDTH 20<br />&nbsp; &nbsp; #define LCD_HEIGHT 5<br />&nbsp; #else<br />&nbsp; &nbsp; #define LCD_WIDTH 20<br />&nbsp; &nbsp; #define LCD_HEIGHT 4<br />&nbsp; #endif<br />#else //no panel but just LCD<br />&nbsp; #ifdef ULTRA_LCD<br />&nbsp; #ifdef DOGLCD // Change number of lines to match the 128x64 graphics display<br />&nbsp; &nbsp; #define LCD_WIDTH 20<br />&nbsp; &nbsp; #define LCD_HEIGHT 5<br />&nbsp; #else<br />&nbsp; &nbsp; #define LCD_WIDTH 16<br />&nbsp; &nbsp; #define LCD_HEIGHT 2<br />&nbsp; #endif<br />&nbsp; #endif<br />#endif</p><p>// default LCD contrast for dogm-like LCD displays<br />#ifdef DOGLCD<br /># ifndef DEFAULT_LCD_CONTRAST<br />#&nbsp; define DEFAULT_LCD_CONTRAST 32<br /># endif<br />#endif</p><p>// Increase the FAN pwm frequency. Removes the PWM noise but increases heating in the FET/Arduino<br />//#define FAST_PWM_FAN</p><p>// Temperature status LEDs that display the hotend and bet temperature.<br />// If all hotends and bed temperature and temperature setpoint are &lt; 54C then the BLUE led is on.<br />// Otherwise the RED led is on. There is 1C hysteresis.<br />//#define TEMP_STAT_LEDS</p><p>// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency<br />// which is not ass annoying as with the hardware PWM. On the other hand, if this frequency<br />// is too low, you should also increment SOFT_PWM_SCALE.<br />//#define FAN_SOFT_PWM</p><p>// Incrementing this by 1 will double the software PWM frequency,<br />// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.<br />// However, control resolution will be halved for each increment;<br />// at zero value, there are 128 effective control positions.<br />#define SOFT_PWM_SCALE 0</p><p>// M240&nbsp; Triggers a camera by emulating a Canon RC-1 Remote<br />// Data from: <a href="http://www.doc-diy.net/photo/rc-1_hacked/">http://www.doc-diy.net/photo/rc-1_hacked/</a><br />// #define PHOTOGRAPH_PIN&nbsp; &nbsp; &nbsp;23</p><p>// SF send wrong arc g-codes when using Arc Point as fillet procedure<br />//#define SF_ARC_FIX</p><p>// Support for the BariCUDA Paste Extruder.<br />//#define BARICUDA</p><p>//define BlinkM/CyzRgb Support<br />//#define BLINKM</p><p>/*********************************************************************\<br />* R/C SERVO support<br />* Sponsored by TrinityLabs, Reworked by codexmas<br />**********************************************************************/</p><p>// Number of servos<br />//<br />// If you select a configuration below, this will receive a default value and does not need to be set manually<br />// set it manually if you have more servos than extruders and wish to manually control some<br />// leaving it undefined or defining as 0 will disable the servo subsystem<br />// If unsure, leave commented / disabled<br />//<br />//#define NUM_SERVOS 3 // Servo index starts with 0 for M280 command</p><p>// Servo Endstops<br />//<br />// This allows for servo actuated endstops, primary usage is for the Z Axis to eliminate calibration or bed height changes.<br />// Use M206 command to correct for switch height offset to actual nozzle height. Store that setting with M500.<br />//<br />//#define SERVO_ENDSTOPS {-1, -1, 0} // Servo index for X, Y, Z. Disable with -1<br />//#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 70,0} // X,Y,Z Axis Extend and Retract angles</p><p>#include &quot;Configuration_adv.h&quot;<br />#include &quot;thermistortables.h&quot;</p><p>#endif //__CONFIGURATION_H</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (cujo3131)]]></author>
			<pubDate>Tue, 26 May 2015 22:58:15 +0000</pubDate>
			<guid>https://www.soliforum.com/post/97127/#p97127</guid>
		</item>
	</channel>
</rss>
