#BEE Board and Stepper Motor

This article shows on how to drive up to three unipolar stepper motor using a [BEE Board](/BEEBOARD) and the [DAISY-2](/DAISY-2) stepper
motor controller.

The BEE Board can simultaneously drive up to 3 motors to manages, for example, 3 axis mechanical.

<img src="./beeboard_3_stepper.png"/>

## Dip Switch S1 Configuration

<table border="0">
<tr>
<td>
<h3>Configuration 'A'</h3>

<table class="basic">
<tr> <th>Pin</th><th>S1 Switch</th> </tr>
<tr> <td>1  </td><td>OFF      </td> </tr>
<tr> <td>2  </td><td>OFF      </td> </tr>
<tr> <td>3  </td><td>ON       </td> </tr>
<tr> <td>4  </td><td>OFF      </td> </tr>
<tr> <td>5  </td><td>ON       </td> </tr>
<tr> <td>6  </td><td>OFF      </td> </tr>
<tr> <td>7  </td><td>ON       </td> </tr>
<tr> <td>8  </td><td>OFF      </td> </tr>
</table>
</td>

<td>
<h3>Configuration 'B'</h3>
<table class="basic">
<tr> <th>Pin</th><th>S1 Switch</th> </tr>
<tr> <td>1  </td><td>OFF      </td> </tr>
<tr> <td>2  </td><td>OFF      </td> </tr>
<tr> <td>3  </td><td>OFF      </td> </tr>
<tr> <td>4  </td><td>ON       </td> </tr>
<tr> <td>5  </td><td>OFF      </td> </tr>
<tr> <td>6  </td><td>ON       </td> </tr>
<tr> <td>7  </td><td>OFF      </td> </tr>
<tr> <td>8  </td><td>ON       </td> </tr>
</table>
</td>
</tr>
</table>

For more information about  DIP Switch configuration visit [this page](/DAISY-2)

## Raw Mode

In this Example my Daisy2 was wired on W3 with 'A' configuration

<iframe width="320" height="240" src="http://www.youtube.com/embed/wzC4eN4Dn-U" frameborder="0" allowfullscreen></iframe>

<span class="github" user="Madefree" project="playground" file="RawMotor/RawMotor.pde">RawMotor.pde
</span>

## Library to manage Daisy2 with BEE Board

This library is a simple way to drive the motor with no PWM. You can connect up to 2 stepper motors to W3 (Configuration 'A' and 'B') and one stepper motor to W4 (configuration 'A').

* Download and Install it by following [this guide](http://www.acmesystems.it/beeboard_add_libraries_to_ide).
* Plug Ribbon Cable on Wings W3 or W4.
* open IDE and iclude Library.

## Plug one Daisy2 to W3 with configuration 'A'

<span class="github" user="Madefree" project="playground" file="OneMotor/OneMotor.pde">OneMotor.pde
</span>

## Plug two Daisy2 to W3 with configuration 'A' and 'B'

<iframe width="320" height="240" src="http://www.youtube.com/embed/5sRW5LOOT18" frameborder="0" allowfullscreen></iframe>

<span class="github" user="Madefree" project="playground" file="TwoMotor/TwoMotor.pde">TwoMotor.pde
</span>

## Related links

* [Madefree web site](http://beeboard.madefree.eu/doku.php/fly_on_daisy:daisy2_stepper_motor)
* [BEE Board PINOUT](http://www.acmesystems.it/beeboard_pinout)

@shop='BEEBOARD'
@shop='BEEKIT-1'
@shop='DAISY-2'
@shop='FC-19818-10P-FF'
@shop='JJ-02291-10P-F'
@shop='FC-3754-1M'
