a5:silent-stepper-driver-tmc2208

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
a5:silent-stepper-driver-tmc2208 [2018/07/07 02:48] aeketa5:silent-stepper-driver-tmc2208 [2020/12/25 02:13] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Under Construction ====== +**<WRAP center round alert 60%> 
-{{:a5:aetek:tmc2208_01.jpg?256 }}  {{ :a5:aetek:tmc2208_06.jpg?256}}+This guide will only work on the 1.1.9 Marlin firmware for the JG A5, which is in beta and may have extra bugs. 
 + 
 +A 1.1.8 version may come out if someone else is willing to do one on the wiki however I don't use 1.1.8 
 +</WRAP> 
 +**
 ==== Silent Stepper Driver TMC2208  ==== ==== Silent Stepper Driver TMC2208  ====
-Author: AETEK +{{:a5:aetek:tmc2208_01.jpg?256 }}  {{ :a5:aetek:tmc2208_06.jpg?256}} 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +\\ 
 +Author: AETEK \\  
 +Additional information: Red_M
                    
 The changes shown here require knowledge in the field of Arduino IDE, Marlin and electrical engineering and can overwhelm normal users. Also, I would like to point out possible dangers that exist in certain interventions. All adjustments have been checked for function.  The changes shown here require knowledge in the field of Arduino IDE, Marlin and electrical engineering and can overwhelm normal users. Also, I would like to point out possible dangers that exist in certain interventions. All adjustments have been checked for function. 
Line 8: Line 32:
 **Difficulty: __Advanced__**  **Difficulty: __Advanced__** 
  
-**What is this about?** \\  +**The advantages of the TMC2208 or why someone would want to install these** \\  
-The TMC2208 is a German development. I was made in Germany, too LOL. This tutorial is about making the A5 quieter. It is not my intention to explain all possible options of the TMC2208. Like me, most users will buy these stepper drivers just for one reason: to have silence. I focus on installing and configuring these drivers.\\+The TMC2208 is a German development. This tutorial is about making the A5 quieter. It is not my intention to explain all possible options of the TMC2208. Like me, most users will buy these stepper drivers just for one reason: to have silence. I focus on installing and configuring these drivers.\\
 Why use only two TMC2208?\\ Why use only two TMC2208?\\
 The most noise comes from the Y-axis and the X-axis. Because the Z-axis rarely moves when printing you do not hear much noise. The TMC2208 can deliver less power than the standard A4988 driver. One Z-axis driver needs to power two motors at the same time. The avaliable motor current is divided between both motors. \\  The most noise comes from the Y-axis and the X-axis. Because the Z-axis rarely moves when printing you do not hear much noise. The TMC2208 can deliver less power than the standard A4988 driver. One Z-axis driver needs to power two motors at the same time. The avaliable motor current is divided between both motors. \\ 
Line 25: Line 49:
  
 **Required Electrical Parts** **Required Electrical Parts**
