<?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 — Prusa Mendel Calibration Help]]></title>
		<link>https://www.soliforum.com/topic/3368/prusa-mendel-calibration-help/</link>
		<atom:link href="https://www.soliforum.com/feed/rss/topic/3368/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Prusa Mendel Calibration Help.]]></description>
		<lastBuildDate>Tue, 30 Jul 2013 14:54:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Prusa Mendel Calibration Help]]></title>
			<link>https://www.soliforum.com/post/31430/#p31430</link>
			<description><![CDATA[<p>Hello, I currently am working on a Prusa Mendel v1 at the moment and I&#039;m having some issues with my first print. I found this firmware online and I&#039;m having some issues with my x end stop. The extruder will go off the edge of the bed and it&#039;s also rubbing on the bed as well. I&#039;ve tried adjusting the bed several times but during a print it will eventually start rubbing on a different layer. Unfortunately I&#039;m new to 3D printers so some patience would be required, any help would be great.</p><p>Thanks,</p><br /><p>Heres what I have in my arduino</p><br /><p>// This configurtion 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>//User specified version info of THIS file to display in [Pronterface, etc] terminal window during startup.<br />//Implementation of an idea by Prof Braino to inform user that any changes made<br />//to THIS file by the user have been successfully uploaded into firmware.<br />#define STRING_VERSION_CONFIG_H &quot;2012-05-02&quot; //Personal revision number for changes to THIS file.<br />#define STRING_CONFIG_H_AUTHOR &quot;erik&quot; //Who made the changes.</p><p>// This determines the communication speed of the printer<br />#define BAUDRATE 250000<br />//#define BAUDRATE 115200</p><p>//// The following define selects which electronics board you have. Please choose the one that matches your setup<br />// Gen7 custom (Alfons3 Version) = 10 <br />// Gen7 v1.1, v1.2 = 11<br />// Gen7 v1.3 = 12<br />// Gen7 v1.4 = 13<br />// MEGA/RAMPS up to 1.2 = 3<br />// RAMPS 1.3 = 33 (Power outputs: Extruder, Bed, Fan)<br />// RAMPS 1.3 = 34 (Power outputs: Extruder0, Extruder1, Bed)<br />// Gen6 = 5<br />// Gen6 deluxe = 51<br />// Sanguinololu 1.2 and above = 62<br />// Melzi = 63<br />// Ultimaker = 7<br />// Teensylu = 8<br />// Gen3+ =9</p><p>#ifndef MOTHERBOARD<br />#define MOTHERBOARD 5<br />#endif</p><p>//===========================================================================<br />//=============================Thermal Settings&nbsp; ============================<br />//===========================================================================</p><p>//// 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<br />// 2 is 200k thermistor<br />// 3 is mendel-parts thermistor<br />// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!<br />// 5 is ParCan supplied 104GT-2 100K<br />// 6 is EPCOS 100k<br />// 7 is 100k Honeywell thermistor 135-104LAG-J01<br />// 8 is 100k SoftTact Thermister</p><p>#define TEMP_SENSOR_0 6<br />#define TEMP_SENSOR_1 6<br />#define TEMP_SENSOR_2 6<br />#define TEMP_SENSOR_BED 0</p><p>// Actual temperature must be close to target for this long before M109 returns success<br />#define TEMP_RESIDENCY_TIME 1&nbsp; &nbsp; // (seconds)<br />#define TEMP_HYSTERESIS 3&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 recidency 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 275<br />#define HEATER_1_MAXTEMP 275<br />#define HEATER_2_MAXTEMP 275<br />#define BED_MAXTEMP 150</p><br /><p>// PID settings:<br />// Comment the following line to disable PID and enable bang-bang.<br />#define PIDTEMP<br />#define PID_MAX 255 // limits current to nozzle; 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 sets the output power in %<br />&nbsp; #define PID_INTEGRAL_DRIVE_MAX 255&nbsp; //limit for the integral term<br />&nbsp; #define K1 0.95 //smoothing factor withing the PID<br />&nbsp; #define PID_dT 0.128//((16.0 * 8.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the</p><p>// If you are using a preconfigured hotend then you can use one of the value sets by uncommenting it<br />// Ultimaker<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Kp 22.2<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Ki 1.08&nbsp; <br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Kd 114&nbsp; </p><p>// Makergear<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Kp 7.0<br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Ki 0.1&nbsp; <br />//&nbsp; &nbsp; #define&nbsp; DEFAULT_Kd 12&nbsp; </p><p>// Mendel Parts V9 on 12V&nbsp; &nbsp; <br />&nbsp; &nbsp; #define&nbsp; DEFAULT_Kp 63.0<br />&nbsp; &nbsp; #define&nbsp; DEFAULT_Ki (2.25*PID_dT)<br />&nbsp; &nbsp; #define&nbsp; DEFAULT_Kd (440/PID_dT)<br />#endif // PIDTEMP</p><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 />#define EXTRUDE_MINTEMP 100<br />#define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.</p><p>//===========================================================================<br />//=============================Mechanical Settings===========================<br />//===========================================================================</p><p>// Endstop Settings<br />#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors</p><p>// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.<br />const bool X_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. <br />const bool Y_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. <br />const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops. <br />//#define DISABLE_MAX_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</p><p>#define INVERT_X_DIR false&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 false&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// true //If true, axis won&#039;t move to coordinates less than HOME_POS.<br />#define max_software_endstops false// true&nbsp; //If true, axis won&#039;t move to coordinates greater than the defined lengths below.<br />#define X_MAX_LENGTH 200<br />#define Y_MAX_LENGTH 200<br />#define Z_MAX_LENGTH 180</p><p>// The position of the homing switches. Use MAX_LENGTH * -0.5 if the center should be 0, 0, 0<br />#define X_HOME_POS 0<br />#define Y_HOME_POS 0<br />#define Z_HOME_POS 0</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 {3000, 3000, 240, 0}&nbsp; // set the homing speeds (mm/min)</p><p>// default settings </p><p>#define DEFAULT_AXIS_STEPS_PER_UNIT&nbsp; &nbsp;{39.79,39.79, 1706.667,1250}&nbsp; // 53.637 default steps per unit,z = 1280*16/12 = <br />#define DEFAULT_MAX_FEEDRATE&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {500, 500, 5, 45}&nbsp; &nbsp; // (mm/sec)&nbsp; &nbsp; <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 r retracts</p><p>// <br />#define DEFAULT_XYJERK&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 20.0&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>// EEPROM<br />// the microcontroller can store settings in the EEPROM, e.g. max velocity...<br />// M500 - stores paramters in EEPROM<br />// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).&nbsp; <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>//LCD and SD support<br />//#define ULTRA_LCD&nbsp; //general lcd support, also 16x2<br />//#define SDSUPPORT // Enable SD Card Support in Hardware Console</p><p>//#define ULTIMAKERCONTROLLER //as available from the ultimaker online store.<br />//#define ULTIPANEL&nbsp; //the ultipanel as on thingiverse</p><br /><p>#ifdef ULTIMAKERCONTROLLER&nbsp; &nbsp; //automatic expansion<br /> #define ULTIPANEL<br /> #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; #define LCD_WIDTH 20<br />&nbsp; #define LCD_HEIGHT 4<br />&nbsp; <br />// Preheat Constants<br />&nbsp; #define PLA_PREHEAT_HOTEND_TEMP 180 <br />&nbsp; #define PLA_PREHEAT_HPB_TEMP 70<br />&nbsp; #define PLA_PREHEAT_FAN_SPEED 255&nbsp; &nbsp; &nbsp; &nbsp; // Insert Value between 0 and 255</p><p>&nbsp; #define ABS_PREHEAT_HOTEND_TEMP 240<br />&nbsp; #define ABS_PREHEAT_HPB_TEMP 100<br />&nbsp; #define ABS_PREHEAT_FAN_SPEED 255&nbsp; &nbsp; &nbsp; &nbsp; // Insert Value between 0 and 255</p><p>#else //no panel but just lcd <br />&nbsp; #ifdef ULTRA_LCD<br />&nbsp; &nbsp; #define LCD_WIDTH 16<br />&nbsp; &nbsp; #define LCD_HEIGHT 2&nbsp; &nbsp; <br />&nbsp; #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>// M240&nbsp; Triggers a camera by emulating a Canon RC-1 Remote<br />// Data from: <br />// #define PHOTOGRAPH_PIN&nbsp; &nbsp; &nbsp;23</p><p>#include &quot;Configuration_adv.h&quot;<br />#include &quot;thermistortables.h&quot;</p><p>#endif //__CONFIGURATION_H</p>]]></description>
			<author><![CDATA[null@example.com (jordanwatson223)]]></author>
			<pubDate>Tue, 30 Jul 2013 14:54:20 +0000</pubDate>
			<guid>https://www.soliforum.com/post/31430/#p31430</guid>
		</item>
	</channel>
</rss>
