Extension board · Indicators

Seven-LED GPIO board

Seven indicator LEDs, one per header signal, for watching outputs on the bench.

Top view of the Seven-LED GPIO board board
Top view drawn from the original board file. This is a drawing, not a photograph.
7LEDs
1 kΩper LED
active highlogic
1header
47.5 × 11.5 mmboard size
2mounting holes
These LEDs light when the output is high, the opposite of the current LED breakout. The host pin powers each LED, so check its current budget. This is a design by Chris Cecil, not a current Smoothieware board.

Tech specs

FunctionSeven-channel indicator
HeaderJ1 (underside)
SignalsContacts 3–9
GroundContact 10
Size47.55 × 11.55 mm

Board tour

  1. 1
    D1 (contact 3) — First channel.
  2. 2
    D4 (contact 6) — Middle channel.
  3. 3
    D7 (contact 9) — Last channel.
  4. 4
    LED D2 — LED D2, marked LED in the board file. Connects to GND.
  5. 5
    Resistor R1 — Resistor R1, marked 1k in the board file.
  6. 6
    LED D3 — LED D3, marked LED in the board file. Connects to GND.
  7. 7
    LED D5 — LED D5, marked LED in the board file. Connects to GND.
  8. 8
    LED D6 — LED D6, marked LED in the board file. Connects to GND.
Point at a number, or tap it, to read what the part is; the same text is in the list. On a small screen, scroll the drawing sideways.

Lights

LightLit meansDisable it
D1–D7Header contacts 3–9 (D1 = contact 3) are highDisconnect that signal

Pinout

Header J1

J1 contactConnected to
1+3V3
2+5V
3LED D1
4LED D2
5LED D3
6LED D4
7LED D5
8LED D6
9LED D7
10GND

What you need

LED boardBuilt from the design files
Two leadsSignal and ground

Get started

A one-channel test on Smoothieboard V2 Prime.

Wiring: controller contact 3 to J1 contact 3; controller contact 10 to J1 contact 10.Prime header J37J1 on this boardSmoothieboardV2 Prime33 LED D13 to 3: LED D11010 GND10 to 10: GND
Wiring for this procedure. Yellow rings mark the connectors used. Make and change connections with the power off.
  1. Wire two leads

    With power off connect J37 contact 3 (PB1) to J1.3 and J37 contact 10 to J1.10. Leave the other contacts open.

  2. Configure

    Add the switch from Configuration and restart.

    D1 is dark.

  3. Switch it

    Send M106.9, then M107.9.

    D1 lights, then goes out.

Configuration

See switch. Syntax checked against firmware commit 2a21c0108b1d095ecd8b2b9358e94055f053c003.

[switch]
historical_led.enable = true
historical_led.input_on_command = M106
historical_led.input_off_command = M107
historical_led.subcode = 9
historical_led.output_pin = PB1
historical_led.output_type = digital
historical_led.startup_state = false
historical_led.halt_set_to = false

How it works

Header contact 3 drives D1 through a 1 kΩ resistor to ground, and so on up to contact 9 and D7. The 3.3 V and 5 V contacts do not power the LEDs.

Header contact 3 to 9 then 1 kΩ resistor each then LEDs D1 to D7 then Ground.Header contact 3 to 91 kΩ resistor eachLEDs D1 to D7Ground
How the signals pass through this board.

Troubleshooting

SymptomCheck
Nothing respondsWith power off, check continuity along each lead and board path against the pinout tables. Confirm which end of the connector is contact 1.
LED stays darkMeasure that the signal goes high and that the lead reaches the right contact.
LED is on when expected offDo not use pin inversion with this board.

Still stuck? Read how to ask for help or see the general troubleshooting guide.

Downloads

FileWhat it is
upstream project filesDesign source
original circuitDesign source
Ccecil upstream projectDesign source
Original LED_Breakout.kicad_schDesign source
Original README.mdDesign source
V2 digital-switch implementationDesign source

Appendix: mounting dimensions

Outline and holes from the original board file. Millimetres, seen from the component side.

Mounting drawing of the historical-seven-led-breakout, component side: outline 47.55 by 11.55 millimetres with 2 mounting holes. Hole positions are listed in the table below. COMPONENT SIDE · millimetres 47.55 11.55 0, 0 X Y 1 3.80, 5.65 2 43.80, 5.65 Numbered rings are mounting holes. Positions are hole centres, X then Y, from the marked corner.
Board outline 47.55 × 11.55 mm, square corners, board thickness 1.6 mm. Drawn from the design files, component side up, in the same orientation as the board tour.
HoleX (mm)Y (mm)DiameterUse
13.805.653.2 mm, not platedMounting, M3 screw
243.805.653.2 mm, not platedMounting, M3 screw

Appendix: electrical specifications

Only what the design source states or the circuit fixes. Blank cells are not specified.

ParameterApplies toLowerNominalUpperBasis and conditions
LED series resistanceEach channel—1 kΩ—Design file value

Design source

Designed by Chris Cecil: original design files. It was drawn for the Smoothieboard V2 Gadgeteer era; check every connection against your own controller. See all boards on the extension boards page.

This is a wiki! If you'd like to improve this page, you can edit it on GitHub.