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
general-appendixes [2017/04/26 23:29]
arthur [Doubling stepper motor drivers.]
general-appendixes [2019/05/04 17:11]
80.99.59.202 added TB6600 sub-block
Line 152: Line 152:
  
  
-In this case, you will also need to change those pins to be open-drain. To change a pin from being normal to being open-drain, you add a <​kbd>​o</​kbd>​ to the pin's number. For example :+In this case, you will also need to change those pins to be open-drain. To change a pin from being normal to being open-drain, you add a <​kbd>​o</​kbd> ​LowerCase "​o" ​to the pin's number. For example :
  
 <​code>​ <​code>​
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 195: Line 202:
  
 <​code>​ <​code>​
-alpha_step_pin ​       0.      # Pin for alpha stepper step signal +alpha_step_pin ​     2.      # Pin for alpha stepper step signal 
-alpha_dir_pin ​        ​0.5       # Pin for alpha stepper direction +alpha_dir_pin ​      ​0.5       # Pin for alpha stepper direction 
-alpha_en_pin ​         2.0!      # Pin for alpha enable pin+alpha_en_pin ​       0.4!      # Pin for alpha enable pin
 </​code>​ </​code>​
  
Line 203: Line 210:
  
 </​callout>​ </​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>​
 +
 +==== Multiple drivers in parralel
 +
 +If one of your axes requires more than one motor and driver, you can wire the control signals for one axis to multiple drivers, like so : 
 +
 +
 +<​html>​
 +<div class='​panel panel-default wrap_center'​ style='​width:​640px;​padding:​10px '>
 +<div class='​panel-heading'><​h4 class='​panel-title'>​External drivers wired in parralel</​h4></​div>​
 +<a href="​http://​smoothieware.org/​_detail/​unnamed.png?​id=general-appendixes"​ class="​media"​ title="​unnamed.png"><​img src="​http://​smoothieware.org/​_media/​unnamed.png?​w=800&​amp;​tok=f1375f"​ class="​media img-responsive"​ alt=""​ width="​620"></​a>​
 +<br/>
 +</​div>​
 +</​html>​
 +
 +
 +
  
 ===  Solid State Relays ===  Solid State Relays