Extension board · Controls and displays
A row of eight indicator LEDs. Seven follow seven controller pins, so each can be a status lamp switched by a G-code command. The eighth shows power unless you move a solder link to make it copy a pin or an external signal.
| Purpose | A status or level display near a machine panel, or checking that socket pins switch. Not a safety indicator |
| LEDs | D1 to D7 green on contacts 3 to 9; D8 red on a selectable source. Each has a 1 kΩ resistor |
| Supply | 3.3 V, under 10 mA in total |
| External input | J3, 3.3 V maximum, through 1 kΩ |
| Sockets | Two 10-contact Gadgeteer type Y sockets (Samtec SHF-105, 1.27 mm): input and chain |
| Size | 100 × 60 mm, four M3 holes on a 90 × 50 mm pattern |
| Works with | Smoothieboard V2 Prime header GF through switch modules |
| Licence | Open hardware, CERN-OHL-S-2.0 |
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. The board is shown from the component side.
1Input socket Y IN (J1) — Seven signals on contacts 3 to 9.
2Chain socket CHAIN (J2) — Next board; all signal links are open as delivered.
3Lamps 1 to 7 (D1 to D7) — Lamp 1 follows contact 3, and so on to lamp 7 on contact 9.
4Lamp 8 (D8) — Red; shows 3.3 V as delivered.
5Lamp resistors (R1 to R8) — 1 kΩ each.
6Lamp 8 selectors (JP31 to JP34) — Close exactly one: power, contact 3, contact 9 or external.
7External input (J3) — Pin 1 signal, pin 2 ground. Never above 3.3 V.
8All-lamps link (JP20) — Common return of every LED; open it to switch all off.
9Chain links (JP3 to JP9) — Open as delivered.
10Mounting hole — One of four M3 holes.
Check contact numbering with the power removed before wiring by hand.
| Contact | Signal | Lamp | Prime header GF |
|---|---|---|---|
| 1 | 3.3 V | Lamp 8 as power light | 3.3 V |
| 2 | 5 V | Passed to the chain | 5 V |
| 3 | P3 | 1 | PB1 |
| 4 | P4 | 2 | PJ4 |
| 5 | P5 | 3 | PA4 |
| 6 | P6 | 4 | PG0 |
| 7 | P7 | 5 | PJ3 |
| 8 | P8 | 6 | PG1 |
| 9 | P9 | 7 | PJ2 |
| 10 | GND | Return | GND |
| Pin | Signal |
|---|---|
| 1 | Signal, 0 to 3.3 V |
| 2 | Ground |
Use the four M3 holes.
Plug J1 into header GF.
On power up lamp 8 should light.
Add one switch per lamp as below and restart.
Send M820, then M821.
Lamp 1 should come on and go off.
| You want | Module | Example |
|---|---|---|
| Switch a lamp by command | Switch | The entry below |
| Show a level or progress bar | None | Send the commands from your own script |
Add one block of settings per lamp to config.ini. This example drives lamps 1 and 2:
[switch]
lamp1.enable = true
lamp1.output_pin = PB1
lamp1.output_type = digital
lamp1.input_on_command = M820
lamp1.input_off_command = M821
lamp2.enable = true
lamp2.output_pin = PJ4
lamp2.output_type = digital
lamp2.input_on_command = M822
lamp2.input_off_command = M823
The other lamps use PA4, PG0, PJ3, PG1 and PJ2 with their own names and unused command numbers. Switches turn off when the machine halts unless configured otherwise. See the switch module.
A pin driven high sends about a milliampere through its LED, a light load for a controller pin. A socket carries only seven signals, which is why the eighth lamp takes its source from a link.
To change what lamp 8 shows, open JP31 and close exactly one of JP32, JP33 or JP34. Closing a chain link makes the next board see the same signal.
| Link | What it does | As delivered |
|---|---|---|
| JP3 | Joins contact 3 to the chain socket | Open |
| JP4 | Joins contact 4 to the chain socket | Open |
| JP5 | Joins contact 5 to the chain socket | Open |
| JP6 | Joins contact 6 to the chain socket | Open |
| JP7 | Joins contact 7 to the chain socket | Open |
| JP8 | Joins contact 8 to the chain socket | Open |
| JP9 | Joins contact 9 to the chain socket | Open |
| JP20 | Connects every lamp to ground | Closed |
| JP31 | Lamp 8 shows 3.3 V | Closed |
| JP32 | Lamp 8 copies contact 3 | Open |
| JP33 | Lamp 8 copies contact 9 | Open |
| JP34 | Lamp 8 follows J3 | Open |
All seven signals light lamps here, so their links ship open. Close a link only to share that signal.
| Contact | Signal | On CHAIN |
|---|---|---|
| 1, 2, 10 | Power and ground | Passed on |
| 3 to 9 | Lamps 1 to 7 | Stopped by open links |
| Symptom | Likely cause | What to check |
|---|---|---|
| No lamp lights | JP20 open or no power | Check JP20 and test point 3.3 V |
| Only lamp 8 lights | No command or wrong pin | Check the configuration names and pins |
| Lamp 8 dark | No selector closed | Close exactly one of JP31 to JP34 |
| Two lamps move together | Same pin configured twice, or solder bridge | Check configuration and soldering |
| Light | Meaning |
|---|---|
| Green D1 to D7 | The matching contact is high |
| Red D8 | Selected source is present (power as delivered) |
Still stuck? Read how to ask for help or see the general troubleshooting guide.
| File | What it is |
|---|---|
| Schematic (PDF) | The circuit diagram |
| Parts list (CSV) | Every component with its value, footprint and part number where one is chosen |
| Board drawing (PNG) | The top view used on this page |
| 3D view, top (PNG) | Rendered from the design files |
| 3D view, angled (PNG) | Rendered from the design files |
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 | 95.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 | 95.00 | 55.00 | 3.2 mm, not plated | Mounting, M3 screw |
Every figure is a design value, a calculated or simulated value, or a manufacturer’s data sheet value, as the last column says. A dash means no figure is given.
| Parameter | Applies to | Lower | Nominal | Upper | Basis |
|---|---|---|---|---|---|
| Supply | 3.3 V | — | 3.3 V | — | Design |
| Current per lamp | Contacts 3 to 9 | 0.4 mA | 1.2 mA | 2 mA | Simulated; limits used for the check |
| Total current | All lamps | — | — | 10 mA | Calculated |
| External input | J3 | 0 V | — | 3.3 V | Design |
| Part | Limit | Use on this board |
|---|---|---|
| External input voltage | 3.3 V | Never apply 5 V |
| Controller pin load | About 1.2 mA per lamp | Add any load sharing the pin |
One lamp circuit was simulated with ngspice.
| Result | Simulated value | Limit | Outcome |
|---|---|---|---|
| LED current per pin | 1.17 mA | 400 µA to 2 mA | Within |
Not simulated: brightness and LED colour spread, because no LED part number is fixed.
No data sheet is linked: the LEDs and resistors are generic parts chosen by size and value.
See all boards on the extension boards page.