Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
currentcontrol [2017/07/31 08:02]
67.171.140.66 [External ressources]
currentcontrol [2018/12/07 12:58]
wolfmanjm [Digital current control]
Line 1: Line 1:
-== Digital current control+== Digital current control ​==
  
 Boards based on Smoothie use digital potentiometers instead of manual potentiomenters. Boards based on Smoothie use digital potentiometers instead of manual potentiomenters.
  
-Instead of using a screwdriver to set the current value for the stepper motor driver ( which can be quite imprecise ), you simply set the value in the configuration file.+Instead of using a screwdriver to set the current value for the stepper motor driver (which can be quite imprecise), you simply set the value in the configuration file.
  
-These are the names of the different stepper motors/​drivers,​ and the corresponding values to change : +These are the names of the different stepper motors/​drivers,​ and the corresponding values to change: ​
  
-^ Label on the Smoothieboard ^ M1 ^ M2 ^ M3 ^ M4 ^ M5 ^ +**NOTE** These designations are hard coded to M1-M5 and do not track any changes that may have been made to the pin mapping for the motors. 
-|| Axis in a cartesian machine ​|| **X** ( left-right ) || **Y** ( front-back ) || **Z** ( up-down ) || **E0** ​: First extruder ​|| **E1** ​: Second ​extruder ​|+ 
-|| Greek letter ​|| <​html>&​alpha;</​html>​ ( alpha ) || <​html>&​beta;</​html>​ ( beta ) || <​html>&​gamma;</​html>​ ( gamma ) || <​html>&​delta;</​html>​ ( delta ) || <​html>&​epsilon;</​html>​ ( epsilon ) |+^ Label on the Smoothieboard ​  ​^ M1 ^ M2 ^ M3 ^ M4 ^ M5 ^ 
-|| Current setting configuration option ​|| alpha_current ​|| beta_current ​|| gamma_current ​|| delta_current ​|| epsilon_current ​||+Axis in a cartesian machine | **X** (left-right) | **Y** (front-back) | **Z** (up-down) | **E0** ​(first ​extruder| **E1** ​(second ​extruder
 +Greek letter | <​html>&​alpha;</​html>​ (alpha) | <​html>&​beta;</​html>​ (beta) | <​html>&​gamma;</​html>​ (gamma) | <​html>&​delta;</​html>​ (delta) | <​html>&​epsilon;</​html>​ (epsilon) | 
 +Current setting configuration option | alpha_current | beta_current | gamma_current | delta_current | epsilon_current |
  
 The value is in Amperes, and is generally found on the motor itself, or in it's datasheet. The value is in Amperes, and is generally found on the motor itself, or in it's datasheet.
Line 25: Line 27:
 beta_max_rate ​                               30000.0 ​         # mm/min beta_max_rate ​                               30000.0 ​         # mm/min
 </​code>​ </​code>​
 +
 +The current can also be set using M907 where XYZ set the current for alpha,beta, gamma, and ABC set the current for delta, epsilon and zeta respectively. These are saved with M503 in the config-override,​ use M503 to see the current setting.
 +
 +**NOTE** on smoothieboards that use an I2C based current controller it is **NOT** recommended to issue M907 in GCode files.
  
 == External resources == External resources