<p>If I <em>accidentally</em> reverse the polarity of my power supply to the RAMPS board, what <em>exactly</em> will be damaged?</p>

<p>Will it harm my:</p>

<ul>
<li>RAMPS;</li>
<li>Arduino Mega;</li>
<li>Stepper motor and/or drivers, or; </li>
<li>Any other electronic part(s)?</li>
</ul>

<p>Will all or some of them be permanently damaged?</p>

[{'answer_id': 6909, 'author': 'Greenonline', 'author_id': 4762, 'author_profile': 'https://3dprinting.stackexchange.com/users/4762', 'pm_score': 2, 'selected': False, 'text': '<h3>Polyfuses on the RAMPS</h3>\n<p>Fire appears to be the immediate issue, in the poly fuses.</p>\n<p>From <a href="https://www.reddit.com/r/Reprap/comments/2gpih3/reversed_polarity_ramps_on_fire/" rel="nofollow noreferrer">Reddit: reversed polarity, RAMPS on fire</a></p>\n<blockquote>\n<p>Sooo I made the dumb mistake of reversing the polarity from my psu into the RAMPS 1.4. As warned the ramps did not like this and smoke began to rise from the board. I am pretty sure I saw smoke only coming from the two ptc fuses (big flat yellow ones).</p>\n</blockquote>\n<h3>Replacing poly fuses</h3>\n<p>Note: Older RAMPS 1.4 have easily replaceable large poly fuses, whereas the RAMPS 1.5/1.6 use SMD poly fuses, see 0scar\'s answer to <a href="https://3dprinting.stackexchange.com/questions/5623/ramps-1-4-1-5-or-1-6">RAMPS 1.4, 1.5 or 1.6?</a></p>\n<hr />\n<h3>Arduino</h3>\n<p>According to <a href="https://www.reddit.com/r/Reprap/comments/2gpih3/reversed_polarity_ramps_on_fire/ckln3ix/" rel="nofollow noreferrer">this user</a>, the MOSFETs <em>and</em> the Arduino Mega\'s regulator can be fried as well:</p>\n<blockquote>\n<p>it most likely fried the mosfets next to the fuses and probably the voltage regulator on your arduino.</p>\n</blockquote>\n<p>However, the fried regulator would only affect the Arduino\'s operation if powered through the power socket, or VIN (which the RAMPS board uses to power the Arduino Mega). However, via the USB it should still work. See <a href="https://www.reddit.com/r/Reprap/comments/2gpih3/reversed_polarity_ramps_on_fire/ckm2rlc/" rel="nofollow noreferrer">this post</a>, on the same thread:</p>\n<blockquote>\n<p>The voltage regulator is only needed if you supply power to the arduino via the Vin pin or with a separate power adapter. The RAMPS board does supply the Vin pin with 12V.</p>\n</blockquote>\n<p>So, you would probably have to rely on powering the Arduino via the USB and not the RAMPS</p>\n<p>Regarding the Arduino, on Arduino.SE there are a number of users who have fried their Arduino in this manner, and many of them suffer slightly different failures, although most are centered around the regulator. One case I remember was that of a capacitor burnout, see <a href="https://arduino.stackexchange.com/questions/54006/is-my-arduino-dead">Is my Arduino dead?</a> - although the use case was different. There are many other cases on the Arduino.SE.</p>\n<hr />\n<h3>Protection Diode</h3>\n<p>According to <a href="https://reprap.org/forum/read.php?13,600886,600893#msg-600893" rel="nofollow noreferrer">this post</a> on <a href="https://reprap.org/forum/read.php?13,600886,600893" rel="nofollow noreferrer">RepRap - Reverse Polarity</a>, there <em>should</em> be a <strong>reverse polarity protection diode</strong> (although it appears not to have work in the above example):</p>\n<blockquote>\n<p>If it was a ramps, those have a reverse protection diode across the input that normally needs replaced after such an incident</p>\n</blockquote>\n<hr />\n<h3>Stepper drivers/motors</h3>\n<p>The stepper motors themselves should survive, as should the stepper drivers.</p>\n<p><em><strong>However</strong></em>, each case can be different and it would depend upon the quality of the board (is it a cheap clone or branded?), and the quality/tolerance of the components used - these factors would determine where in the chain of modules the failure occurs. Obviously, the earlier the failure\'s location in the chain the better.</p>\n<hr />\n<h3>MKS Base v1.2</h3>\n<p>As an aside, this user fried their regulator (the fuses were fine) on a MKS Base v1.2 (not RAMPS), by reversing the polarity, which caused the stepper drivers to fail. However, replacing the regulator fixed it, see <a href="https://reprap.org/forum/read.php?13,600886,602910#msg-602910" rel="nofollow noreferrer">this post</a>:</p>\n<blockquote>\n<p>Replacing the regulator chip did fix the board.</p>\n</blockquote>\n<p>Rather helpfully the self same user has posted an Instructables of the repair: <a href="https://www.instructables.com/id/MKS-Base-Reverse-Polarity-Repair/" rel="nofollow noreferrer">MKS Base reverse polarity repair</a>.</p>\n<hr />\n<h3>RAMPSXB</h3>\n<p>There is no protection diode on the RAMPXB. From <a href="https://reprap.org/wiki/RAMPSXB" rel="nofollow noreferrer">RAMPSXB</a>:</p>\n<blockquote>\n<p>Do NOT reverse polarity on the input pins, as there is NO PROTECTION DIODE. Reversing polarity will not only fry your steppers and FETs, but may even damage your Arduino and possibly even your computer. Triple check to make sure the polarity on your power input is 100% correct!</p>\n</blockquote>\n<hr />\n<h3>See also</h3>\n<ul>\n<li><a href="http://forum.arduino.cc/index.php?topic=265478.0" rel="nofollow noreferrer">Arduino Forum: Checking the RAMPS 1.4</a> for some handy troubleshooting tips for the Arduino and the Stepper.</li>\n</ul>\n<p>This user on <a href="http://forum.arduino.cc/index.php?topic=265478.msg1872694#msg1872694" rel="nofollow noreferrer">post #5</a> of <a href="http://forum.arduino.cc/index.php?topic=265478.0" rel="nofollow noreferrer">Arduino Forum: Checking the RAMPS 1.4</a> did manage to fry their stepper drivers, but not due to reverse polarity, by from a loose wire:</p>\n<blockquote>\n<p>I didnt connect the power backwards, but either I had a defective Mega2560 clone, or some stray bit of wire somehow shorted something out, and the Mega2560 literally went up in smoke (almost caught on fire !)</p>\n<p>Every stepper driver was destroyed, but the power FET\'s and other components survived</p>\n</blockquote>\n'}, {'answer_id': 6926, 'author': 'Tom van der Zanden', 'author_id': 26, 'author_profile': 'https://3dprinting.stackexchange.com/users/26', 'pm_score': 2, 'selected': False, 'text': '<p>Assuming the (most common and standard) RAMPS 1.4 board, the power input section looks like this:</p>\n\n<p><a href="https://i.stack.imgur.com/e9s0G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e9s0G.png" alt="RAMPS 1.4 schematic - power input section"></a></p>\n\n<p>There are two 12V input sections: one for the heated bed (with an 11A fuse) and one for the rest (with a 5A fuse). If only one of the sections has reversed polarity (and the other one is connected correctly) the power supply (assuming a single supply is used) is shorted out directly through the board (without any fuses or any other protection). This will in principle not damage any components <em>on the board</em>, but it might damage the power supply or melt the wires. In the following, I assume both sections have polarity reversed consistently (or one of the sections is not connected at all).</p>\n\n<p>The bed input section basically has no protection. If polarity to the bed is reversed, the bed MOSFET\'s body diode will conduct - basically shorting out the input through the fuse. The current that will flow will initially only be limited by the power supply\'s ability to supply current. Eventually the fuse will trip, but these poly fuses are quite slow and in the meantime it is possible the bed MOSFET will be damaged (which might cause it to permanently conduct, i.e. the bed might always be on, or the MOSFET might become a short circuit and short out the power supply even if the polarity is corrected).</p>\n\n<p>The 5A section has a bit more in terms of protection. After the fuse there is a diode (D2) that shorts out the power supply if polarity is reversed. This is similar to how the diode in the bed MOSFET shorts out, but in this case the diode is dedicated for just this function. The diode has a relatively low forward voltage, lower than that of the MOSFETs for the heaters, so in principle these components will be protected. However, the diode is not really rated for the kind of current that would flow in this scenario, so components such as the heater/fan MOSFETs and stepper drivers might be exposed to a reverse voltage (albeit around -2V at most). They would probably survive.</p>\n\n<p>As in the heated bed scenario, the diode D2 would probably be damaged - it would likely end up short circuited and thus needs to be replaced (or at least removed, but this is not advisable since it\'s required for polarity protection) before the board will function again.</p>\n\n<p>The Arduino Mega 12V input is protected through a blocking diode (D1) which will fully protect it. This diode will not be damaged, because it won\'t conduct any current in a short-circuit scenario.</p>\n\n<p>It might seem kind of strange a diode is used to deliberately short out the input in case of reverse polarity, and you might ask why the design doesn\'t simply use a diode to block the reverse flow of current (like is done for the Arduino). The reason for this is that all diodes have an associated voltage drop, which would cause a lot of power loss (especially for the heated bed), requiring a large diode with heat sink. The way the diodes are placed (i.e., shorting out the power rails in the event of reverse polarity) avoids this loss and still somewhat protects the electronics down the stream (even if the fuses/diodes are blown). Note that this is still a less than ideal solution, if you\'re trying to design your own reverse polarity protection solution then I would recommend to go with a <a href="http://www.ti.com/lit/an/slva139/slva139.pdf" rel="nofollow noreferrer">MOSFET-based solution</a>.</p>\n'}]
['https://3dprinting.stackexchange.com/questions/3417', 'https://3dprinting.stackexchange.com', 'https://3dprinting.stackexchange.com/users/5665/']