<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Probably fried my stepper driver. What did I do wrong?</title>
        <description> Hello everyone,

So I’m new to this, and I’ve recently bought some stuff for a private pick and place machine.
In order to learn, I first wanted to try and control a single stepper motor and obviously did something wrong because when loading my script I first heard some kind of “click” and the driver started to smoke. I immediately unplugged the power supply and USB A cable. But first, here is a list of the components I used:
Arduino Mega 2560 R3, Ramps 1.4, DRV8825, Nema 17HS4023, an endstop switch from big tree tech and a 12V 5A power brick as a power supply.

I will walk you through the process of what I did and provide some pictures:

1)	I connected the Arduino Mega with the Ramps board. I don’t think there is anything that can go wrong here because there is only one way to connect them. Then I plugged in all three jumpers for the x-portion of the board.  



  

    
      
    

    

    

    
        
    

    

    

    
      46Atme8.jpg
    

  

 



mod_embed_images_loadimage(&#039;9281ed70bfaa8c3b6758c0cb7700c317&#039;, &#039;/forum/thumbcache/004/035/55e/258/dcf/99b/66b/b7c/15a/825/ca_800x400.png&#039;, &#039;https://i.imgur.com/46Atme8.jpg&#039;, &#039;https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2F46Atme8.jpg&#039;, &#039;&#039;, 889917, 800, 400, &#039;Loading image ...&#039;, false);




  

    
      
    

    

    

    
        
    

    

    

    
      ucTEVL8.jpg
    

  

 



mod_embed_images_loadimage(&#039;7b334166a5d9d2201e24a9266662eb79&#039;, &#039;/forum/thumbcache/561/d25/42c/061/c39/f9e/153/f9d/c5b/792/7c_800x400.png&#039;, &#039;https://i.imgur.com/ucTEVL8.jpg&#039;, &#039;https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FucTEVL8.jpg&#039;, &#039;&#039;, 889917, 800, 400, &#039;Loading image ...&#039;, false);



2)	I plugged in the stepper driver regarding the pin descriptions on the Ramps and the driver itself and then plugged in the stepper motor and the endstop switch (even though I didn’t even aim to use it in my first script). 



  

    
      
    

    

    

    
        
    

    

    

    
      sjZKrtG.jpg
    

  

 



mod_embed_images_loadimage(&#039;3eac5b36815a87abb05ce3d76b68790e&#039;, &#039;/forum/thumbcache/438/e6a/cfb/3ad/28e/f0d/336/f73/183/b95/6b_800x400.png&#039;, &#039;https://i.imgur.com/sjZKrtG.jpg&#039;, &#039;https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FsjZKrtG.jpg&#039;, &#039;&#039;, 889917, 800, 400, &#039;Loading image ...&#039;, false);



3)	Then I connected the two 5A connectors on the ramps to an adapter for my psu.
 


  

    
      
    

    

    

    
        
    

    

    

    
      C6aAYCB.jpg
    

  

 



mod_embed_images_loadimage(&#039;9e55d01f818a833df68b4a4a8635b4ed&#039;, &#039;/forum/thumbcache/c0b/3b2/e8d/0f8/6ff/c2f/2bc/86e/b46/7c1/aa_800x400.png&#039;, &#039;https://i.imgur.com/C6aAYCB.jpg&#039;, &#039;https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FC6aAYCB.jpg&#039;, &#039;&#039;, 889917, 800, 400, &#039;Loading image ...&#039;, false);




  

    
      
    

    

    

    
        
    

    

    

    
      zYrNEaS.jpg
    

  

 



mod_embed_images_loadimage(&#039;fae69732946927887a17946648d8ed04&#039;, &#039;/forum/thumbcache/c09/4f2/768/cc7/5bd/374/9b4/89b/abd/77d/f2_800x400.png&#039;, &#039;https://i.imgur.com/zYrNEaS.jpg&#039;, &#039;https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FzYrNEaS.jpg&#039;, &#039;&#039;, 889917, 800, 400, &#039;Loading image ...&#039;, false);



4)	Finally, I connected the Arduino to my PC and loaded the following script:

#define X_STEP_PIN         54
#define X_DIR_PIN          55
#define X_ENABLE_PIN       38
#define X_MIN_PIN           3
#define X_MAX_PIN           2

#define Y_STEP_PIN         60
#define Y_DIR_PIN          61
#define Y_ENABLE_PIN       56
#define Y_MIN_PIN          14
#define Y_MAX_PIN          15

#define Z_STEP_PIN         46
#define Z_DIR_PIN          48
#define Z_ENABLE_PIN       62
#define Z_MIN_PIN          18
#define Z_MAX_PIN          19

#define E_STEP_PIN         26
#define E_DIR_PIN          28
#define E_ENABLE_PIN       24

#define Q_STEP_PIN         36
#define Q_DIR_PIN          34
#define Q_ENABLE_PIN       30

#define SDPOWER            -1
#define SDSS               53
#define LED_PIN            13

#define FAN_PIN            9

#define PS_ON_PIN          12
#define KILL_PIN           -1

#define HEATER_0_PIN       10
#define HEATER_1_PIN       8
#define TEMP_0_PIN          13   // ANALOG NUMBERING
#define TEMP_1_PIN          14   // ANALOG NUMBERING

void setup() {
  pinMode(FAN_PIN, OUTPUT);
  pinMode(HEATER_0_PIN, OUTPUT);
  pinMode(HEATER_1_PIN, OUTPUT);
  pinMode(LED_PIN, OUTPUT);
  
  pinMode(X_STEP_PIN, OUTPUT);
  pinMode(X_DIR_PIN, OUTPUT);
  pinMode(X_ENABLE_PIN, OUTPUT);
  
  pinMode(Y_STEP_PIN, OUTPUT);
  pinMode(Y_DIR_PIN, OUTPUT);
  pinMode(Y_ENABLE_PIN, OUTPUT);
  
  pinMode(Z_STEP_PIN, OUTPUT);
  pinMode(Z_DIR_PIN, OUTPUT);
  pinMode(Z_ENABLE_PIN, OUTPUT);
  
  pinMode(E_STEP_PIN, OUTPUT);
  pinMode(E_DIR_PIN, OUTPUT);
  pinMode(E_ENABLE_PIN, OUTPUT);
  
  pinMode(Q_STEP_PIN, OUTPUT);
  pinMode(Q_DIR_PIN, OUTPUT);
  pinMode(Q_ENABLE_PIN, OUTPUT);
  
   digitalWrite(X_ENABLE_PIN, LOW);
}

void loop () { 
  digitalWrite(X_DIR_PIN, HIGH);
  for(int x = 0; x&amp;lt;200; x++) {
    digitalWrite(X_STEP_PIN, HIGH);
    delayMicroseconds(500);
    digitalWrite(X_STEP_PIN, LOW);
    delayMicroseconds(500);
  }
delay(1000); 
}


Up to this point, I’m not sure if I damaged only the driver or even more. I only saw smoke coming from the driver and after unplugging it and removing the heatsink it looked like it was damaged:
 


  

    
      
    

    

    

    
        
    

    

    

    
      FwDMQc0.jpg
    

  

 



mod_embed_images_loadimage(&#039;8db1c1c3fe9918f9a4aefb416b0e96f6&#039;, &#039;/forum/thumbcache/4f1/f88/d52/b8d/140/3b1/4d7/c65/a32/6cf/a8_800x400.png&#039;, &#039;https://i.imgur.com/FwDMQc0.jpg&#039;, &#039;https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FFwDMQc0.jpg&#039;, &#039;&#039;, 889917, 800, 400, &#039;Loading image ...&#039;, false);



I hope my description was clear enough to follow my process.
Can anyone tell me, by chance, what I did wrong and what  I need to do to prevent this?

Kind regards
bt_Tama</description>
        <link>https://reprap.org/forum/read.php?219,889917,889917#msg-889917</link>
        <lastBuildDate>Sat, 08 Aug 2026 08:40:38 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?219,889917,889941#msg-889941</guid>
            <title>Re: Probably fried my stepper driver. What did I do wrong?</title>
            <link>https://reprap.org/forum/read.php?219,889917,889941#msg-889941</link>
            <description><![CDATA[ ... so it was the "Too much current set" hint -- glad you found it! :)-D]]></description>
            <dc:creator>VDX</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Wed, 13 Jul 2022 14:23:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,889917,889939#msg-889939</guid>
            <title>Re: Probably fried my stepper driver. What did I do wrong?</title>
            <link>https://reprap.org/forum/read.php?219,889917,889939#msg-889939</link>
            <description><![CDATA[ So I think I found the error. I did not adjust the potentiometer on my drivers. The ref voltage was set to 1.6V. After setting it to 0.45V, everything is working. (tu)]]></description>
            <dc:creator>bt_Tama</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Wed, 13 Jul 2022 13:17:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,889917,889930#msg-889930</guid>
            <title>Re: Probably fried my stepper driver. What did I do wrong?</title>
            <link>https://reprap.org/forum/read.php?219,889917,889930#msg-889930</link>
            <description><![CDATA[ Oh, you're right. This proofs that you'll learn something new even after a failure. :)<br />
<br />
The question still remains. What did I do wrong? Maybe the orientation of the driver was wrong, as you already said. Or maybe my PSU connection was switched. I'm pretty sure that I did everything exactly as I recreated in the pictures above, though. And as far as I can tell, everything is connected the right way. Currently, I'm too afraid to repeat the process just to sacrifice a second driver.]]></description>
            <dc:creator>bt_Tama</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Tue, 12 Jul 2022 10:47:07 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,889917,889929#msg-889929</guid>
            <title>Re: Probably fried my stepper driver. What did I do wrong?</title>
            <link>https://reprap.org/forum/read.php?219,889917,889929#msg-889929</link>
            <description><![CDATA[ ... this "short beep" is normally the "loading cycle" of a capacitor - should repeat, if you switch the connection of your multimeter or short the pins and repeat ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Tue, 12 Jul 2022 10:09:05 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,889917,889926#msg-889926</guid>
            <title>Re: Probably fried my stepper driver. What did I do wrong?</title>
            <link>https://reprap.org/forum/read.php?219,889917,889926#msg-889926</link>
            <description><![CDATA[ So what I found while checking for shorts is that in continuity mode when putting one probe to the plus and the other probe to the minus connector of the 5A channel, I do get a very short beep from my multimeter (just a fraction of a second). Maybe the D2 diode is shorted? But then my question is: Why isn't it beeping continuously?]]></description>
            <dc:creator>bt_Tama</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Tue, 12 Jul 2022 07:38:22 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,889917,889920#msg-889920</guid>
            <title>Re: Probably fried my stepper driver. What did I do wrong?</title>
            <link>https://reprap.org/forum/read.php?219,889917,889920#msg-889920</link>
            <description><![CDATA[ Hey Viktor, thanks for helping.<br />
<br />
I'm pretty sure that the driver is oriented the right way, at least according to the pin description next to each pin (maybe it wasn't at the time it happened, though...?). I also checked this page <a href="https://reprap.org/wiki/DRV8825" target="_blank" >here</a>.<br />
<br />
Well, I connected a 12V 5A PSU to the 5A pins on the board (didn't connect anything to the 11A pins). I thought that the board will only draw as much current as it needs to drive the motor which should be 1A.  I'll be checking for shorts tomorrow. <br />
<br />
Thanks again.]]></description>
            <dc:creator>bt_Tama</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Mon, 11 Jul 2022 15:13:29 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,889917,889918#msg-889918</guid>
            <title>Re: Probably fried my stepper driver. What did I do wrong?</title>
            <link>https://reprap.org/forum/read.php?219,889917,889918#msg-889918</link>
            <description><![CDATA[ ... first, check the orientation of the driver - they can easily be inserted the wrong way round, then =&gt; "magic smoke" 8-)<br />
<br />
Too much current set, too ... or a short somewhere ...]]></description>
            <dc:creator>VDX</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Mon, 11 Jul 2022 14:55:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?219,889917,889917#msg-889917</guid>
            <title>Probably fried my stepper driver. What did I do wrong?</title>
            <link>https://reprap.org/forum/read.php?219,889917,889917#msg-889917</link>
            <description><![CDATA[ Hello everyone,<br />
<br />
So I’m new to this, and I’ve recently bought some stuff for a private pick and place machine.<br />
In order to learn, I first wanted to try and control a single stepper motor and obviously did something wrong because when loading my script I first heard some kind of “click” and the driver started to smoke. I immediately unplugged the power supply and USB A cable. But first, here is a list of the components I used:<br />
Arduino Mega 2560 R3, Ramps 1.4, DRV8825, Nema 17HS4023, an endstop switch from big tree tech and a 12V 5A power brick as a power supply.<br />
<br />
I will walk you through the process of what I did and provide some pictures:<br />
<br />
1)	I connected the Arduino Mega with the Ramps board. I don’t think there is anything that can go wrong here because there is only one way to connect them. Then I plugged in all three jumpers for the x-portion of the board.  <br />
<br />
<div id="div_9281ed70bfaa8c3b6758c0cb7700c317"
     class="mod_embed_images_extended"
     style="width:533px">

  

    
      
    

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

    

    <a href="https://i.imgur.com/46Atme8.jpg">
        <img src="/forum/thumbcache/004/035/55e/258/dcf/99b/66b/b7c/15a/825/ca_800x400.png"
             width="533"
             height="400"
             id="image_9281ed70bfaa8c3b6758c0cb7700c317"
             alt="46Atme8.jpg"
             title="46Atme8.jpg"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_9281ed70bfaa8c3b6758c0cb7700c317"
      style="display:block">
      <a id="link_9281ed70bfaa8c3b6758c0cb7700c317" href="https://i.imgur.com/46Atme8.jpg">46Atme8.jpg</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('9281ed70bfaa8c3b6758c0cb7700c317', '/forum/thumbcache/004/035/55e/258/dcf/99b/66b/b7c/15a/825/ca_800x400.png', 'https://i.imgur.com/46Atme8.jpg', 'https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2F46Atme8.jpg', '', 889917, 800, 400, 'Loading image ...', false);
</script>
<br />
<div id="div_7b334166a5d9d2201e24a9266662eb79"
     class="mod_embed_images_extended"
     style="width:533px">

  

    
      
    

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

    

    <a href="https://i.imgur.com/ucTEVL8.jpg">
        <img src="/forum/thumbcache/561/d25/42c/061/c39/f9e/153/f9d/c5b/792/7c_800x400.png"
             width="533"
             height="400"
             id="image_7b334166a5d9d2201e24a9266662eb79"
             alt="ucTEVL8.jpg"
             title="ucTEVL8.jpg"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_7b334166a5d9d2201e24a9266662eb79"
      style="display:block">
      <a id="link_7b334166a5d9d2201e24a9266662eb79" href="https://i.imgur.com/ucTEVL8.jpg">ucTEVL8.jpg</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('7b334166a5d9d2201e24a9266662eb79', '/forum/thumbcache/561/d25/42c/061/c39/f9e/153/f9d/c5b/792/7c_800x400.png', 'https://i.imgur.com/ucTEVL8.jpg', 'https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FucTEVL8.jpg', '', 889917, 800, 400, 'Loading image ...', false);
</script>
<br />
<br />
2)	I plugged in the stepper driver regarding the pin descriptions on the Ramps and the driver itself and then plugged in the stepper motor and the endstop switch (even though I didn’t even aim to use it in my first script). <br />
<br />
<div id="div_3eac5b36815a87abb05ce3d76b68790e"
     class="mod_embed_images_extended"
     style="width:533px">

  

    
      
    

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

    

    <a href="https://i.imgur.com/sjZKrtG.jpg">
        <img src="/forum/thumbcache/438/e6a/cfb/3ad/28e/f0d/336/f73/183/b95/6b_800x400.png"
             width="533"
             height="400"
             id="image_3eac5b36815a87abb05ce3d76b68790e"
             alt="sjZKrtG.jpg"
             title="sjZKrtG.jpg"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_3eac5b36815a87abb05ce3d76b68790e"
      style="display:block">
      <a id="link_3eac5b36815a87abb05ce3d76b68790e" href="https://i.imgur.com/sjZKrtG.jpg">sjZKrtG.jpg</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('3eac5b36815a87abb05ce3d76b68790e', '/forum/thumbcache/438/e6a/cfb/3ad/28e/f0d/336/f73/183/b95/6b_800x400.png', 'https://i.imgur.com/sjZKrtG.jpg', 'https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FsjZKrtG.jpg', '', 889917, 800, 400, 'Loading image ...', false);
</script>
<br />
<br />
3)	Then I connected the two 5A connectors on the ramps to an adapter for my psu.<br />
 <br />
<div id="div_9e55d01f818a833df68b4a4a8635b4ed"
     class="mod_embed_images_extended"
     style="width:533px">

  

    
      
    

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

    

    <a href="https://i.imgur.com/C6aAYCB.jpg">
        <img src="/forum/thumbcache/c0b/3b2/e8d/0f8/6ff/c2f/2bc/86e/b46/7c1/aa_800x400.png"
             width="533"
             height="400"
             id="image_9e55d01f818a833df68b4a4a8635b4ed"
             alt="C6aAYCB.jpg"
             title="C6aAYCB.jpg"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_9e55d01f818a833df68b4a4a8635b4ed"
      style="display:block">
      <a id="link_9e55d01f818a833df68b4a4a8635b4ed" href="https://i.imgur.com/C6aAYCB.jpg">C6aAYCB.jpg</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('9e55d01f818a833df68b4a4a8635b4ed', '/forum/thumbcache/c0b/3b2/e8d/0f8/6ff/c2f/2bc/86e/b46/7c1/aa_800x400.png', 'https://i.imgur.com/C6aAYCB.jpg', 'https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FC6aAYCB.jpg', '', 889917, 800, 400, 'Loading image ...', false);
</script>
<br />
<div id="div_fae69732946927887a17946648d8ed04"
     class="mod_embed_images_extended"
     style="width:533px">

  

    
      
    

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

    

    <a href="https://i.imgur.com/zYrNEaS.jpg">
        <img src="/forum/thumbcache/c09/4f2/768/cc7/5bd/374/9b4/89b/abd/77d/f2_800x400.png"
             width="533"
             height="400"
             id="image_fae69732946927887a17946648d8ed04"
             alt="zYrNEaS.jpg"
             title="zYrNEaS.jpg"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_fae69732946927887a17946648d8ed04"
      style="display:block">
      <a id="link_fae69732946927887a17946648d8ed04" href="https://i.imgur.com/zYrNEaS.jpg">zYrNEaS.jpg</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('fae69732946927887a17946648d8ed04', '/forum/thumbcache/c09/4f2/768/cc7/5bd/374/9b4/89b/abd/77d/f2_800x400.png', 'https://i.imgur.com/zYrNEaS.jpg', 'https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FzYrNEaS.jpg', '', 889917, 800, 400, 'Loading image ...', false);
</script>
<br />
<br />
4)	Finally, I connected the Arduino to my PC and loaded the following script:<br />
<br />
#define X_STEP_PIN         54<br />
#define X_DIR_PIN          55<br />
#define X_ENABLE_PIN       38<br />
#define X_MIN_PIN           3<br />
#define X_MAX_PIN           2<br />
<br />
#define Y_STEP_PIN         60<br />
#define Y_DIR_PIN          61<br />
#define Y_ENABLE_PIN       56<br />
#define Y_MIN_PIN          14<br />
#define Y_MAX_PIN          15<br />
<br />
#define Z_STEP_PIN         46<br />
#define Z_DIR_PIN          48<br />
#define Z_ENABLE_PIN       62<br />
#define Z_MIN_PIN          18<br />
#define Z_MAX_PIN          19<br />
<br />
#define E_STEP_PIN         26<br />
#define E_DIR_PIN          28<br />
#define E_ENABLE_PIN       24<br />
<br />
#define Q_STEP_PIN         36<br />
#define Q_DIR_PIN          34<br />
#define Q_ENABLE_PIN       30<br />
<br />
#define SDPOWER            -1<br />
#define SDSS               53<br />
#define LED_PIN            13<br />
<br />
#define FAN_PIN            9<br />
<br />
#define PS_ON_PIN          12<br />
#define KILL_PIN           -1<br />
<br />
#define HEATER_0_PIN       10<br />
#define HEATER_1_PIN       8<br />
#define TEMP_0_PIN          13   // ANALOG NUMBERING<br />
#define TEMP_1_PIN          14   // ANALOG NUMBERING<br />
<br />
void setup() {<br />
  pinMode(FAN_PIN, OUTPUT);<br />
  pinMode(HEATER_0_PIN, OUTPUT);<br />
  pinMode(HEATER_1_PIN, OUTPUT);<br />
  pinMode(LED_PIN, OUTPUT);<br />
  <br />
  pinMode(X_STEP_PIN, OUTPUT);<br />
  pinMode(X_DIR_PIN, OUTPUT);<br />
  pinMode(X_ENABLE_PIN, OUTPUT);<br />
  <br />
  pinMode(Y_STEP_PIN, OUTPUT);<br />
  pinMode(Y_DIR_PIN, OUTPUT);<br />
  pinMode(Y_ENABLE_PIN, OUTPUT);<br />
  <br />
  pinMode(Z_STEP_PIN, OUTPUT);<br />
  pinMode(Z_DIR_PIN, OUTPUT);<br />
  pinMode(Z_ENABLE_PIN, OUTPUT);<br />
  <br />
  pinMode(E_STEP_PIN, OUTPUT);<br />
  pinMode(E_DIR_PIN, OUTPUT);<br />
  pinMode(E_ENABLE_PIN, OUTPUT);<br />
  <br />
  pinMode(Q_STEP_PIN, OUTPUT);<br />
  pinMode(Q_DIR_PIN, OUTPUT);<br />
  pinMode(Q_ENABLE_PIN, OUTPUT);<br />
  <br />
   digitalWrite(X_ENABLE_PIN, LOW);<br />
}<br />
<br />
void loop () { <br />
  digitalWrite(X_DIR_PIN, HIGH);<br />
  for(int x = 0; x&lt;200; x++) {<br />
    digitalWrite(X_STEP_PIN, HIGH);<br />
    delayMicroseconds(500);<br />
    digitalWrite(X_STEP_PIN, LOW);<br />
    delayMicroseconds(500);<br />
  }<br />
delay(1000); <br />
}<br />
<br />
<br />
Up to this point, I’m not sure if I damaged only the driver or even more. I only saw smoke coming from the driver and after unplugging it and removing the heatsink it looked like it was damaged:<br />
 <br />
<div id="div_8db1c1c3fe9918f9a4aefb416b0e96f6"
     class="mod_embed_images_extended"
     style="width:800px">

  

    
      
    

    <div id="imagediv_8db1c1c3fe9918f9a4aefb416b0e96f6" class="mod_embed_images_image"
         style="width:800px; height:388px">

    

    <a href="https://i.imgur.com/FwDMQc0.jpg">
        <img src="/forum/thumbcache/4f1/f88/d52/b8d/140/3b1/4d7/c65/a32/6cf/a8_800x400.png"
             width="800"
             height="388"
             id="image_8db1c1c3fe9918f9a4aefb416b0e96f6"
             alt="FwDMQc0.jpg"
             title="FwDMQc0.jpg"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_8db1c1c3fe9918f9a4aefb416b0e96f6"
      style="display:block">
      <a id="link_8db1c1c3fe9918f9a4aefb416b0e96f6" href="https://i.imgur.com/FwDMQc0.jpg">FwDMQc0.jpg</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('8db1c1c3fe9918f9a4aefb416b0e96f6', '/forum/thumbcache/4f1/f88/d52/b8d/140/3b1/4d7/c65/a32/6cf/a8_800x400.png', 'https://i.imgur.com/FwDMQc0.jpg', 'https://reprap.org/forum/addon.php?219,module=embed_images,check_scaling=1,url=https%3A%2F%2Fi.imgur.com%2FFwDMQc0.jpg', '', 889917, 800, 400, 'Loading image ...', false);
</script>
<br />
<br />
I hope my description was clear enough to follow my process.<br />
Can anyone tell me, by chance, what I did wrong and what  I need to do to prevent this?<br />
<br />
Kind regards<br />
bt_Tama<br/>]]></description>
            <dc:creator>bt_Tama</dc:creator>
            <category>RAMPS Electronics</category>
            <pubDate>Mon, 11 Jul 2022 14:14:33 -0400</pubDate>
        </item>
    </channel>
</rss>
