<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Settings for Arduino G-Code Interpreter? (solved)</title>
		<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved</link>
		<description>Posts in the discussion thread &quot;Settings for Arduino G-Code Interpreter? (solved)&quot; - From Arduino Firmware v1.3 to reprap_new-firmware, basic Gcode, limit switches and so on</description>
				<copyright></copyright>
		<lastBuildDate>Mon, 06 Feb 2012 04:21:47 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-714294</guid>
				<title>Re: Settings for Arduino G-Code Interpreter? (now realy solved)</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-714294</link>
				<description></description>
				<pubDate>Wed, 03 Mar 2010 20:35:59 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Vitaly,</p> <p>with limit switches (= pull up resistors on Min and Max) I don't have floating inputs anymore and I'm starting drawing awesome circles :-D I will post some video.</p> <p>Thanks for your help and patience :-) Shortly I will amend some passages in the according chapters. Also I will mark this thread as solved.</p> <p>Christoph</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713555</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713555</link>
				<description></description>
				<pubDate>Wed, 03 Mar 2010 01:00:18 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I think what's happening is: because the limit switches are not connected, the noise inducted in the logic wires is triggering the limit switch inputs on Arduino. To prevent this, connect the limit switch plugs to the board - they include pull up resistors (well they have to be soldered). This defaults the limit switch input to 5V.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713538</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713538</link>
				<description></description>
				<pubDate>Wed, 03 Mar 2010 00:29:09 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>With</p> <p>G20<br /> G91<br /> G3 X0 Y0 I1 J0 F10</p> <p>not a perfect circle as I expected, more like two separates curves, but much better than I expected today!</p> <p>Have a look:</p> <a href="http://www.flickr.com/photos/mantao05/4402018987/"><img src="http://farm1.static.flickr.com/999/4402018987_0000000001_m.jpg" alt="flickr:4402018987" class="image" /></a> <p>and I need <strong>limit switches</strong>! as can be seen here</p> <div class="image-container alignleft"><a href="http://www.flickr.com/photos/40642599@N07/4292661386/"><img src="http://farm5.static.flickr.com/4008/4292661386_23543fcf98.jpg" alt="flickr:4292661386" class="image" /></a></div> <p>Good night for today and thanks a lot!<br /> Christoph</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713518</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713518</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 23:59:53 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Sorry I should have written this up as I think I struggled with it as well in the beginning. But it was a while ago, and things start seeming obvious even though they're not.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713517</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713517</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 23:57:00 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I will document all this step by step for dummies like me.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713516</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713516</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 23:55:47 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yeah, that's it!!! Uhh, I have to learn GCode syntax!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713511</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713511</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 23:49:21 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>right, because it's a separate command :)<br /> G20 - inches<br /> G91 - relative mode<br /> G3 X0 Y0 I1 J0 F10 - circle at 10 in/min</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713509</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713509</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 23:45:55 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>no real difference with "G20 G3 X0 Y0 I1 J0 F10" or "G21 G3 X0 Y0 I1 J0 F10"</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713508</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713508</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 23:42:37 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Are you running inches or metric? G20 switches to inches, G21 to millimeters. The default mode is millimeters.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713505</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713505</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 23:36:55 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks! Now I have reproducible movements. They are not as I expected, very small for example with "G3 X0 Y0 I1 J0 F10" but good for a starting point :-)</p> <p>Have a look here</p> <div class="image-container alignleft"><a href="http://www.flickr.com/photos/mantao05/4402683232/"><img src="http://farm5.static.flickr.com/4034/4402683232_95ae76a610_m.jpg" alt="flickr:4402683232" class="image" /></a></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713268</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713268</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 18:51:17 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Oh, I hardcoded the 38400 baud rate in reprap_new_firmware.pde, so whatever terminal you're using should be set to that (or change the baud rate in the code)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713224</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713224</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 18:13:13 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>A good news and a bad news:</p> <ol> <li>I can compile and upload the sourceforge version</li> <li>The Mini CNC doesn't show any reactio. The Arduino is receiving and transmitting (RX, TX LED are flashing, some cryptic messages in the serial terminal) but no reaction from the LEDs of the stepper motor drivers</li> </ol> <p>Hmpf</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713207</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713207</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 17:49:55 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Yeah, it's not just _init.pde but other files that are affected as well.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713201</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713201</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 17:41:39 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I could compile the sourceforge version with Arduino 0018!!! :-D</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713197</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713197</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 17:31:48 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Vitaly,</p> <p>I got the link to the file <a href="http://www.contraptor.org/local--files/forum:thread/reprap_new_firmware.tar.gz" >reprap_new_firmware.tar.gz</a> via mail message (watching site). I inserted your -init.pde you posted above but still get the error</p> <p>In function »void RR_setupSerial()«:<br /> Fehler: »<strong>UBRRH</strong>« wurde in diesem Gültigkeitsbereich nicht definiert In function »void RR_serialWrite(unsigned char)«:<br /> In function »void RR_analogWrite(uint8_t, int)«:<br /> In function »void SIG_UART_RECV()«:</p> <p>Because I remember that you sometimes mentioned that you are using the IDE Arduino 0012, I tried it also with early versions of the IDE (on a 32bit system). 0012, ATmega328 is not supported, the versions above beginning with 0013 thrown all the same error as above.</p> <p>I can't understand how the RepRap people are getting to run there stuff, I didn't find anything recording to all these errors. What a pitty, that there is now ongoing by Chris.</p> <p>Christoph</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-713180</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-713180</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 17:07:25 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I uploaded it to the SVN on Sourceforge where the old source files for Contraptor are: <a href="http://contraptor.svn.sourceforge.net/viewvc/contraptor/trunk/firmware/">http://contraptor.svn.sourceforge.net/viewvc/contraptor/trunk/firmware/</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712911</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712911</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 08:42:27 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Vitaly,</p> <p>I have had this situation several weeks ago with no solution. If I klick "Options" I just get "Permanent Link | Edit | Delete"</p> <p>Christoph</p> <p>PS.: As a mail message I saw that you uploaded a file.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712889</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712889</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 07:48:51 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>There should be Files option available at the bottom of the page</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712866</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712866</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 06:53:59 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Sorry Vitaly,</p> <p>I can't see any attached files in the forum, like before some weeks (forum settings, rights)</p> <p>Christoph</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712742</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712742</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 03:20:58 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I attached the code I'm currently using. As I mentioned, I commented out most of the optimizations of native functions. I also added a define to keep the steppers on when not moving, this can be useful if stages do not stay in position for some reason (weight, vibrations). I used it on the belt-driven Z axis here: <a href="http://www.contraptor.org/fast-drilling-contraption">http://www.contraptor.org/fast-drilling-contraption</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712652</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712652</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 00:51:43 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ah, that's right - I modified this firmware a bit, mostly removing optimizations of Arduino native functions that he did to fit the code in 16K. I will zip up the version I have and attach it to this thread.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712634</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712634</link>
				<description></description>
				<pubDate>Tue, 02 Mar 2010 00:08:15 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>When compiling Chris' reprap_new-firmware I get the error</p> <p>In function »void RR_setupSerial()«:<br /> Fehler: »UBRRH« wurde in diesem Gültigkeitsbereich nicht definiert In function »void RR_serialWrite(unsigned char)«:<br /> In function »void RR_analogWrite(uint8_t, int)«:<br /> In function »void SIG_UART_RECV()«:</p> <p>"UBRRH not in scope" (in optimal_routines.pde "UBRRH = ((F_CPU / 16 + baud / 2) / baud - 1) » 8;") as somebody in the thread also mentioned :-(</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712590</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712590</link>
				<description></description>
				<pubDate>Mon, 01 Mar 2010 23:14:19 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I'm using what looks to be the newer version available here: <a href="http://forums.reprap.org/read.php?12,19155">http://forums.reprap.org/read.php?12,19155</a><br /> It's attached to the first post by Chris.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712553</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712553</link>
				<description></description>
				<pubDate>Mon, 01 Mar 2010 22:18:20 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Vitaly,</p> <p>which firmware version are you using? If I try to compile v1.3 I get this error message</p> <p>Fehler: »CURVE_SECTION_INCHES« wurde in diesem Gültigkeitsbereich nicht definiert In function »void process_string(char*, int)«:<br /> In function »bool read_switch(byte)«:<br /> In function »long int getMaxSpeed()«:</p> <p>Means "not defined in this scope" in process_string.pde</p> <p>Christoph</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712530</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712530</link>
				<description></description>
				<pubDate>Mon, 01 Mar 2010 21:55:54 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Christoph,</p> <p>Here is my _init.pde:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-comment">// define the parameters of our machine.</span><span class="hl-code"> </span><span class="hl-comment">// belt drive</span><span class="hl-code"> </span><span class="hl-comment">//#define X_STEPS_PER_INCH 200.0</span><span class="hl-code"> </span><span class="hl-comment">//#define X_STEPS_PER_MM 7.874</span><span class="hl-code"> </span><span class="hl-comment">// all thread leadscrew</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">8000.0</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">314.961</span><span class="hl-code"> </span><span class="hl-comment">// ACME leadscrew</span><span class="hl-code"> </span><span class="hl-comment">//#define X_STEPS_PER_INCH 6400.0</span><span class="hl-code"> </span><span class="hl-comment">//#define X_STEPS_PER_MM 251.968</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">8000.0</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">314.961</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">8000.0</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">314.961</span><span class="hl-code"> </span><span class="hl-comment">//our maximum feedrates in units/minute</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">FAST_XY_FEEDRATE_INCH</span><span class="hl-code"> </span><span class="hl-number">20</span><span class="hl-code"> </span><span class="hl-comment">//300</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">FAST_Z_FEEDRATE_INCH</span><span class="hl-code"> </span><span class="hl-number">15</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">FAST_XY_FEEDRATE_MM</span><span class="hl-code"> </span><span class="hl-number">360</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">FAST_Z_FEEDRATE_MM</span><span class="hl-code"> </span><span class="hl-number">360</span><span class="hl-code"> </span><span class="hl-comment">// Maximum acceleration in units/minute/second</span><span class="hl-code"> </span><span class="hl-comment">// E.g. for 300.0 machine would accelerate to 150units/minute in 0.5sec etc.</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">MAX_ACCEL_INCH</span><span class="hl-code"> </span><span class="hl-number">50.0</span><span class="hl-code"> </span><span class="hl-comment">//500.0</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">MAX_ACCEL_MM</span><span class="hl-code"> </span><span class="hl-number">1200.0</span><span class="hl-code"> </span><span class="hl-comment">// Maximum change in velocity per axis - if the change in velocity at the start</span><span class="hl-code"> </span><span class="hl-comment">// of the next move is greater than this for at least one axis, we will decelerate</span><span class="hl-code"> </span><span class="hl-comment">// to a stop before commencing the move, otherwise we will keep going</span><span class="hl-code"> </span><span class="hl-comment">// value is units/minute</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">MAX_DELTA_V_INCH</span><span class="hl-code"> </span><span class="hl-number">5.0</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">MAX_DELTA_V_MM</span><span class="hl-code"> </span><span class="hl-number">100.0</span><span class="hl-code"> </span><span class="hl-comment">// Set to one if endstop outputs are inverting (ie: 1 means open, 0 means closed)</span><span class="hl-code"> </span><span class="hl-comment">// RepRap opto endstops are *not* inverting.</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">ENDSTOPS_INVERTING</span><span class="hl-code"> </span><span class="hl-number">1</span><span class="hl-code"> </span><span class="hl-comment">// Optionally disable max endstops to save pins or wiring</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">ENDSTOPS_MIN_ENABLED</span><span class="hl-code"> </span><span class="hl-number">1</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">ENDSTOPS_MAX_ENABLED</span><span class="hl-code"> </span><span class="hl-number">1</span><span class="hl-code"> </span><span class="hl-comment">// How many temperature samples to take. each sample takes about 100 usecs.</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">TEMPERATURE_SAMPLES</span><span class="hl-code"> </span><span class="hl-number">5</span><span class="hl-code"> </span><span class="hl-comment">// The *_ENABLE_PIN signals are active high as default. Define this</span><span class="hl-code"> </span><span class="hl-comment">// to one if they should be active low instead (e.g. if you're using different</span><span class="hl-code"> </span><span class="hl-comment">// stepper boards).</span><span class="hl-code"> </span><span class="hl-comment">// RepRap stepper boards are *not* inverting.</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">INVERT_ENABLE_PINS</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-comment">// If you use this firmware on a cartesian platform where the</span><span class="hl-code"> </span><span class="hl-comment">// stepper direction pins are inverted, set these defines to 1</span><span class="hl-code"> </span><span class="hl-comment">// for the axes which should be inverted.</span><span class="hl-code"> </span><span class="hl-comment">// RepRap stepper boards are *not* inverting.</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">INVERT_DIR</span><span class="hl-code"> </span><span class="hl-number">1</span><span class="hl-code"> </span><span class="hl-comment">// CHANGED CM - ONLY ONE FOR ALL AXES</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">STEPPERS_ALWAYS_ON</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-mlcomment">/**************************************************************************************** * digital i/o pin assignment * * this uses the undocumented feature of Arduino - pins 14-19 correspond to analog 0-5 ****************************************************************************************/</span><span class="hl-code"> </span><span class="hl-comment">//cartesian bot pins</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_STEP_PIN</span><span class="hl-code"> </span><span class="hl-number">2</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_DIR_PIN</span><span class="hl-code"> </span><span class="hl-number">3</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_ENABLE_PIN</span><span class="hl-code"> </span><span class="hl-number">4</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_MIN_PIN</span><span class="hl-code"> </span><span class="hl-number">5</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_MAX_PIN</span><span class="hl-code"> </span><span class="hl-number">6</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_STEP_PIN</span><span class="hl-code"> </span><span class="hl-number">8</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_DIR_PIN</span><span class="hl-code"> </span><span class="hl-number">9</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_ENABLE_PIN</span><span class="hl-code"> </span><span class="hl-number">10</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_MIN_PIN</span><span class="hl-code"> </span><span class="hl-number">11</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_MAX_PIN</span><span class="hl-code"> </span><span class="hl-number">12</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_STEP_PIN</span><span class="hl-code"> </span><span class="hl-number">14</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_DIR_PIN</span><span class="hl-code"> </span><span class="hl-number">15</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_ENABLE_PIN</span><span class="hl-code"> </span><span class="hl-number">16</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_MIN_PIN</span><span class="hl-code"> </span><span class="hl-number">17</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_MAX_PIN</span><span class="hl-code"> </span><span class="hl-number">18</span><span class="hl-code"> </span><span class="hl-comment">//extruder pins</span><span class="hl-code"> </span><span class="hl-comment">// NOTE - USING Timer1 FOR STEPPER TIMER SO CAN'T USER PINS 9 OR 10 FOR PWM</span><span class="hl-code"> </span><span class="hl-comment">// OUTPUT (EXTRUDER_MOTOR_SPEED_PIN, EXTRUDER_HEATER_PIN, OR EXTRUDER_FAN_PIN)</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_MOTOR_SPEED_PIN</span><span class="hl-code"> </span><span class="hl-number">19</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_MOTOR_DIR_PIN</span><span class="hl-code"> </span><span class="hl-number">19</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_HEATER_PIN</span><span class="hl-code"> </span><span class="hl-number">19</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_FAN_PIN</span><span class="hl-code"> </span><span class="hl-number">19</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_THERMISTOR_PIN</span><span class="hl-code"> -</span><span class="hl-number">1</span><span class="hl-code"> </span><span class="hl-comment">//a -1 disables thermistor readings</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_THERMOCOUPLE_PIN</span><span class="hl-code"> -</span><span class="hl-number">1</span><span class="hl-code"> </span><span class="hl-comment">//a -1 disables thermocouple readings</span> </pre></div> </div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712511</guid>
				<title>Re: Settings for Arduino G-Code Interpreter?</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712511</link>
				<description></description>
				<pubDate>Mon, 01 Mar 2010 21:39:16 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Now I'm using these settings:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-comment">// define the parameters of our machine. Doubled because of half stepping</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">8000</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">314</span><span class="hl-code">,</span><span class="hl-number">96063</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_MOTOR_STEPS</span><span class="hl-code"> </span><span class="hl-number">400</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">8000</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">314</span><span class="hl-code">,</span><span class="hl-number">96063</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_MOTOR_STEPS</span><span class="hl-code"> </span><span class="hl-number">400</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">8000</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">314</span><span class="hl-code">,</span><span class="hl-number">96063</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_MOTOR_STEPS</span><span class="hl-code"> </span><span class="hl-number">400</span><span class="hl-code"> </span><span class="hl-comment">//our maximum feedrates</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">FAST_XY_FEEDRATE</span><span class="hl-code"> </span><span class="hl-number">20</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">FAST_Z_FEEDRATE</span><span class="hl-code"> </span><span class="hl-number">20</span> </pre></div> </div> <p>I'm getting non reproducable results. The first test has been fine, as I posted above. But then I never could produce it again. After three hours of testing (controlling the wiring, checking with my Basic3AxisTest, which went fine, compiling and uploading the firmware) I don't have any clue, where I fail. Maybe there is a interference with the settings for the extruder pins, which I set like this:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-comment">//extruder pins</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_MOTOR_SPEED_PIN</span><span class="hl-code"> </span><span class="hl-number">1</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_MOTOR_DIR_PIN</span><span class="hl-code"> </span><span class="hl-number">2</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_HEATER_PIN</span><span class="hl-code"> </span><span class="hl-number">13</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_FAN_PIN</span><span class="hl-code"> </span><span class="hl-number">19</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_THERMISTOR_PIN</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-comment">//a -1 disables thermistor readings</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">EXTRUDER_THERMOCOUPLE_PIN</span><span class="hl-code"> -</span><span class="hl-number">1</span><span class="hl-code"> </span><span class="hl-comment">//a -1 disables thermocouple readings</span> </pre></div> </div> <p>I'm just getting very small movements.</p> <p>Christoph</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712375</guid>
				<title>Re: Settings for Arduino G-Code Interpreter (solved)</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712375</link>
				<description></description>
				<pubDate>Mon, 01 Mar 2010 18:26:42 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Vitaly,</p> <p>thanks a lot! That's the solution. I guess I didn't change <strong>all</strong> the values consequently. No I'm able to determine, which are the true X, Y and Z axis ;-)</p> <p>I will include the -int.pde settings in <a href="http://www.contraptor.org/arduino-gcode-interpreter">Learn:Arduino GCode Interpreter</a></p> <p>Christoph</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712366</guid>
				<title>Re: Settings for Arduino G-Code Interpreter</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712366</link>
				<description></description>
				<pubDate>Mon, 01 Mar 2010 18:11:41 +0000</pubDate>
				<wikidot:authorName>Albanetc</wikidot:authorName>				<wikidot:authorUserId>381022</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Christoph,</p> <p>The boards are hardwired to be in halfstepping mode, so your effective steps per revolution should be 400, and steps per inch should be 8000, and values in millimeters should be recalculated accordingly. FAST_XY_FEEDRATE should be something like 20 IPM or its metric equivalent for metric mode. The FAST_ feedrate setting is for G0 command, G1 commands will run at whatever feedrate previously set via F code.</p> <p>Vitaly</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.contraptor.org/forum/t-223220#post-712342</guid>
				<title>Settings for Arduino G-Code Interpreter</title>
				<link>http://www.contraptor.org/forum/t-223220/settings-for-arduino-g-code-interpreter-solved#post-712342</link>
				<description></description>
				<pubDate>Mon, 01 Mar 2010 17:40:59 +0000</pubDate>
				<wikidot:authorName>gatonero</wikidot:authorName>				<wikidot:authorUserId>406275</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi Contraptionists,</p> <p>I assembled my Mini CNC and I'm looking forward for making some controlles GCode movements. Until now it moves, but not as I expect.</p> <p>First of all a descripion of my environment with some specifications.</p> <h1><span>Hardware</span></h1> <ul> <li><a href="http://arduino.cc/en/Main/ArduinoBoardDuemilanove" >Arduino Board Duemilanove with Atmega328</a></li> <li><a href="http://reprap.org/bin/view/Main/Stepper_Motor_Driver_1_2" >Reprap Stepper Motor Driver v1.2</a></li> <li><a href="http://www.contraptor.org/mini-cnc" >Mini CNC</a> with threaded-rods 1/4-20</li> <li><a href="http://www.alltronics.com/cgi-bin/item/25M002/55/Applied-Motion-Products-44A501711-unipolar-stepper-motor" >Alltronics #44A501711 NEMA23 motors</a></li> </ul> <p>Unipolar stepper motor. This motor is a NEMA size 23. Specs are 60 in/oz Holding Torque, 200 steps/rev, 2.3V, 2.3A, DC, 80&nbsp;C degree Rise</p> <h1><span>Software, Firmware</span></h1> <ul> <li><a href="http://arduino.cc/en/Main/Software" >IDE Arduino 0018, Linux 64bit</a></li> <li><a href="http://sourceforge.net/projects/reprap/files/Arduino%20Firmware/" >Arduino Firmware v1.3</a></li> </ul> <p>According to the explanations on <a href="http://reprap.org/bin/view/Main/Arduino_GCode_Interpreter" >Arduino G-Code Interpreter</a> I'm using the following settings in the file _init.pde</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-comment">// define the parameters of our machine.</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">4000</span><span class="hl-code"> </span><span class="hl-comment">// 200 steps/rev + 20 threads per inch * steps in a revolution</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">157.480315</span><span class="hl-code"> </span><span class="hl-comment">// *_STEPS_PER_INCH / 25.4</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_MOTOR_STEPS</span><span class="hl-code"> </span><span class="hl-number">200</span><span class="hl-code"> </span><span class="hl-comment">// to double because of half stepping? X_STEPS_PER_INCH also?</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">4000</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">157</span><span class="hl-code">,</span><span class="hl-number">480315</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_MOTOR_STEPS</span><span class="hl-code"> </span><span class="hl-number">200</span><span class="hl-code"> </span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_STEPS_PER_INCH</span><span class="hl-code"> </span><span class="hl-number">4000</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_STEPS_PER_MM</span><span class="hl-code"> </span><span class="hl-number">157</span><span class="hl-code">,</span><span class="hl-number">480315</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_MOTOR_STEPS</span><span class="hl-code"> </span><span class="hl-number">200</span><span class="hl-code"> </span><span class="hl-comment">//our maximum feedrates</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">FAST_XY_FEEDRATE</span><span class="hl-code"> </span><span class="hl-number">1200.0</span><span class="hl-code"> </span><span class="hl-comment">// just a assumption</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">FAST_Z_FEEDRATE</span><span class="hl-code"> </span><span class="hl-number">1200.0</span><span class="hl-code"> </span><span class="hl-comment">// just a assumption</span><span class="hl-code"> </span><span class="hl-comment">// Units in curve section</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">CURVE_SECTION_INCHES</span><span class="hl-code"> </span><span class="hl-number">0.019685</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">CURVE_SECTION_MM</span><span class="hl-code"> </span><span class="hl-number">0.5</span><span class="hl-code"> </span><span class="hl-comment">// Set to one if sensor outputs inverting (ie: 1 means open, 0 means closed)</span><span class="hl-code"> </span><span class="hl-comment">// RepRap opto endstops are *not* inverting.</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">SENSORS_INVERTING</span><span class="hl-code"> </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-comment">// How many temperature samples to take. each sample takes about 100 usecs.</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">TEMPERATURE_SAMPLES</span><span class="hl-code"> </span><span class="hl-number">5</span><span class="hl-code"> </span><span class="hl-mlcomment">/**************************************************************************************** * digital i/o pin assignment * * this uses the undocumented feature of Arduino - pins 14-19 correspond to analog 0-5 ****************************************************************************************/</span><span class="hl-code"> </span><span class="hl-comment">//cartesian bot pins, settings for Contraptor wiring</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_STEP_PIN</span><span class="hl-code"> </span><span class="hl-number">3</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_DIR_PIN</span><span class="hl-code"> </span><span class="hl-number">4</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_ENABLE_PIN</span><span class="hl-code"> </span><span class="hl-number">5</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_MIN_PIN</span><span class="hl-code"> </span><span class="hl-number">6</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">X_MAX_PIN</span><span class="hl-code"> </span><span class="hl-number">7</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_STEP_PIN</span><span class="hl-code"> </span><span class="hl-number">8</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_DIR_PIN</span><span class="hl-code"> </span><span class="hl-number">9</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_ENABLE_PIN</span><span class="hl-code"> </span><span class="hl-number">10</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_MIN_PIN</span><span class="hl-code"> </span><span class="hl-number">11</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Y_MAX_PIN</span><span class="hl-code"> </span><span class="hl-number">12</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_STEP_PIN</span><span class="hl-code"> </span><span class="hl-number">14</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_DIR_PIN</span><span class="hl-code"> </span><span class="hl-number">15</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_ENABLE_PIN</span><span class="hl-code"> </span><span class="hl-number">16</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_MIN_PIN</span><span class="hl-code"> </span><span class="hl-number">17</span><span class="hl-code"> </span><span class="hl-prepro">#define</span><span class="hl-code"> </span><span class="hl-identifier">Z_MAX_PIN</span><span class="hl-code"> </span><span class="hl-number">18</span><span class="hl-code"> </span><span class="hl-comment">// I kicked off the extruder stuff</span> </pre></div> </div> <p>If I use these GCode commands</p> <div class="code"> <pre> <code>G3 X0 Y0 I1 J0 F10</code> </pre></div> <p>the Mini CNC just makes very little movements, but not movements you can see here for example <a href="http://www.flickr.com/photos/40642599@N07/4089099448/"><img src="http://farm3.static.flickr.com/2490/4089099448_2ab0c3b18b.jpg" alt="flickr:4089099448" class="image" /></a>. I also doubled the values for *_STEPS_PER_INCH, *_STEPS_PER_MM and *_MOTOR_STEPS without any success.</p> <p>Where is my shortcoming?</p> <p>Please help!</p> <p>Christoph</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>
