2.5 Ampere bipolar stepper motor driver board based on a Texas DRV8811 chip
DAISY-2 module gives all the functions provided by the Texas chip adding a low-power feature which allows to keep the stepper motor in torque with a low current consumption configurable by dip-switches.
|
Main features
|
Internal shutdown functions are provided for over current protection, short circuit protection, under-voltage lockout and overtemperature
Up to 4 GPIO lines are used by the DAISY-2 module from daisy connector:
These are the usable connectors where to plug this board using the factory default Linux Kernel image:
| Terra | FOXG20 |
|---|---|
| D11 | D1 |
| D12 | D6 |
| D8 |
On the FOX Board G20 is requested a Daisy-1 adapter to wire this boards.
|
J2 pin-out
|
|
The S1 dip-switch selects which GPIO incoming lines link to the following DAISY-2 control
signals:
Only four GPIO lines incoming from the CPU are used by the DAISY-2 module to control the stepper motor. Configuring the S1 dip-switch it is possible to select whether to use odd or even wires available on the Daisy connector. We simply call this configurations A and B. Configurations A and B are useful if you need to place two DAISY-7 modules on a same flat cable. Setting A on the first board and B on the second one it is possible to control up to four DAISY-2 modules using just D2 and D5 daisy connector.
Please be careful to use only these two dip-switch configuration to avoid shortcuts between GPIO lines. Following are the kernel GPIO IDs used when the DAISY-2 module is plugged on D2 or D5 daisy connectors on a DAISY-1 interface.
|
|
The S2 dip-switch allow you to choice the micro-stepping value and motor current for both normal and low-power mode.
Lowpower operation is a feature that can be enable via software and is useful to maintain the to motor axis in torsion without overheat the internal coils. USM0 and USM1 dip switch selected micro stepping mode. Refer to page # 12 on Texas DRV8811 datasheet for in-deep info.
The other dip-switches can be used to set-up the motor current and the low power condition.
If DIP 6,7 and 8 are all OFF the low power function is disable by hardware. (1) normal current, calculated value
|
The following examples use: the soft_pwm kernel driver module written by Antonio Galea. Follow this article: A kernel module for generating bit banging PWM signals to install it on your acme board.
They use also the ablib Python module available in the playground examples collection.
Basic example which move the stepper motor 360° in clockwise direction then 360° in anti-clockwise direction.
Plug the DAISY-2 module on D5 connector on DAISY-1 module then set up the S1 dip-switches in configuration A
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|
| Configuration A | ON | ON | ON | ON |
Set all the S2 dip-switches in state ON to set-up the full-step mode (usually 200 step for 360 degree) using a minimal current.
Wire your steper motor as explained below in the Stepper motor wirings section the run the Python example by typing:
debarm:~/playground/python/daisy2# python run.py
Simple example which move two stepper motors 360° in clockwise direction then 360° in anti-clockwise direction.
Plug one DAISY-2 module on D2 connector on DAISY-1 module then set up the S1 dip-switches in configuration A
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|
| Configuration A | ON | ON | ON | ON |
Plug another DAISY-2 module on D5 connector on DAISY-1 module then set up the S1 dip-switches in configuration B
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|
| Configuration B | ON | ON | ON | ON |
Set all the S2 dip-switches in state ON to set-up the full-step mode (usually 200 step for 360 degree) using a minimal current.
Wire your steper motor as explained below in the Stepper motor wirings section the run the Python example by typing:
debarm:~/playground/python/daisy2# python run2.py
Demo to show you how to manage the max number of stepper motor with one FOX Board G20.
To use this example you have to disable some interface on Linux Kernel:
Here is the modified board-foxg20.c source.
Plug 8 DAISY-2 modules in this way:
| Daisy connector | Daisy-2 configuration |
|---|---|
| D2 | A |
| D2 | B |
| D3 | A |
| D3 | B |
| D5 | A |
| D5 | B |
| D6 | A |
| D7 | A |
Run the Python example by typing:
debarm:~/playground/python/daisy2# python run8.py
We tested the examples on this article with the following stepper motors:

Wirings map:
| J2 pins on DAISY-2 | Mercury wire colors | Function description |
|---|---|---|
| 1 | GND power supply | |
| 2 | VCC (12 volt) power supply | |
| 5 | BLUE | Bridge B output 2 |
| 6 | GREEN | Bridge A output 2 |
| 7 | YELLOW | Bridge B output 1 |
| 8 | RED | Bridge A output 1 |

Wirings map:
| J2 pins on DAISY-2 | Wantai wire colors | Function description |
|---|---|---|
| 1 | GND power supply | |
| 2 | VCC (12 volt) power supply | |
| 5 | BLUE | Bridge B output 2 |
| 6 | GREEN | Bridge A output 2 |
| 7 | RED | Bridge B output 1 |
| 8 | BLACK | Bridge A output 1 |
![]() | DAISY-2 is a bipolar stepper motor driver board (2.5A) based on Texas DRV8811 chip. Note: the daisy flat cable to wire this board is not included. Don't forget to buy it (code FC-19818-FF) EOL product. Last few pcs available. This product will be replaced very soon with a newer version. E-mail us for more info |
![]() | 20 cm ribbon cable with 10 wires compatible with the Acme Daisy Cabling System. At least one of these cables is required to connect each Daisy module. if you need different lengths please consider making your own the cable using the IDC socket JJ-02291-10P-F and the flat cable FC-3754-1M. |
|
|
Atmel© Certified Partner |
Documentation Terms of Use
Acme Systems provides this documentation "as is" without warranty or guarantees of any kind.
The mantainer of this site (Sergio Tanzilli), has gone to a great deal
of effort into making this documentation as correct as possible.
Acme Systems doesn't provide any direct support for the Open Source preinstalled software but provides, through
these pages and forum posts, all the information required to obtain the sources, install, use and update the
Open Source softwares runnable on the FOX Board, NetusG20, AriaG25 and Terra platforms.
Please note that all the preinstalled softwares, used on the Acme Systems products, are Open Source and you will
have to check the license terms provided (usually the GPL) by each author before using it in any commercial or non-commercial
product, by yourself.
Before sending emails or calling the Acme staff here are our contacts
please note that WE ARE MAINLY HARDWARE DESIGNERS and NOT LINUX GURUS so could be better to post
your questions directly to the forum listed below to be sure that all the contributors of this site and
the large software developers community will read and reply to your questions.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.