Difference between revisions of "GAUPS 0.2 Instructions"

From Amber Spyglass Ltd
Jump to navigation Jump to search
(Created page with "== Assembly == It's easiest to assemble the board in the order of component height, leaving the tallest last. For the parts with long leads, trim them as soon as you've sold...")
 
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
== What's Different ==
 +
 +
[[File:ASL_stepper_shield_PCB_top.jpg|300px|thumb|Top of GAUPS 0.2 board]]
 +
 +
GAUPS 0.2 (beta) is almost identical to the 1.0 (final) version.  The differences are:
 +
* The board is green, not blue;
 +
* Instead of jumpers (JP1) for selecting between dual-Y and fourth axis, it has a DIP array (SW2);
 +
* The RESET switch is labelled SW3;
 +
* The positive and negative supply terminals are swapped (connector P5);
 +
* There are a few more traces on the back of the board (the 1.0 ground plane is slightly better);
 +
* Some pads are a different size;
 +
* It does not have a cool A/S/L logo on the back.
 +
 +
Other than that, the boards are identical.  The schematic is exactly the same.
 +
 +
== Open Source ==
 +
 +
GAUPS is derived from Bart Dring's open-source [http://buildlog.net/ Buildlog.net] Arduino-compatible Stepper Motor Driver Shield rev 3.  Thank you, Bart!
 +
 +
GAUPS is open-source hardware, released under the Creative Commons Attribution-ShareAlike 3.0 License.
 +
However, as GAUPS 0.2 was a beta version, we ask you to use the GAUPS 1.0 files instead.
 +
 
== Assembly ==
 
== Assembly ==
  
It's easiest to assemble the board in the order of component height, leaving the tallest last.  For the parts with long leads, trim them as soon as you've soldered them.
+
[[File:ASL_stepper_shield_PCB_bottom.jpg|300px|thumb|Bottom of GAUPS 0.2 board]]
  
