Request a quote

Getting started

From a bare panel to your first image.

Everything below is written against a real 1.18" six-colour module (240 × 206, SEC450 driver, 23-pin FPC). The same sequence applies to the rest of the range — the numbers change, the order does not.

Before you wire anything

What the module needs from you.

You supplyValueWhy it matters
Logic supply3.3 V, 200 mA peakThe refresh current spikes for ~2 s. A weak LDO browns out mid-refresh and leaves a half-written frame.
SPI hostUp to 10 MHz, mode 0Mode 0 (CPOL 0, CPHA 0). Mode 3 works on some drivers, not all.
Control pinsCS, DC, RST, BUSYBUSY is an input to you. Poll it, never ignore it.
Decoupling10 µF + 100 nF at the connectorThe charge pump draws in bursts; without local capacitance the rails sag.
Nothing else—VPP, VGH, VGL and the VCOM rails are generated on the driver board. Do not feed them from outside.

Pinout

23 pins, six of which you actually drive.

The FPC carries 23 signals. Grouped by what they do, they stop looking like a wall of names. Pin numbers below follow the 1.18" datasheet; check yours before soldering.

GroupSignalsDirectionWhat to do
SPICSB · DC · SCL · SDAHost → panelStandard 4-wire SPI. DC low = command, high = data.
ControlRST_N · BUSY_NRST out, BUSY inReset is active low, 10 ms minimum. BUSY is active low on some builds, high on others — read the datasheet.
Logic powerVDDD · GND—3.3 V and a solid ground return.
Analog powerVDDA—3.3 V, filtered. Keep away from the SPI lines.
Panel railsVPP · VGH · VGL · VSPH · VSPL · VSPL2 · VSNH · VSNL · VSNL2InternalGenerated by the booster. Measure them only if a refresh fails.
Panel configBS0 · RESEP · GDRP · FPL_VCOM · TFT_VCOMInternalSet by the module; do not drive.

Wiring to three common hosts

ModuleESP32STM32 (SPI1)Arduino UNO
SCLGPIO18PA5D13
SDAGPIO23PA7D11
CSBGPIO5PA4D10
DCGPIO17PA3D9
RST_NGPIO16PA2D8
BUSY_NGPIO4PA1D7
VDDD / GND3V3 / GND3V3 / GND3V3 / GND

Any pin works on ESP32 and STM32 — these are the defaults in our reference code. On the UNO, keep the hardware SPI pins (D11/D13) and put CS on D10.

Initialisation

The eight steps, in order.

Skip one and the panel answers with a blank screen and no error. This is the sequence our driver code runs; timings are for a 1.18" panel and hold for the rest of the E6 range.

01 Power3.3 V up, then wait Apply VDDD and VDDA together, hold RST_N low, wait 10 ms. Do not start SPI before the rails settle.10 ms → 02 ResetA 10 ms low pulse, then 10 ms high RST_N low for at least 10 ms, release, wait another 10 ms before the first command. Shorter pulses work on the bench and fail in a cold room.10 ms / 10 ms → 03 HandshakePoll BUSY until idle Read BUSY before every command that changes the panel. If it never releases within 3 s, stop and check the charge pump capacitors — do not retry in a loop.Poll, never delay → 04 Soft resetCommand 0x12, then wait Issues the internal power-on reset. Wait for BUSY to release again before configuring anything.~10 ms → 05 Panel settingResolution, gate lines, voltage Send the panel configuration block: 240 × 206, scan direction, booster enabled, VCOM value. Every value comes from the datasheet table for your model — this is where copy-pasted code from another size fails.Model specific → 06 Image data4 bits per pixel, packed Two pixels per byte, high nibble first. For 240 × 206 that is 49,440 pixels and exactly 24,141 bytes per frame — the number on every datasheet.24.1 KB per frame → 07 RefreshStart the waveform, wait it out Trigger the display update, then poll BUSY for the full refresh window: about 24 to 26 s for six colours at 25 °C, longer when cold. Cutting it short is the most common cause of a half-drawn frame.~25 s @ 25 °C → 08 SleepDeep sleep between updates Power off the booster and enter deep sleep. The panel holds the image with no power; the driver does not. Leaving it awake costs 0.5 to 2 mA for nothing.< 10 µA in deep sleep →

Refresh modes

A refresh mode is a waveform, not a setting.

ModeWhat it doesTimeUse for
GC16Full update, clears ghosting and rebuilds every colour~25 sEvery image with colour, and every 5th to 10th partial update
GL16Full update with a lighter waveform — faster, slightly less accurate~18 sText-only screens that change often
DUDirect update, moves only the pixels that change~1 sCounters, clocks, anything monochrome and small
A2Two-level flash, highest contrast and speed~0.5 sBlack-on-white UI only. Destroys colour and leaves residue.

A2 and DU do not clear ghosting; they accumulate it. The fix is a policy, not a flag: run GC16 every N partial refreshes, where N is 5 for text and 1 for photographs.

Troubleshooting

Eight failures and what they actually mean.

SymptomMost likely causeCheck this first
Blank screen, no errorBUSY polled wrong (polarity), or the reset pulse was too shortScope RST_N and BUSY. Reset under 10 ms works warm and fails cold.
Half-drawn or torn imageRefresh window cut short, or the supply browned outWait the full ~25 s. Then check 3.3 V with a scope during refresh, not a multimeter.
Wrong colours, invertedNibble order or bit packingHigh nibble is the left pixel. Convert with the palette tool, do not hand-pack.
Faint ghost of the last frameToo many partial updates without a GC16Add a counter: full refresh every 5 updates. Warm panels hide it; cold ones do not.
BUSY never releasesCharge pump capacitors missing or wrong valueCompare the driver board against the reference schematic; a missing 1 µF stops the booster.
Random pixels after power cycleDriver left awake, or VCOM never writtenWrite the panel setting block every power-up. Deep sleep does not keep VCOM.
Works at 25 °C, fails at 0 °CWaveform is temperature-compensated; yours is not0–50 °C means specified at 0, not comfortable there. Refresh times roughly double near the limit.
Lines or dead columns after handlingFPC bent past its radius, or the connector latch was forcedThe FPC is not a cable. Support it, never fold it, and open the latch before pulling.

If the panel is cold and the image is weak, warm it before blaming the code: below 10 °C the pigments move slowly and no waveform fixes that.

What you get from us

The code that already does all of this.

  • Driver code in C for ESP32 and STM32, with the eight steps above in one file
  • Palette converter: PNG to the panel's 4-bit packed format, with test patterns
  • FPC drawing, STEP model and the reference schematic for the driver board
  • Test record by serial number with every shipment
Ask for the model you are using.

Send the size and the host chip, and we reply with the matching code, pin table and datasheet — usually the same day.

Request the driver code All documents