-  * 2 x TMC2208 Stepper Driver Modules With Heatsinks+  * [[https://www.banggood.com/TMC2208-Stepping-Motor-Mute-Built-in-Driver-Replace-TMC2100-For-3D-Printer-p-1243870.html|2 x TMC2208 Stepper Driver Modules With Heatsinks]]
   * Active Cooling Fan Solution<sup>*</sup>     * Active Cooling Fan Solution<sup>*</sup>  
   * Some cable and heat shrink   * Some cable and heat shrink
Line 38: Line 62:
 **Please first pull the A5 mains plug**\\ **Please first pull the A5 mains plug**\\
  
-Before you install the TMC2208 module into the MKS GEN_L motherboard you should remove the pin named "NC" for safety reasons. "NC" means "Not Connected". I do not know if this contact is connected to the driver board. I have removed this "NC" pin therefore. So one experiences no unpleasant surprises.  +Before you install the TMC2208 module into the MKS GEN_L motherboard you should remove the pin named "NC" for safety reasons. "NC" means "Not Connected". I do not know if this contact is connected to the driver board. I have removed this "NC" pin therefore. So one experiences no unpleasant surprises.\\  
-If you Upgrade from the factory drivers (A4988) then leave the MS1, MS2 and MS3 jumpers (under the driver moduls) plugged in as it is. \\  +{{:a5:aetek:tmc2208_02.jpg}}
-When inserting the modules into the sockets, it must be noted that the mounting direction is exactly the same as with the A4988 driver (see photos).+
  
-==== How to set the stepper motor current? ====+If you upgrade from the factory drivers (A4988) then leave the MS1, MS2 and MS3 jumpers (under the driver moduls) plugged in as it is. \\ 
  
-Here is an online calculator for the TMC 2208 Stepper Drivers: \\  +When inserting the modules into the sockets, it must be noted that the mounting direction is different as with the A4988 driver (see photos). 
-https://learn.watterott.com/silentstepstick/faq/ \\ +{{:a5:aetek:tmc2208_03.jpg}}\\ 
 +\\
  
-VREF 1.13v eq. 0.8A @ 45°C motor temperature. \\ +==== How to set the stepper motor current ====
  
-VREF 1.13v eq0.8A @ 45°C motor temperature. \\+{{:a5:aetek:tmc2208_05.jpg}} \\ 
 +\\ 
 +\\ 
 +Get the GND (minus) from the MKS GEN_L Mainboard supply input (black wire)\\ 
 +{{:a5:aetek:tmc2208_07.jpg}} \\
  
- +IMPORTANT POINTS: 
-VREF 1.13v eq. 0.8A @ 45°C motor temperature\\+  * When measuring Vref on the TMC2208, you need to measure the voltage from the Vref hole (see photo) to ground, and NOT from the top of the poteniometer. 
 +   * Unlike the A4988 stock drivers, the printer **power supply must be ON to tune the TMC2208 stepper drivers.**
 \\ \\
  
 +The voltages below are suggested for TMC2XXX stepper drivers (this includes the TMC2208) only:
  
 +Axis = Vref \\
 +X = 0.85V \\
 +Y = 1.25V \\
 +Z = 0.85V \\
 +E = 1.00V \\
 +
 +\\
 This concludes work on the A5 hardware for this project. In order for the drivers to work, the Marlin firmware has to be adjusted. This concludes work on the A5 hardware for this project. In order for the drivers to work, the Marlin firmware has to be adjusted.
 \\ \\
Line 63: Line 100:
 ==== Customize the Marlin firmware ==== ==== Customize the Marlin firmware ====
  
-In the Arduino IDE open the **A5 Custom Community Firmware** (see [[a5:firmware|article here]] in WIKI).\\ +Use TMC2208 for X & Y Axis, the rest stay stock drivers A4988.\\
-\\ +
- +
 The TMC2208 needs a reverse drive on the DIR signal like the A4988. \\  The TMC2208 needs a reverse drive on the DIR signal like the A4988. \\ 
 This can be adjusted in the firmware. \\  This can be adjusted in the firmware. \\ 
 Otherwise the motors will run in the wrong direction. \\ Otherwise the motors will run in the wrong direction. \\
-**Adjust the following option in the file "Configuration.h" (TMC2208 for X & Y Axis)** \\  +So we need to change the settings for the X & Y Axis.\\ 
- Invert the stepper direction \\  +\\ 
-#define INVERT_X_DIR false  \\  +In the Arduino IDE open the **A5 Custom Community Firmware** (see [[a5:firmware|article here]] in WIKI).\\ 
-#define INVERT_Y_DIR true \\ +\\
  
 +The following adjustments are made in the "**Configuration.h**" file:\\
  
 +**Replace this original code block...** 
 +<code>
 +#define INVERT_X_DIR true
 +#define INVERT_Y_DIR false
 +</code>
  
 +**...with this customized code:**
 +<code>
 +#define INVERT_X_DIR false 
 +#define INVERT_Y_DIR true 
 +</code>
  
-The following adjustments are made in the "**.h**" file:\\ +**Replace this original code block...**  
- +<code> 
-**Search for: bla**\\+#define X_DRIVER_TYPE  A4988 
 +#define Y_DRIVER_TYPE  A4988 
 +</code>
  
 +**...with this customized code:**
 +<code>
 +#define X_DRIVER_TYPE  TMC2208
 +#define Y_DRIVER_TYPE  TMC2208
 +</code>
 +Make sure you install the TMC2208 Arduino library or you will get compiler errors about missing files.
 +If you want to do the extruder axis as well, make sure you invert the INVERT_E_DIR true/false as well as replace the E_DRIVER_TYPE with TMC2130 so that your firmware will use this driver properly.
  
 +The following adjustments are made in the "**Configuration_adv.h**" file:\\
 **Replace this original code block...**  **Replace this original code block...** 
 <code> <code>
-#define E0_AUTO_FAN_PIN -1 +//#define MONITOR_DRIVER_STATUS
 </code> </code>
  
 **...with this customized code:** **...with this customized code:**
 <code> <code>
-#define E0_AUTO_FAN_PIN 7   +#define MONITOR_DRIVER_STATUS
 </code> </code>
  
Line 103: Line 156:
   - Insert mains plug.   - Insert mains plug.
   - Power on the printer   - Power on the printer
-  - +  - Use the Touch Display (Move) and check that the X and Y axes are moving in the right direction.
  
-If everything reacts like that, then enjoy the silence.\\ +Make sure your X and Y (and Z if you also have the extra driver installed and wired) are going to correct way otherwise you'll need to make sure you did all the changes to the firmware.
- +
-This completes the conversion. :-D +
-\\ +
-\\ +
----- +
-\\ +
-Status 6. July 2018: Under Construction....+
a5/silent-stepper-driver-tmc2208.1530895683.txt.gz · Last modified: 2020/12/25 02:13 (external edit)