<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Test Code Not Working</title>
        <description> I&#039;ve been banging my head against the wall for the last week trying to figure out whats wrong. The test code found on the reprap wiki blinks all the leds on the ramps 1.4 board but the stepper motors don&#039;t move. The pots are set between .65 - .70. The motors are not vibrating nor are they moving.</description>
        <link>https://reprap.org/forum/read.php?160,601158,601158#msg-601158</link>
        <lastBuildDate>Sat, 18 Apr 2026 22:38:25 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601940#msg-601940</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601940#msg-601940</link>
            <description><![CDATA[ removing the voltage regulator works too...   no need to remove D1]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Tue, 29 Dec 2015 02:48:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601906#msg-601906</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601906#msg-601906</link>
            <description><![CDATA[ Good to know. I took off the voltage regulartor and ordered some more to replace it as well as a new arduino mega. I've heard the ramps board is pretty robust so I'm not to worried about it.]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Mon, 28 Dec 2015 21:44:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601894#msg-601894</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601894#msg-601894</link>
            <description><![CDATA[ Be very careful with this<br />
<br />
he presumes the voltage regulator has blown in such a way that its not putting out any voltage, This is not always the case, often a damaged regulator will output a random voltage.<br />
You should remove d1 from the ramps to stop any voltage going into the voltage regulator (under X and Y stepper driver module) <br />
<br />
You would use + and - pins of the endstops if you where using these to supply 5v to the ramps and mega.<br />
<br />
I would just power it over USB myself, either from a pc or a 5v 1amp power pack (one of those with a usb plug on the back, so you can just move the usb cable from pc to power pack as needed)]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Mon, 28 Dec 2015 20:01:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601765#msg-601765</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601765#msg-601765</link>
            <description><![CDATA[ So you would plug the 5v 1a into and end stop. Would you use the -/+ or signal/+]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Mon, 28 Dec 2015 13:08:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601565#msg-601565</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601565#msg-601565</link>
            <description><![CDATA[ You can work around a dead onboard 5V regulator by using a USB 5V/1A+ wallwart charger or any external 5V supply you can connect to an empty endstop terminal.<br />
-Olaf]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Mon, 28 Dec 2015 03:28:30 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601508#msg-601508</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601508#msg-601508</link>
            <description><![CDATA[ Yea i finally figured that out but... i shorted the back of my endstop causing the voltage regulator on my arduino mega to fry to so i had to order a new one :c]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sun, 27 Dec 2015 22:19:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601495#msg-601495</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601495#msg-601495</link>
            <description><![CDATA[ well that's the issue...<br />
<br />
Thats a 12v 5amp plug!    not 5v...  5v is not enough voltage to move the steppers. (Luckily this doesn’t cause any damage) <br />
<br />
both are meant to be 12v..    the 11amp cct is for heated bed, the 5amp cct is for steppers and hot end and is fed into the mega which creates its own 5v.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sun, 27 Dec 2015 21:02:35 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601397#msg-601397</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601397#msg-601397</link>
            <description><![CDATA[ I just connected to my printer through repetier and i got an error in the log<br />
<br />
13:06:30.074 : Error:No Line Number with checksum, Last Line: 9<br />
13:06:30.130 : Error:Line Number is not Last Line Number+1, Last Line: 9<br />
13:06:30.130 : Resend: 10<br />
<br />
<br />
Would this be the issue if so how do i fix it?]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sun, 27 Dec 2015 14:07:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601353#msg-601353</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601353#msg-601353</link>
            <description><![CDATA[ I uploaded more pictures. Yes I have 12 volts in and the 5 volts isn't the vbs. <a href="http://imgur.com/a/ghTo9" target="_blank"  rel="nofollow">Here is the link to the photos</a>, Also the stepper drivers are a4998]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sun, 27 Dec 2015 11:33:15 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601212#msg-601212</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601212#msg-601212</link>
            <description><![CDATA[ On the first picture I don't see any 12V cables going to the green connector. Do you have a PSU attached at all?<br />
You can't run steppers through USB power...<br />
-Olaf]]></description>
            <dc:creator>o_lampe</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sun, 27 Dec 2015 02:48:28 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601188#msg-601188</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601188#msg-601188</link>
            <description><![CDATA[ Here is the log when connected from Repetier. <br />
<br />
21:36:38.156 : echo:Marlin 1.1.0-RC3<br />
21:36:38.156 : echo: Last Updated: 2015-12-01 12:00 | Author: (none, default config)<br />
21:36:38.156 : Compiled: Dec 26 2015<br />
21:36:38.156 : echo: Free Memory: 4322  PlannerBufferBytes: 1232<br />
21:36:38.160 : echo:Hardcoded Default Settings Loaded<br />
21:36:38.160 : echo: Steps per unit:<br />
21:36:38.160 : echo:  M92 X80.00 Y80.00 Z4000.00 E500.00<br />
21:36:38.164 : echo:Maximum feedrates (mm/s):<br />
21:36:38.164 : echo:  M203 X300.00 Y300.00 Z5.00 E25.00<br />
21:36:38.168 : echo:Maximum Acceleration (mm/s2):<br />
21:36:38.169 : echo:  M201 X3000 Y3000 Z100 E10000<br />
21:36:38.173 : echo:Accelerations: P=printing, R=retract and T=travel<br />
21:36:38.173 : echo:  M204 P3000.00 R3000.00 T3000.00<br />
21:36:38.181 : echo:Advanced variables: S=Min feedrate (mm/s), T=Min travel feedrate (mm/s), B=minimum segment time (ms), X=maximum XY jerk (mm/s),  Z=maximum Z jerk (mm/s),  E=maximum E jerk (mm/s)<br />
21:36:38.181 : echo:  M205 S0.00 T0.00 B20000 X20.00 Z0.40 E5.00<br />
21:36:38.185 : echo:Home offset (mm):<br />
21:36:38.185 : echo:  M206 X0.00 Y0.00 Z0.00<br />
21:36:38.185 : echo:Material heatup parameters:<br />
21:36:38.185 : echo:  M145 M0 H180 B70 F0<br />
21:36:38.189 : echo:  M145 M1 H240 B110 F0<br />
21:36:38.189 : echo: PID settings:<br />
21:36:38.193 : echo:  M301 P22.20 I1.08 D114.00 C100.00 L20<br />
21:36:38.193 : echo:Filament settings: Disabled<br />
21:36:38.193 : echo:  M200 D3.00<br />
21:36:38.193 : echo:  M200 D0<br />
21:36:39.788 : FIRMWARE_NAME:Marlin 1.1.0-RC3 From Archive SOURCE_CODE_URL:http:// ... PROTOCOL_VERSION:1.0 MACHINE_TYPE:3D Printer EXTRUDER_COUNT:1 UUID:00000000-0000-0000-0000-000000000000<br />
21:36:39.809 : X:0.00 Y:0.00 Z:0.00 E:0.00 Count X: 0.00 Y:0.00 Z:0.00<br />
21:36:39.810 : echo:Active Extruder: 0<br />
21:36:39.880 : echo:Active Extruder: 0<br />
21:36:55.807 : Reporting endstop status<br />
21:36:55.807 : x_min: open<br />
21:36:55.807 : x_max: open<br />
21:36:55.807 : y_min: open<br />
21:36:55.807 : y_max: open<br />
21:36:55.807 : z_min: open<br />
21:36:55.807 : z_max: open]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sat, 26 Dec 2015 22:38:02 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601187#msg-601187</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601187#msg-601187</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Dust</strong><br />
You say your running test code, but the LCD shows your running real firmware...<br />
<br />
If your running real firmware get the controller to tell you what it thinks of the endstops<br />
<br />
Ie send m119 to the printer, any that say triggered, it will not move in that direction.</div></blockquote>
<br />
I ran the firmware to post the X:--- <br />
<br />
Endstops all report open when running M119 through repetier<br />
<br />
The test code doesn't move any of the motors with or with out the endstops.]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sat, 26 Dec 2015 22:35:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601186#msg-601186</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601186#msg-601186</link>
            <description><![CDATA[ You say your running test code, but the LCD shows your running real firmware...<br />
<br />
If your running real firmware get the controller to tell you what it thinks of the endstops<br />
<br />
Ie send m119 to the printer, any that say triggered, it will not move in that direction.]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sat, 26 Dec 2015 22:30:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601178#msg-601178</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601178#msg-601178</link>
            <description><![CDATA[ The limit switches are three wire. sorry for the small pictures. I put them up on imgur. Here is a link <a href="http://imgur.com/a/ghTo9" target="_blank"  rel="nofollow">Ramps 1.4</a>, <br />
<br />
Edit: I just switch the endstops to the minimum position instead of the maximum. Thought it might fix it but it didnt.]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sat, 26 Dec 2015 21:53:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601174#msg-601174</guid>
            <title>Re: Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601174#msg-601174</link>
            <description><![CDATA[ Your pictures are tiny!!<br />
<br />
IMG_1045.JPG seems to show your endstops...  these look to be two wires, and look to be in the incorrect place  (they look like they will short - to + when the switch is closed... this is really bad)  If they are 2 wire endstops they should be on S and - pins.  They could be 3 pin endstops, in which case they may be fine. I can't see that from the pictures<br />
<br />
ie two pin endstops (all set to min endstops) look like this<br />
<br />
<div id="div_fc59f42bc7b0ff85adb8faade305b0e2"
     class="mod_embed_images_extended"
     style="width:533px">

  

    
      
    

    <div id="imagediv_fc59f42bc7b0ff85adb8faade305b0e2" class="mod_embed_images_image"
         style="width:533px; height:400px">

    

    <a href="https://brazenartifice.files.wordpress.com/2011/12/ramps-1-4-endstops-and-thermistor-connectors-right-side-up-2.jpg">
        <img src="/forum/thumbcache/5b7/024/f66/75e/2d1/8af/4bd/124/721/73a/15_800x400.png"
             width="533"
             height="400"
             id="image_fc59f42bc7b0ff85adb8faade305b0e2"
             alt="ramps-1-4-endstops-and-thermistor-connectors-right-side-up-2.jpg"
             title="ramps-1-4-endstops-and-thermistor-connectors-right-side-up-2.jpg"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_fc59f42bc7b0ff85adb8faade305b0e2"
      style="display:block">
      <a id="link_fc59f42bc7b0ff85adb8faade305b0e2" href="https://brazenartifice.files.wordpress.com/2011/12/ramps-1-4-endstops-and-thermistor-connectors-right-side-up-2.jpg">ramps-1-4-endstops-and-thermistor-connectors-right-side-up-2.jpg</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('fc59f42bc7b0ff85adb8faade305b0e2', '/forum/thumbcache/5b7/024/f66/75e/2d1/8af/4bd/124/721/73a/15_800x400.png', 'https://brazenartifice.files.wordpress.com/2011/12/ramps-1-4-endstops-and-thermistor-connectors-right-side-up-2.jpg', 'https://reprap.org/forum/addon.php?160,module=embed_images,check_scaling=1,url=https%3A%2F%2Fbrazenartifice.files.wordpress.com%2F2011%2F12%2Framps-1-4-endstops-and-thermistor-connectors-right-side-up-2.jpg', '', 601174, 800, 400, 'Loading image ...', false);
</script>
<br />
<br />
Now after saying this, the test code doesnt check endstops...  But its they are shorting 5v to ground...  you will have issues.<br />
<br />
I would say you have you motors wired wrong.<br />
<br />
check the motor wiring, ignore any color codes, as no two suppliers use the same colors and some even change the colors week to week.<br />
<br />
read this <a href="http://reprap.org/wiki/Stepper_wiring" target="_blank"  rel="nofollow">http://reprap.org/wiki/Stepper_wiring</a>   you have to identify which two wires on your stepper motors are a coil  and make sure those two wires are together on the ramps connector  (pins 1 and 2 are first coil, pins 3 and 4 are second coil)<br/>]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sat, 26 Dec 2015 21:32:29 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?160,601158,601158#msg-601158</guid>
            <title>Test Code Not Working</title>
            <link>https://reprap.org/forum/read.php?160,601158,601158#msg-601158</link>
            <description><![CDATA[ I've been banging my head against the wall for the last week trying to figure out whats wrong. The test code found on the reprap wiki blinks all the leds on the ramps 1.4 board but the stepper motors don't move. The pots are set between .65 - .70. The motors are not vibrating nor are they moving.]]></description>
            <dc:creator>BillyGoat</dc:creator>
            <category>Stepper Motors, Servo Motors, DC Motors</category>
            <pubDate>Sat, 26 Dec 2015 18:52:02 -0500</pubDate>
        </item>
    </channel>
</rss>