* Solder R1 (10 k&Omega resistor).
+
Please follow the illustrated [[GAUPS 1.0 Instructions]].
* Solder SW1 (12-way DIP switch) and SW2 (4-way DIP switch).  Orient them numbers to the left, "ON" text in the upper-right corner.  On SW1, the 1, 2 and 3 labels will match the 1, 2 and 3 silkscreen labels for the A axis.
+
The boards are nearly identical, so the instructions apply as well, with these changes:
* Solder SW3 (push-button), taking care not to overheat it.
+
* Step 2: solder both DIP arrays (SW1 and SW2);
* Solder C1, C3, C5, C7 (47 µF 35 V capacitors), paying attention to the orientation.  Install with the negative terminal (shorter lead, marked with a stripe on the body of the capacitor) toward the middle of the board.
+
* Step 3: the switch is SW3;
* Solder C2, C4, C6, C8 (100 nF capacitors).
+
* Step 7: skip this step;
* Solder the eight 8-way female headers for the drivers.
+
* Step 10: set SW2 (see [[#Switch Settings]] below).
* Solder the Arduino stacking headers (J1, J2, J3, J4), taking care not to deposit solder on the pins that stick out of the bottom of the board.  Make sure the pins are straight and parallel before soldering them.
 
* Interconnect one 2-way and two 4-way screw terminals, by sliding the little dovetails into the slots.  Solder them as P5, P1 and P2.
 
* Interconnect two 4-way screw terminals.  Solder them as P3 and P4.
 
  
You're done!
+
== Driver Orientation ==
  
== Driver Orientation ==
+
Driver pin EN (ENABLE) is marked with an arrow on the silkscreen (please note that this changed in the 1.0 version).  The motor outputs (1A, 1B, 2A, 2B) face the respective screw terminals.  The electrolytic capacitor is near the VMOT pin, and the yellow ceramic capacitor is near the VDD pin.
  
Driver pin EN (ENABLE) is marked with an arrow on the silkscreen.  The motor outputs (1A, 1B, 2A, 2B) face the respective screw terminals.  The electrolytic capacitor is near the VMOT pin, and the yellow ceramic capacitor is near the VDD pin.
+
Note that two drivers (X and Y) are oriented one way, the other two (Z and A) the other way.
  
 
== Connections ==
 
== Connections ==
Line 24: Line 43:
  
 
The motor power supply input is P5, the two bottom screw terminals in the block of ten at the left of the board.  Negative is next to the X axis motor terminals, positive at the bottom edge of the board.  Please note that this has changed in version 1.0 of the board.
 
The motor power supply input is P5, the two bottom screw terminals in the block of ten at the left of the board.  Negative is next to the X axis motor terminals, positive at the bottom edge of the board.  Please note that this has changed in version 1.0 of the board.
 +
 +
Do not make or break any connections while the board or the Arduino are powered.  There is a high risk of destroying the drivers and/or the Arduino.
  
 
== Switch Settings ==
 
== Switch Settings ==
  
Switches are OFF to the left, ON to the right (the side of the switch labelled "ON").
+
Switches are OFF to the left (the side of the switch with the numbers), ON to the right (the side labelled "ON").
  
For Dual-Y operation, the A driver takes the same control signals as the Y driver.  For 4-axis operation (or spindle relay in the A axis slot), STEP and DIR for the A driver are Arduino pins D12 and D13.
+
For Dual-Y operation, the A driver takes the same control signals (STEP and DIR) as the Y driver.  For 4-axis operation (or spindle relay in the A axis slot), STEP and DIR for the A driver come from Arduino pins D12 and D13.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 59: Line 80:
 
   |-
 
   |-
 
     !colspan="4"|SW1 switch
 
     !colspan="4"|SW1 switch
     !rowspan="2"|Driver<br />Input
+
     |
     !colspan="4"|''A4988 and DRV8825''
+
     !colspan="5"|''A4988 and DRV8825''
 
     !''A4988''
 
     !''A4988''
 
     !colspan="2"|''DRV8825''
 
     !colspan="2"|''DRV8825''
 +
    |
 +
    !colspan="5"|''DRV8834''
 
   |-
 
   |-
 
     !X axis
 
     !X axis
Line 68: Line 91:
 
     !Z axis
 
     !Z axis
 
     !A axis
 
     !A axis
 +
    |
 +
    !Pin name
 
     !1 &times;
 
     !1 &times;
 
     !2 &times;
 
     !2 &times;
Line 73: Line 98:
 
     !8 &times;
 
     !8 &times;
 
     !16 &times;
 
     !16 &times;
 +
    !16 &times;
 +
    !32 &times;
 +
    |
 +
    !Pin name
 +
    !2 &times;
 +
    !4 &times;
 
     !16 &times;
 
     !16 &times;
 
     !32 &times;
 
     !32 &times;
 
   |-
 
   |-
 
     !10
 
     !10
 +
    !4
 
     !7
 
     !7
    !4
 
 
     !1
 
     !1
 +
    |
 
     !''MS1''
 
     !''MS1''
 
     |OFF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 
     |OFF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Line 88: Line 120:
 
     |OFF
 
     |OFF
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 +
    |
 +
    !''M0''
 +
    |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 +
    |OFF
 +
    |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 +
    |OFF
 
   |-
 
   |-
 
     !11
 
     !11
 +
    !5
 
     !8
 
     !8
    !5
 
 
     !2
 
     !2
 +
    |
 
     !''MS2''
 
     !''MS2''
 
     |OFF
 
     |OFF
Line 100: Line 139:
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
     |OFF
 
     |OFF
 +
    |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 +
    |
 +
    !''M1''
 +
    |OFF
 +
    |OFF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 +
    |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
   |-
 
   |-
 
     !12
 
     !12
 +
    !6
 
     !9
 
     !9
    !6
 
 
     !3
 
     !3
 +
    |
 
     !''MS3''
 
     !''MS3''
 
     |OFF
 
     |OFF
Line 114: Line 160:
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 
     |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON
 +
    |
 +
    !''(CFG)''
 +
    |colspan="4" align="center"|''not used''
 
|}
 
|}
  
For instance, to set a DRV8825 driver on the Z axis to 8 &times; microstepping,
+
For instance, to set a DRV8825 driver on the Z axis to 8&nbsp;&times; microstepping,
set switches 4 on, 5 on, 6 off.  In the Dual Y configuration, it's simplest to
+
set switches 7 on, 8 on, 9 off.  In the Dual Y configuration, it's simplest to
 
use the same type of driver and motor for both the Y axes (Y and A), and use
 
use the same type of driver and motor for both the Y axes (Y and A), and use
the same microstepping configuration for both.
+
the same microstepping configuration for both (switches 1&ndash;3 same as switches 4&ndash;6).
 +
 
 +
Note that it is not possible to select all microstepping combinations for the DRV8834
 +
low-voltage stepper motor driver (1&nbsp;&times; and 8&nbsp;&times; would require pin
 +
M0 to be held low).

Latest revision as of 02:00, 21 February 2014

What's Different

Top of GAUPS 0.2 board

GAUPS 0.2 (beta) is almost identical to the 1.0 (final) version. The differences are:

  • The board is green, not blue;
  • Instead of jumpers (JP1) for selecting between dual-Y and fourth axis, it has a DIP array (SW2);
  • The RESET switch is labelled SW3;
  • The positive and negative supply terminals are swapped (connector P5);
  • There are a few more traces on the back of the board (the 1.0 ground plane is slightly better);
  • Some pads are a different size;
  • It does not have a cool A/S/L logo on the back.

Other than that, the boards are identical. The schematic is exactly the same.

Open Source

GAUPS is derived from Bart Dring's open-source Buildlog.net Arduino-compatible Stepper Motor Driver Shield rev 3. Thank you, Bart!

GAUPS is open-source hardware, released under the Creative Commons Attribution-ShareAlike 3.0 License. However, as GAUPS 0.2 was a beta version, we ask you to use the GAUPS 1.0 files instead.

Assembly

Bottom of GAUPS 0.2 board

Please follow the illustrated GAUPS 1.0 Instructions. The boards are nearly identical, so the instructions apply as well, with these changes:

  • Step 2: solder both DIP arrays (SW1 and SW2);
  • Step 3: the switch is SW3;
  • Step 7: skip this step;
  • Step 10: set SW2 (see #Switch Settings below).

Driver Orientation

Driver pin EN (ENABLE) is marked with an arrow on the silkscreen (please note that this changed in the 1.0 version). The motor outputs (1A, 1B, 2A, 2B) face the respective screw terminals. The electrolytic capacitor is near the VMOT pin, and the yellow ceramic capacitor is near the VDD pin.

Note that two drivers (X and Y) are oriented one way, the other two (Z and A) the other way.

Connections

The motor screw terminals are connected to the driver output nearest to them, in the same order.

The motor power supply input is P5, the two bottom screw terminals in the block of ten at the left of the board. Negative is next to the X axis motor terminals, positive at the bottom edge of the board. Please note that this has changed in version 1.0 of the board.

Do not make or break any connections while the board or the Arduino are powered. There is a high risk of destroying the drivers and/or the Arduino.

Switch Settings

Switches are OFF to the left (the side of the switch with the numbers), ON to the right (the side labelled "ON").

For Dual-Y operation, the A driver takes the same control signals (STEP and DIR) as the Y driver. For 4-axis operation (or spindle relay in the A axis slot), STEP and DIR for the A driver come from Arduino pins D12 and D13.

SW2 Dual-Y 4 axes
1 OFF       ON
2 OFF       ON
3       ON OFF
4       ON OFF

SW1 controls the microstepping for the four drivers. The silkscreen is labelled to show which switches apply to which driver.

SW1 switch A4988 and DRV8825 A4988 DRV8825 DRV8834
X axis Y axis Z axis A axis Pin name 1 × 2 × 4 × 8 × 16 × 16 × 32 × Pin name 2 × 4 × 16 × 32 ×
10 4 7 1 MS1 OFF            ON OFF       ON       ON OFF       ON M0       ON OFF       ON OFF
11 5 8 2 MS2 OFF OFF       ON       ON       ON OFF       ON M1 OFF OFF            ON       ON
12 6 9 3 MS3 OFF OFF OFF OFF       ON       ON       ON (CFG) not used

For instance, to set a DRV8825 driver on the Z axis to 8 × microstepping, set switches 7 on, 8 on, 9 off. In the Dual Y configuration, it's simplest to use the same type of driver and motor for both the Y axes (Y and A), and use the same microstepping configuration for both (switches 1–3 same as switches 4–6).

Note that it is not possible to select all microstepping combinations for the DRV8834 low-voltage stepper motor driver (1 × and 8 × would require pin M0 to be held low).