Extension board · Controls and displays
A carrier that puts a standard 16-character, two-line LCD on two I2C wires, with backlight switching and a contrast trimmer. Text appears only when your own driver sends it.
| Purpose | Status text near the machine. Not for safety messages |
| Display | 16-pin 2.54 mm module position for a 16 × 2 character LCD; a 20 × 2 module has the same signals but different size and must be cabled |
| Interface | PCF8574 expander at 5 V, level shifted to the 3.3 V bus; 100 kHz maximum; address 0x27, selectable down to 0x20 |
| Backlight | Switched by the expander through 10 Ω; check your module’s own resistor and rating |
| Supply | 5 V for module and backlight, 3.3 V for the bus |
| Connectors | Two Gadgeteer type I sockets (Samtec SHF-105, 1.27 mm) and one Qwiic |
| Size | 110 × 70 mm, four M3 holes on a 100 × 60 mm pattern |
| Works with | Smoothieboard V2 Prime header GG electrically; no firmware driver |
| 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 I IN (J1) — SDA on contact 8, SCL on 9, 5 V on 2.
2Chain socket CHAIN (J2) — Continues the bus.
3Qwiic connector (J3) — The bus on a four-way 3.3 V cable. Qwiic alone does not supply 5 V to the display.
4LCD module position (DS1) — The module solders here with a pin header.
5Contrast trimmer (RV1) — Turn until characters are clearly visible.
6I/O expander (U1) — PCF8574 with the common bit order: RS, R/W, E, backlight, data 4 to 7.
7Level shifters (Q1, Q2) — Connect the 3.3 V bus to the 5 V expander.
8Backlight switch (Q3, R8) — Transistor and series resistor.
9Address links (JP10 to JP12) — Closing a link clears that address bit.
10Pull-up links (JP1, JP2) — Closed as delivered.
11Mounting hole — One of four M3 holes.
Check contact numbering, and the module’s pin 1 position, before applying power.
| Contact | Signal | Use | Prime header GG |
|---|---|---|---|
| 1 | 3.3 V | Bus side supply | 3.3 V |
| 2 | 5 V | Display and backlight | 5 V |
| 3 to 7 | Passed through | Not used | PH2, PH4, PC0, PF15, PH3 |
| 8 | SDA | I2C data | PF0 (I2C2_SDA) |
| 9 | SCL | I2C clock | PF1 (I2C2_SCL) |
| 10 | GND | Ground | GND |
| Module pin | Signal |
|---|---|
| 1, 2 | Ground, 5 V |
| 3 | Contrast from RV1 |
| 4, 5, 6 | RS, R/W, E (expander P0, P1, P2) |
| 11 to 14 | Data 4 to 7 (expander P4 to P7) |
| 15, 16 | Backlight anode (through 10 ohm), cathode (switched by P3) |
Compare its pin order, size, hole positions and backlight rating with the board.
Fit the module to DS1 with a pin header and spacers.
Plug J1 into header GG and power up.
Turn RV1 until a row of faint blocks appears, the sign of an uninitialised module.
Your driver starts the display in 4-bit mode at address 0x27 and writes text.
| You want | Module | Example |
|---|---|---|
| Show text | None | No SmoothieV2 driver for this display backpack |
There is nothing to add to config.ini.
A character display wants parallel signals. The expander turns I2C bytes into the four data lines and three control lines, and uses its eighth output to switch the backlight. It runs from 5 V to suit common modules; two transistors let the 3.3 V bus talk to it safely.
Choose a free address when other PCF8574 devices, such as a keypad, share the bus.
| Link | What it does | As delivered |
|---|---|---|
| JP1 | Connects the SDA pull-up | Closed |
| JP2 | Connects the SCL pull-up | Closed |
| JP8 | Continues SDA | Closed |
| JP9 | Continues SCL | Closed |
| JP10 | Closed subtracts 1 from address 0x27 | Open |
| JP11 | Closed subtracts 2 | Open |
| JP12 | Closed subtracts 4 | Open |
Further I2C devices can follow on J2, each with its own address.
| Contact | Signal | On CHAIN |
|---|---|---|
| 1, 2, 10 | Power and ground | Passed on |
| 3 to 7 | Free | Passed on |
| 8, 9 | I2C | Passed on through closed links |
| Symptom | Likely cause | What to check |
|---|---|---|
| Blank screen | Contrast, no 5 V, or backlight off | Turn RV1; test 5 V; enable backlight |
| Only a row of blocks | Display not initialised | Check address and driver |
| No answer on the bus | Address links or wiring | Test points SDA5, SCL5 |
| Garbled characters | Clock too fast or wrong bit order | Use 100 kHz and the bit order above |
| Backlight dim or hot | Module resistor differs | Check the module backlight rating |
| Light | Meaning |
|---|---|
| Display backlight | Switched on by expander output P3 |
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; the display module model is approximate |
| 3D view, angled (PNG) | Rendered from the design files; the display module model is approximate |
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. Compare the module’s own mounting holes with the part you buy.
| 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 | 65.00 | 3.2 mm, not plated | Mounting, M3 screw |
| 4 | 105.00 | 65.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 |
|---|---|---|---|---|---|
| Supplies | J1 | — | 3.3 V and 5 V | — | Design |
| Module logic current | 5 V | — | — | 4 mA | Module data sheet |
| Backlight current | 5 V | — | — | 80 mA | Estimate from module data |
| I2C clock | U1 | — | — | 100 kHz | PCF8574 data sheet |
| Low level, 5 V side | SDA, SCL | — | 0.04 V | 0.4 V | Simulated |
| Rise time, 5 V side | SDA, SCL | — | 0.41 µs | 1 µs | Simulated |
| Part | Limit | Use on this board |
|---|---|---|
| Backlight | Set by the module | Verify resistor and current for your module |
| Capacitors | 10 V and 16 V | 5 V |
The level shifter was simulated with ngspice.
| Result | Simulated value | Limit | Outcome |
|---|---|---|---|
| Low level on the 5 V side | 43.4 mV | at most 400 mV | Within |
| Rise time on the 5 V side (400 kHz limit 300 ns; module bus 100 kHz limit 1000 ns) | 414 ns | at most 1 µs | Within |
Not simulated: the display module and backlight; the transistor model is generic.
The first page of each data sheet. Click a page to open the PDF.
See all boards on the extension boards page.