Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
general-appendixes [2018/12/21 10:41]
arthur [External Stepper Drivers]
general-appendixes [2019/05/04 17:11]
80.99.59.202 added TB6600 sub-block
Line 163: Line 163:
 alpha_step_pin ​  ​2.0o ​    # Pin for alpha stepper step signal alpha_step_pin ​  ​2.0o ​    # Pin for alpha stepper step signal
 </​code>​ </​code>​
 +
 +it's also possible to invert a pin:
 +
 +<​code>​
 +alpha_step_pin ​  ​2.0!o ​    # Pin for alpha stepper step signal
 +</​code>​
 +
  
 <callout type="​info"​ icon="​true"​ title="​ ReprapDiscount Silencio">​ <callout type="​info"​ icon="​true"​ title="​ ReprapDiscount Silencio">​
Line 201: Line 208:
  
 And just wire the Silencio connector to the Smoothieboard external driver connector And just wire the Silencio connector to the Smoothieboard external driver connector
 +
 +</​callout>​
 +
 +<callout type="​info"​ icon="​true"​ title="​ TB6600 external driver">​
 +
 +There are more versions labeled TB6600 on the market, but they use different driver chips inside. First of all you'll need to know, if the driver is ok with higher step rates (200 kHz), or you'll have to tune <​kbd>​microseconds_per_step_pulse</​kbd>​ and/or <​kbd>​base_stepping_frequency</​kbd>​.
 +
 +Since TB6600 uses 5V signals and Smoothie is 3.3V we should either use TTL converters or open-drain (as mentioned before). My setup uses open-drain with 5V taken from the board ( signals are connected to "​-"​ pins, 5V is to all "​+"​ pins ).
 +
 +The config is the following for alpha, but it's the same for the rest:
 +
 +<​code>​
 +# Stepper module pins ( ports, and pin numbers, appending "​!"​ to the number will invert a pin )
 +alpha_step_pin ​                              ​2.0!o ​             # Pin for alpha stepper step signal
 +alpha_dir_pin ​                               0.5!o              # Pin for alpha stepper direction
 +alpha_en_pin ​                                ​0.4!o ​             # Pin for alpha enable pin
 +</​code>​
 +
 +If you want to change the rotating direction, simply leave out the "​!":​
 +
 +<​code>​
 +alpha_dir_pin ​                               0.5o              # Pin for alpha stepper direction
 +</​code>​
  
 </​callout>​ </​callout>​