a5:silent-stepper-driver-tmc2208
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
a5:silent-stepper-driver-tmc2208 [2018/07/07 00:11] – aeket | a5:silent-stepper-driver-tmc2208 [2018/12/13 21:25] – red_m | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Under Construction ====== | + | **<WRAP center round alert 60%> |
+ | 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 | ||
+ | </ | ||
+ | ** | ||
==== Silent Stepper Driver TMC2208 | ==== Silent Stepper Driver TMC2208 | ||
- | Author: AETEK | + | {{: |
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | Author: AETEK \\ | ||
+ | Additional information: | ||
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 9: | Line 32: | ||
**Difficulty: | **Difficulty: | ||
- | **What is this about?** \\ | + | **The advantages of the TMC2208 or why someone would want to install these** \\ |
- | bla bla. \\ | + | The TMC2208 is a German development. This tutorial |
+ | 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. \\ | ||
+ | You rarely hear the extruder motor. If you hear it, then at the retract. The extruder motor, however, requires a lot of torque to press the filament through the nozzle. Much torque means a lot of electric current. This is exactly what the TMC2208 __can not do__. \\ | ||
+ | For these reasons I used the TMC2208 only for the X and Y axes. \\ | ||
+ | The TMC2208 stepper driver includes the function of TL-Smoothers. So it does not make sense to install this extension when using the TMC2208.\\ | ||
+ | |||
+ | -> I have written a separate article on how to reduce the noise of the extruder motor. \\ | ||
\\ | \\ | ||
< | < | ||
Line 19: | Line 49: | ||
**Required Electrical Parts** | **Required Electrical Parts** | ||
- | * 2 x TMC2208 Stepper Driver Modules With Heatsinks | + | * [[https:// |
* Active Cooling Fan Solution< | * Active Cooling Fan Solution< | ||
* Some cable and heat shrink | * Some cable and heat shrink | ||
- | //* Active Cooling Fan Solution | + | //* Active Cooling Fan Solution |
I recommend using active cooling for the MKS GEN_L mainboard. I have a 80mm 24V fan with an 3D-printed adapter from [[https:// | I recommend using active cooling for the MKS GEN_L mainboard. I have a 80mm 24V fan with an 3D-printed adapter from [[https:// | ||
// | // | ||
- | {{: | + | \\ |
- | ==== Connection On MKS GEN_L Mainboard ===== | + | |
- | {{ : | + | |
- | **Please note the polarity**\\ | + | |
+ | ==== Installation ==== | ||
- | This concludes work on the A5 hardware for this project. In order for the cooling system | + | **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 " | ||
+ | {{: | ||
+ | |||
+ | 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. \\ | ||
+ | |||
+ | When inserting the modules into the sockets, it must be noted that the mounting direction is different as with the A4988 driver (see photos). | ||
+ | {{: | ||
+ | \\ | ||
+ | |||
+ | ==== How to set the stepper motor current ==== | ||
+ | |||
+ | {{: | ||
+ | \\ | ||
+ | \\ | ||
+ | Get the GND (minus) from the MKS GEN_L Mainboard supply input (black wire). \\ | ||
+ | {{: | ||
+ | |||
+ | IMPORTANT POINTS: | ||
+ | * 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 | ||
\\ | \\ | ||
\\ | \\ | ||
Line 39: | Line 100: | ||
==== Customize the Marlin firmware ==== | ==== Customize the Marlin firmware ==== | ||
+ | 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. \\ | ||
+ | This can be adjusted in the firmware. \\ | ||
+ | Otherwise the motors will run in the wrong direction. \\ | ||
+ | So we need to change the settings for the X & Y Axis.\\ | ||
+ | \\ | ||
In the Arduino IDE open the **A5 Custom Community Firmware** (see [[a5: | In the Arduino IDE open the **A5 Custom Community Firmware** (see [[a5: | ||
\\ | \\ | ||
- | The following adjustments are made in the " | + | The following adjustments are made in the "**Configuration.h**" file:\\ |
- | **Search for: bla**\\ | + | **Replace this original code block...** |
+ | < | ||
+ | #define INVERT_X_DIR true | ||
+ | #define INVERT_Y_DIR false | ||
+ | </ | ||
+ | **...with this customized code:** | ||
+ | < | ||
+ | #define INVERT_X_DIR false | ||
+ | #define INVERT_Y_DIR true | ||
+ | </ | ||
**Replace this original code block...** | **Replace this original code block...** | ||
< | < | ||
- | # | + | # |
+ | #define Y_DRIVER_TYPE | ||
</ | </ | ||
**...with this customized code:** | **...with this customized code:** | ||
< | < | ||
- | # | + | # |
+ | #define Y_DRIVER_TYPE | ||
+ | </ | ||
+ | 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 " | ||
+ | **Replace this original code block...** | ||
+ | < | ||
+ | //#define MONITOR_DRIVER_STATUS | ||
+ | </ | ||
+ | |||
+ | **...with this customized code:** | ||
+ | < | ||
+ | #define MONITOR_DRIVER_STATUS | ||
</ | </ | ||
Line 67: | 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 | + | |
- | \\ | + | |
- | \\ | + | |
- | ---- | + | |
- | \\ | + | |
- | Status 6. July 2018: Under Construction.... | + |
a5/silent-stepper-driver-tmc2208.txt · Last modified: 2020/12/25 02:13 by 127.0.0.1