Extension board · Prototyping
Solder your own circuit onto a breadboard-style board that plugs into seven controller pins with one ribbon cable.
| Type | Passive solderable prototype board with two power lamps |
| Prototype area | 30 columns in two halves, rows A–F and G–L: six holes per strip, five in columns 15–19 beside the host connector |
| Rails | +5 V and ground at the top, ground and +3.3 V at the bottom, 30 holes each |
| Copper links | Bare on the front between every pair of joined holes, so you can see each connection and cut it |
| Hole pitch | 2.54 mm; 7.62 mm across the middle, the width of a narrow DIP chip |
| Host connector | J1: Gadgeteer type Y, 10 pins, 1.27 mm pitch, Samtec SHF-105-01-L-D-TH-LC |
| Chain connector | J2: the same connector, left of the prototype area, wired pin for pin to ten labelled 2.54 mm holes (J3) and to nothing else |
| Signals | Seven, connected straight to the controller |
| Lamps | Red: 5 V rail powered. Orange: 3.3 V rail powered |
| Solder jumpers | Four, closed as made: each supply rail and each lamp |
| Supply load | 100 mA per positive rail (design target); less if your controller or cable allows less |
| Size | 110 × 60 mm, four M3 mounting holes |
Every figure with its basis is in the electrical specifications appendix; hole positions are in the mounting dimensions appendix.
The numbers on the drawing match the list below it.
1Host connector J1 — Ten pins to the controller. Check the notch before plugging in.
2Chain connector J2 — A second connector, left of the prototype area, linked only to the wiring holes below it.
3Chain wiring holes J3 — Solder wires here to choose what the chain connector carries; each hole is labelled with its pin.
4+5 V rail — Thirty joined holes fed by connector pin 2.
55 V lamp — Red; lit while the 5 V rail is powered.
63.3 V rail jumper — Closed as made; cut it to separate the bottom rail from connector pin 1.
7Upper strips — Each column of rows A to F is one connection, shown by the gold link.
8Column 14, GPIO 1 — The first signal arrives here. Columns 15 to 20 carry GPIO 2 to 7.
9Dashed guide lines — Each line runs from a J1 pin to the strip or rail it feeds.
10Lower strips — Each column of rows G to L is one connection.
11+3.3 V rail — Thirty joined holes fed by connector pin 1. Use it for signal pull-ups.
123.3 V lamp — Orange; lit while the 3.3 V rail is powered.
13Mounting hole — One of four; see the dimensions appendix.
Header J37 (G_F) of the Smoothieboard V2 Prime. The signal pins are 3.3 V logic; do not apply 5 V to them (PB1, PA4 and PG1 are not 5 V tolerant).
| Connector pin | Signal | On this board | Prime J37 |
|---|---|---|---|
| 1 | 3.3 V | +3.3 V rail (bottom), through its jumper | Pin 1, 3.3 V |
| 2 | 5 V | +5 V rail (top), through its jumper | Pin 2, 5 V |
| 3 | GPIO 1 | Column 14, rows G–L | PB1 |
| 4 | GPIO 2 | Column 15, rows A–E | PJ4 |
| 5 | GPIO 3 | Column 16, rows H–L | PA4 |
| 6 | GPIO 4 | Column 17, rows A–E | PG0 |
| 7 | GPIO 5 | Column 18, rows H–L | PJ3 |
| 8 | GPIO 6 | Column 19, rows A–E | PG1 |
| 9 | GPIO 7 | Column 20, rows G–L | PJ2 |
| 10 | GND | Both ground rails | Pin 10, ground |
Each column of rows A to F is one connection, and so is each column of rows G to L. Neighbouring columns, and the two halves of one column, are separate. Columns 15–19 have five holes per half because the host connector takes the sixth. The gold lines on the front are the copper that makes these connections: to split a strip or rail, cut the line between two holes with a sharp knife and check with a meter that the two sides are separate. Do this with the cable unplugged; solder or a wire joins them again. The bare links also mean a stray blob of solder, wire or metal can touch them, so look the board over before powering it. Each of the four 30-hole rails is one connection; the two ground rails are joined. The dashed lines printed on the board lead from every J1 signal and supply to its destination.
The chain connector J2 has the same pin numbers as the wiring holes J3: J2 pin n is joined to J3 pin n only. Each J3 hole is labelled on the board: 5V, 4, 6, 8, GND in the upper row and 3V3 (square pad), 3, 5, 7, 9 in the lower row. 5V is pin 2, 3V3 is pin 1 and GND is pin 10.
Start with the simplest circuit, one button between a signal and ground, to prove the cable and your pin numbering. As in the projects below, nothing off the board is soldered straight into it: the button plugs into a screw terminal.
With the cable unplugged, solder a two-pin screw terminal into holes J12 and J14, wire entry towards the bottom edge. Add a wire from L12 to hole 10 of the lower ground rail. Screw one button wire into each terminal.
Connector pin 3 and pin 10 must be open with the button released and connected with it pressed.
Use only a cable whose pin numbering you have confirmed at both ends with a continuity test. Connect with the power off.
Add the setting below, power up with the button released, and keep machine loads disabled for the test.
Pressing the button halts the controller. Releasing it does not clear the halt.
| You want | Module | Example |
|---|---|---|
| A button that halts | Button box | Setup |
| A touch switch | Switch | Setup |
| A solenoid that taps while on | Switch | Setup |
| A hand-turned jog wheel | MPG | Setup |
| Delayed STEP and DIR for an external driver | Motion (actuator) | Setup |
The setting for the button of Get started. The four projects have their own: touch switch, tapper, handwheel and STEP and DIR delay. They share some pins, and a pin can be claimed by one setting only.
[button box]
raw_button.enable = true
raw_button.pin = PB1!^
raw_button.press = KILL
^ enables the pull-up and ! makes a ground connection count as a press (button box source). This is a software halt, not an emergency stop, and a broken wire goes unnoticed. A button already held at start-up can trigger at once.
Seven connector pins and both supplies are wired to fixed columns and rails; everything else is yours to connect with component leads and wires. The board cannot change voltage levels or protect a pin, so your circuit must keep signals between 0 and 3.3 V. A narrow (7.62 mm) DIP chip straddles the middle gap with one row of pins in row F and the other in row G, and needs no cut tracks; columns 20–30 give the longest run for this.
| 5 V lamp | 3.3 V lamp | |
|---|---|---|
| Where | Left end of the +5 V rail | Left end of the +3.3 V rail |
| Lit means | The +5 V rail has voltage | The +3.3 V rail has voltage |
| Dark means | No power, rail jumper cut, or lamp jumper cut | No power, rail jumper cut, or lamp jumper cut |
The red lamp sits at the left of the +5 V rail and the orange lamp at the left of the +3.3 V rail. All four jumpers are closed as made. To open one, cut the thin copper bridge between its two pads with a sharp knife and check with a meter; to close it again, bridge the pads with solder. Do this with the cable unplugged.
| Printed | Part | When cut |
|---|---|---|
| 5V LINK | JP1 | The +5 V rail and its lamp are separated from connector pin 2 |
| 3V3 LINK | JP2 | The +3.3 V rail and its lamp are separated from connector pin 1 |
| 5V LED LINK | JP3 | The red lamp stays dark; the rail is unaffected |
| 3V3 LED LINK | JP4 | The orange lamp stays dark; the rail is unaffected |
The lamps show that a rail has voltage, not that the voltage is correct. The ground rails have no jumper.
J2 and its wiring holes J3 sit left of the prototype area, so they take no strip holes. J2 carries nothing until you wire it. Solder a wire from a J3 hole to a strip or rail for each line the next board needs, for example J3 pin 10 to a ground rail and a signal pin to the matching column. Wiring J3 pin n to the destination of J1 pin n passes that line straight on. Check every wire with a meter: crossing a supply onto a signal can damage the controller. Anything on the chain shares the controller’s pins and supply budget, and signals stay limited to 3.3 V.
Each project uses its own board. The drawings are made from the same hole list as the tables, and that list was checked by script for open and shorted connections. The circuits were designed from datasheet figures, and the numbers given are calculated, not measured. Solder with the ribbon cable unplugged, check every connection with a meter, and check the output voltage before you plug in: no signal pin may see more than 3.3 V.
Hole names follow the board printing: H7 is row H, column 7. A rail hole such as “+5 V rail 19” is the nineteenth hole of that rail. Black wires are ground.
Touch a bare metal plate and an LED turns on; touch it again and it turns off. Your body picks up a little of the 50 or 60 Hz field from the mains wiring around you. When you touch the plate, three transistors in a chain amplify that tiny current enough to pull a controller input low. C1 fills the gaps between mains half-cycles so that the controller sees one steady press.
| Part | What | Holes | Job |
|---|---|---|---|
| CN1 | 2-pin screw terminal, 2.54 mm pitch | pins in B2 and B4, wire entry towards the top edge | detachable lead to the plate; B4 is left unused |
| R1 | 1 MΩ resistor, 1/4 W | E2 to E6 | protects the first transistor from static on the plate |
| D1 | 1N4148 diode (band = cathode) | band end in B6, other end in B10 | gives the negative half of the pickup a path to ground |
| R2 | 10 MΩ resistor, 1/4 W | K3 to K6 | ignores very small leakage currents |
| Q1 | 2N3904 NPN transistor, TO-92 | E in I5, B in I6, C in I7 | first of three amplifying transistors |
| Q2 | 2N3904 NPN transistor, TO-92 | E in I9, B in I10, C in I11 | second transistor |
| Q3 | 2N3904 NPN transistor, TO-92 | E in H22, B in H23, C in H24 | pulls the controller input low |
| R3 | 100 kΩ resistor, 1/4 W | J7 to +3.3 V rail 7 | limits Q1 |
| R4 | 10 kΩ resistor, 1/4 W | J11 to +3.3 V rail 11 | limits Q2 |
| R5 | 100 kΩ resistor, 1/4 W | J23 to lower ground rail 23 | keeps Q3 off when nothing touches |
| R6 | 100 Ω resistor, 1/4 W | I24 to I28 | limits the capacitor discharge current |
| R7 | 10 kΩ resistor, 1/4 W | J28 to +3.3 V rail 28 | holds the input high |
| C1 | 4.7 µF electrolytic capacitor, 16 V or more | + in H28, − in H29 | keeps the input low between mains half-cycles |
| R8 | 1 kΩ resistor, 1/4 W | H13 to H16 | LED current limit |
| LED1 | 3 mm indicator LED | − in J12, + in J13 | the lamp the plate switches |
| Wire | From | To |
|---|---|---|
| Top: blue | F6 | G6 |
| Top: black | A10 | upper ground rail 10 |
| Top: white | F2 | G2 |
| Top: black | L3 | lower ground rail 3 |
| Top: green | L5 | L10 |
| Top: violet | K9 | K23 |
| Top: black | J22 | lower ground rail 22 |
| Top: black | L29 | lower ground rail 29 |
| Top: yellow | L28 | L14 |
| Top: black | K12 | lower ground rail 12 |
| Off board: white | CN1, the screw over B2 | the metal plate |
Use a plate of copper, brass or steel, a few centimetres across, on a wire under 20 cm screwed into CN1. Connect the plate to nothing else, and never to anything powered. Sensitivity depends on the mains wiring nearby: far from any mains cable, or with a battery-powered machine outdoors, the circuit may not respond.
[switch]
touch.enable = true
touch.input_pin = PB1!^
touch.input_pin_behavior = toggle
touch.output_on_command = M42
touch.output_off_command = M43
lamp.enable = true
lamp.output_pin = PA4
lamp.output_type = digital
lamp.input_on_command = M42
lamp.input_off_command = M43
! makes the low signal count as a press and ^ enables the pull-up. toggle changes state once per touch; use momentary to keep the lamp on only while you touch (switch source). Test: type M42 and M43 in the console and watch the LED, then touch the plate. If it flickers, shorten the plate wire or raise C1 to 10 µF.
While a Gadgeteer signal is on, a solenoid taps about seven times a second without any further commands: shake a hopper, knock a sticking part loose or ring a small bell. The TLC555 runs as a repeating timer whose reset pin is the controller signal. Calculated timing: about 76 ms on and 69 ms off (the first pulse after switching on is longer).
The TLC555 straddles the gap in the middle of the board: pins 1 to 4 sit in row G and pins 5 to 8 in row F, columns 21 to 24, with the notch towards the connectors. No track needs cutting and every wire goes on top.
| Part | What | Holes | Job |
|---|---|---|---|
| CN1 | 2-pin screw terminal, 2.54 mm pitch | pins in A3 and A5, wire entry towards the top edge | detachable solenoid connection |
| CN2 | 2-pin screw terminal, 2.54 mm pitch | pins in A7 and A9, wire entry towards the top edge | detachable coil supply connection |
| U1 | TLC555 DIP-8 chip | pins 8, 7, 6, 5 in F21–F24; pins 1, 2, 3, 4 in G21–G24 | timer in a repeating (astable) circuit |
| C3 | 100 nF ceramic capacitor | +5 V rail 20 to upper ground rail 20 | supply decoupling |
| R1 | 10 kΩ resistor, 1/4 W | +5 V rail 26 to B26 | timing |
| R2 | 100 kΩ resistor, 1/4 W | D26 to H26 | timing |
| C1 | 1 µF electrolytic capacitor, 16 V or more | + in L26, − in L27 | timing capacitor |
| C2 | 10 nF ceramic capacitor | C24 to upper ground rail 24 | steadies the control pin |
| R5 | 100 kΩ resistor, 1/4 W | C15 to upper ground rail 15 | keeps the timer stopped when the input is not driven |
| R3 | 100 Ω resistor, 1/4 W | K2 to K8 | gate series resistor |
| R4 | 100 kΩ resistor, 1/4 W | L2 to lower ground rail 2 | keeps the transistor off |
| Q1 | IRLZ44N logic-level N-channel MOSFET, TO-220 | G in I2, D in I3, S in I4 | switches the coil |
| D1 | 1N4007 diode (band = cathode) | band end in D5, other end in D3 | absorbs the coil’s voltage spike |
| Wire | From | To |
|---|---|---|
| Top: red | A21 | +5 V rail 21 |
| Top: blue | C22 | C26 |
| Top: green | J22 | J26 |
| Top: green | D23 | I26 |
| Top: black | J27 | lower ground rail 27 |
| Top: black | J21 | lower ground rail 21 |
| Top: black | L4 | lower ground rail 4 |
| Top: violet | L23 | L8 |
| Top: yellow | E15 | H24 |
| Top: blue | E3 | G3 |
| Top: red | E5 | E7 |
| Top: black | D9 | D11 |
| Top: black | A11 | upper ground rail 11 |
| Off board: blue | CN1, the screw over A3 | solenoid, second wire |
| Off board: red | CN1, the screw over A5 | solenoid, first wire |
| Off board: orange | CN2, the screw over A7 | coil supply + |
| Off board: black | CN2, the screw over A9 | coil supply − |
[switch]
tapper.enable = true
tapper.output_pin = PJ4
tapper.output_type = digital
tapper.input_on_command = M44
tapper.input_off_command = M45
tapper.startup_state = false
tapper.halt_set_to = false
Test with the coil supply off: M44 should make pin 3 of the chip pulse (a meter reads about half of 5 V) and M45 should return it to 0 V. Then switch the coil supply on. M400 before M44 makes the command wait for queued movement to finish. A software halt switches the output off; it is not a safety function.
Turn the shaft of a spare 4-wire stepper motor by hand and an axis moves, like the wheel on an MPG pendant. A turning stepper is a small generator: its two coils produce two alternating voltages a quarter cycle apart. The LM393 turns each into a clean 0 / 3.3 V square wave, giving the A and B signals of an incremental encoder. R5 and R6 add about 70 mV of calculated hysteresis so that noise does not produce counts.
The LM393 straddles the gap in the middle of the board: pins 1 to 4 sit in row G and pins 5 to 8 in row F, columns 21 to 24, with the notch towards the connectors. No track needs cutting and every wire goes on top.
| Part | What | Holes | Job |
|---|---|---|---|
| CN1 | 4-pin screw terminal, 2.54 mm pitch | pins in B2, B4, B6 and B8, wire entry towards the top edge | detachable motor connection |
| U1 | LM393 DIP-8 chip | pins 8, 7, 6, 5 in F21–F24; pins 1, 2, 3, 4 in G21–G24 | two comparators, one per coil |
| C2 | 100 nF ceramic capacitor | +5 V rail 20 to upper ground rail 20 | supply decoupling |
| R1 | 10 kΩ resistor, 1/4 W | +5 V rail 27 to B27 | half of the 2.5 V reference |
| R2 | 10 kΩ resistor, 1/4 W | C27 to C30 | half of the 2.5 V reference |
| C1 | 10 µF electrolytic capacitor, 16 V or more | + in E27, − in E28 | steadies the reference |
| R3 | 10 kΩ resistor, 1/4 W | I5 to I9 | coil A input protection |
| R5 | 470 kΩ resistor, 1/4 W | K9 to K18 | hysteresis, channel A |
| R7 | 4.7 kΩ resistor, 1/4 W | L18 to +3.3 V rail 18 | pull-up to 3.3 V, output A |
| D1 | BAT85 diode (band = cathode) | band end in J9, other end in lower ground rail 7 | clamp to ground, channel A |
| D2 | BAT85 diode (band = cathode) | band end in L12, other end in L9 | clamp to 5 V, channel A |
| R4 | 10 kΩ resistor, 1/4 W | F8 to F12 | coil B input protection |
| R6 | 470 kΩ resistor, 1/4 W | K20 to K26 | hysteresis, channel B |
| R8 | 4.7 kΩ resistor, 1/4 W | L20 to +3.3 V rail 20 | pull-up to 3.3 V, output B |
| D3 | BAT85 diode (band = cathode) | band end in J26, other end in lower ground rail 25 | clamp to ground, channel B |
| D4 | BAT85 diode (band = cathode) | band end in L29, other end in L26 | clamp to 5 V, channel B |
| Wire | From | To |
|---|---|---|
| Top: red | A21 | +5 V rail 21 |
| Top: black | J24 | lower ground rail 24 |
| Top: black | A30 | upper ground rail 30 |
| Top: black | A28 | upper ground rail 28 |
| Top: violet | A23 | A27 |
| Top: violet | D27 | K22 |
| Top: green | H21 | H18 |
| Top: yellow | E22 | J20 |
| Top: blue | H9 | J23 |
| Top: orange | B24 | H26 |
| Top: red | H12 | +5 V rail 12 |
| Top: red | H29 | +5 V rail 29 |
| Top: red | E2 | H5 |
| Top: violet | D4 | D6 |
| Top: violet | E6 | D23 |
| Top: orange | C12 | C24 |
| Off board: red | CN1, the screw over B2 | motor coil A, first wire |
| Off board: green | CN1, the screw over B4 | motor coil A, second wire |
| Off board: yellow | CN1, the screw over B6 | motor coil B, second wire |
| Off board: blue | CN1, the screw over B8 | motor coil B, first wire |
[mpg]
x.enable = true
x.enca_pin = PJ3
x.encb_pin = PJ2
x.mmperpulse = 0.1
The MPG module reads the two pins as interrupts and counts one pulse per full A/B cycle. A 200-step (1.8°) motor gives a calculated 50 pulses per turn, so 0.1 moves X by 5 mm per turn at the axis’s maximum rate. M922 X0.01 changes the distance while running. Replace x. with y. or z. for another axis, or use shared. to pick the axis with M922. The two pins must have different pin numbers (here 3 and 2) that no other interrupt uses. This syntax needs firmware that includes the linked version of the module; older builds used axis = keys instead.
Test with motor power disconnected from the machine’s drivers or the axis free to move: check that A and B each switch between about 0 V and 3.3 V as you turn, then turn one revolution and compare the reported X position.
This circuit takes a STEP and a DIR signal from two Gadgeteer pins and passes them to an external stepper driver a fixed time later: about 1, 10 or 20 µs, set by the capacitors you fit. A signal turns on later and turns off later. A DIP switch chooses whether STEP, DIR or both are delayed. Use it when one signal has to arrive after the other, for example to give a driver more time between a direction change and the next step, or to line up one motor with another that has a slower signal path.
What it looks like in time. The graph shows the 10 µs setting. The dashed lines mark when the controller changes a pin; the white bars are the delay.
| You want delayed | Switch 1 | Switch 2 | Switch 3 | Switch 4 |
|---|---|---|---|---|
| STEP and DIR | off | ON | off | ON |
| STEP only | off | ON | ON | off |
| DIR only | ON | off | off | ON |
| Neither (straight through) | ON | off | ON | off |
Set switches with the controller off. In each pair (1 and 2, 3 and 4) turn exactly one on: with both off that output is not connected, and with both on the direct signal wins while R5 or R6 limits the current. The drawings show 2 and 4 on.
Version A uses one fixed capacitor per position. Version B adds a screwdriver-adjustable (trimmer) capacitor beside a smaller fixed one, and uses different values for R1, R3 and R4. Use C0G (NP0) ceramic capacitors.
Version A, fixed capacitors
| Delay you want | C1 (STEP) | C3 and C4 (DIR) | Calculated STEP / DIR |
|---|---|---|---|
| 1 µs | 220 pF | 47 pF | 1.0 / 1.0 µs |
| 10 µs | 2.2 nF | 510 pF | 10.3 / 9.9 µs |
| 20 µs | 4.3 nF | 1 nF | 20.2 / 19.3 µs |
Version B, fixed capacitor beside each trimmer
| Delay you want | C1, beside VC1 | C3 and C4, beside VC2 and VC3 | Trimmer range, STEP | Trimmer range, DIR |
|---|---|---|---|---|
| 1 µs | none | none | 0.6 to 2.6 µs | 0.5 to 2.3 µs |
| 10 µs | 180 pF | 200 pF | 9.0 to 11.0 µs | 9.0 to 10.8 µs |
| 20 µs | 390 pF | 430 pF | 18.9 to 20.9 µs | 18.7 to 20.5 µs |
All delays are calculated from typical datasheet figures at 3.3 V, with 5 pF assumed for the board and chip input where it matters; none has been measured. Chips differ: the DIR delay of a particular SN74HC14 can be roughly half to one and a half times the figure shown, because its switching thresholds vary. The STEP delay varies less, but the formula used here underestimates it for small capacitors, most at 1 µs. If the delay matters, build version B and set it with an oscilloscope; if the trimmer cannot reach it, change the fixed capacitor beside it by one step.
Both chips straddle the middle gap with the notch towards the connectors. No track needs cutting. The chips run from the +3.3 V rail; the +5 V rail is not used.
| Part | A: fixed capacitors | B: trimmers | Holes | Job |
|---|---|---|---|---|
| U1 | CD74HC123 DIP-16 dual one-shot timer | same | pins 16 to 9 in F21–F28; pins 1 to 8 in G21–G28 | delays STEP and rebuilds the pulse |
| U2 | SN74HC14 DIP-14 Schmitt-trigger inverters | same | pins 14 to 8 in F1–F7; pins 1 to 7 in G1–G7 | delays DIR |
| SW1 | 4-position DIP switch | same | positions 1 to 4 across the gap: F9/G9, F10/G10, F11/G11, F12/G12, ON towards the top edge | picks delayed or direct for each signal |
| CN1 | 3-pin screw terminal, 5.08 mm pitch | same | pins in B9 (STEP), B11 (DIR), B13 (GND), wire entry towards the top edge | lead to the stepper driver |
| R1 | 10 kΩ | 100 kΩ | D22 to D26 | sets the STEP delay with C1 |
| C1 | see the table above | see the table above (nothing for 1 µs) | B22 to B23 | sets the STEP delay |
| VC1 | not fitted | 7–50 pF trimmer | C20 to C22 | fine adjustment of STEP |
| R2 | 10 kΩ | 10 kΩ | L27 to +3.3 V rail 27 | sets the output pulse width with C2 |
| C2 | 680 pF | 680 pF | K26 to K27 | output STEP pulse of about 3.2 µs |
| R3 | 10 kΩ | 22 kΩ | D2 to D8 | first DIR delay stage |
| R4 | 10 kΩ | 22 kΩ | L5 to L8 | second DIR delay stage |
| C3 | see the table above | see the table above (nothing for 1 µs) | E2 to E4 | first DIR delay stage |
| C4 | same value as C3 | same value as C3 | J5 to J7 | second DIR delay stage |
| VC2 | not fitted | 7–50 pF trimmer | B2 to B4 | fine adjustment of the first DIR stage |
| VC3 | not fitted | 7–50 pF trimmer | H5 to H7 | fine adjustment of the second DIR stage |
| R5 | 330 Ω | 330 Ω | I25 to I29 | limits current if switches 1 and 2 are both on |
| R6 | 330 Ω | 330 Ω | I6 to I12 | limits current if switches 3 and 4 are both on |
| R7 | 100 kΩ | 100 kΩ | K22 to lower ground rail 22 | holds STEP low while the pin is not driven |
| R8 | 100 kΩ | 100 kΩ | K11 to lower ground rail 11 | holds DIR low while the pin is not driven |
| C5, C6 | 100 nF ceramic | 100 nF ceramic | C5: B21 to upper ground rail 21; C6: B1 to upper ground rail 1 | supply decoupling, one per chip |
| Wire | From | To |
|---|---|---|
| Top: red | E21 | E26 |
| Top: red | +3.3 V rail 29 | B26 |
| Top: red | K23 | +3.3 V rail 23 |
| Top: red | +3.3 V rail 1 | D1 |
| Top: black | L21 | lower ground rail 21 |
| Top: black | L28 | lower ground rail 28 |
| Top: black | A28 | upper ground rail 28 |
| Top: black | A4 | upper ground rail 4 |
| Top: black | A6 | upper ground rail 6 |
| Top: black | L1 | lower ground rail 1 |
| Top: black | L3 | lower ground rail 3 |
| Top: black | K7 | lower ground rail 7 |
| Top: black | E13 | upper ground rail 14 |
| Top: violet | J24 | E27 |
| Top: orange | E3 | J8 |
| Top: yellow | D15 | E8 |
| Top: yellow | E15 | H11 |
| Top: green | H14 | H9 |
| Top: green | L14 | J22 |
| Top: blue | L29 | J10 |
| Top: white | E9 | E10 |
| Top: yellow | E11 | E12 |
| Version B only, top: blue | A20 | A23 |
| Off board: white | CN1, the screw over B9 | driver STEP input |
| Off board: yellow | CN1, the screw over B11 | driver DIR input |
| Off board: black | CN1, the screw over B13 | driver logic ground |
steps_per_mm × speed in mm/s; for example 400 steps/mm at 30 mm/s is 12,000 per second.!. DIR may be inverted.Give one motor the two Gadgeteer pins as its STEP and DIR pins. This example moves the Z motor (gamma) to an external driver, so the controller’s own Z driver output no longer steps; change these lines in your existing gamma settings. It claims PB1 and PJ4, which the other projects on this page also use.
[actuator]
gamma.driver = external
gamma.step_pin = PB1
gamma.dir_pin = PJ4
The controller’s default STEP pulse (step_pulse_us = 1 in the [system] section) works with this circuit and needs no change. These keys are read by the motion setup in the firmware.
Test before connecting the driver: with an oscilloscope, put one probe on the controller pin side (column 14, rows G–L, for STEP; column 15, rows A–E, for DIR) and one on the CN1 screw, then jog Z slowly. The output edge should follow the input edge by the delay you chose. In version B, turn VC1 for STEP, and VC2 and VC3 by equal amounts for DIR, with a plastic trimming tool, and read the delay with the tool removed.
| Symptom | Check |
|---|---|
| Nothing responds | Check the pin in the table above, the cable numbering, and that the setting loaded without an error at start-up. |
| A signal is always active | Look for a solder bridge between neighbouring columns, or a wire in the wrong half of a column. |
| A power lamp is dark | Check the cable and controller power, then that the rail jumper and the lamp jumper are closed. |
| One strip hole stays dead | Check that the gold link beside it has not been cut or scratched through. |
| Nothing on the chain connector | J2 carries only what you wire to J3; check each wire and the pin numbering. |
| Controller resets or the supply drops | Unplug at once and check for a short between a rail and ground, then the load on the 5 V and 3.3 V rails. |
| Touch plate does nothing | Test the LED with M42; touch near mains-powered equipment; check the transistor E, B, C order against its datasheet. |
| Tapper silent | Measure chip pin 4 (near 3.3 V when on) and pin 8 (5 V); then check the coil supply, the chip’s orientation and the wires. |
| Handwheel does not move the axis | Check both outputs switch, the coil pairs, and that the start-up log shows the MPG loaded. |
| Handwheel jitters back and forth | One channel is not switching: check its coil wires, feedback resistor and clamp diodes. |
| No delayed STEP pulses | Check switch 2 is on and switch 1 off, the violet wire J24 to E27, and 3.3 V on chip pins 3, 11 and 16 of U1. |
| Delayed axis loses steps | The step rate is too high for the delay: lower the speed or use a shorter delay. |
| DIR delay far from the table | Normal spread between chips: change C3 and C4 together, or build version B. |
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| Schematic (PDF) | The complete circuit diagram |
| Parts list (CSV) | Every component with its value and footprint |
| Board drawing (WebP) | The top view used on this page |
| CAD files (ZIP) | KiCad 9 board, schematic, footprints and licence texts (CERN-OHL-S-2.0) |
| Button drawing (WebP) | Populated board, full size |
| Touch switch drawing (WebP) | Populated board, full size |
| Tapper drawing (WebP) | Populated board, full size |
| Handwheel drawing (WebP) | Populated board, full size |
| Delay drawing, fixed capacitors (WebP) | Populated board, full size |
| Delay drawing, trimmers (WebP) | Populated board, full size |
For drilling a mounting plate or designing an enclosure. Positions are hole centres, in millimetres, measured from the top-left corner with the board seen from the component side.
| Hole | X (mm) | Y (mm) | Diameter | Use |
|---|---|---|---|---|
| 1 | 5.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 2 | 105.00 | 5.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 3 | 5.00 | 55.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 4 | 105.00 | 55.00 | 3.2 mm, not plated | Mounting, M3 screw |
Limits of the bare board. A dash means “does not apply”; Open means not established.
| Parameter | Applies to | Lower | Nominal | Upper | Basis and conditions |
|---|---|---|---|---|---|
| Supply voltage | +5 V rail | — | 5 V | Open | From the controller |
| Supply voltage | +3.3 V rail | — | 3.3 V | Open | From the controller |
| Supply current | Each positive rail | — | — | 100 mA | Design target; the controller and cable may allow less |
| Signal voltage | Seven GPIO columns | 0 V | — | 3.3 V | Controller logic level |
| Lamp current | Red, orange | 1.7 mA, 1.3 mA | — | 2.0 mA, 1.9 mA | Calculated from 1.5 kΩ and 680 Ω resistors for an assumed 2.0–2.4 V lamp voltage; counts toward the rail load |
| Copper current | Strips and rails | — | — | Open | Not established |
| Voltage between neighbouring holes | Whole board | — | — | Open | Low voltage only |
The first page of each important chip’s datasheet. Click a page to open the PDF.
See all boards on the extension boards page.