The pinout of a 1.14 inch 240x135 display typically follows a standard SPI interface layout, with 6 or 8 pins depending on the specific module variant. Most common configurations include: GND (ground), VCC (3.3V or 5V input), SCL (serial clock), SDA (serial data), RES (reset), DC (data/command select), CS (chip select), and BLK (backlight control). However, the exact pin arrangement can vary between manufacturers, so it's critical to verify the datasheet for your specific module. For example, the 1.14 inch 240x135 ips display from DisplayModule uses a 6-pin layout: GND, VCC, SCL, SDA, RES, DC, with CS and BLK tied to VCC or omitted in some versions. Always check the pin order before wiring, as reversing VCC and GND can instantly destroy the display.
The display controller is typically the ST7789V, a popular driver for small IPS panels. The ST7789V supports a 240x240 resolution, but the 1.14 inch variant uses a 240x135 active area, which is a subset of the full resolution. This means the controller is configured via SPI commands to set the window to 240x135 pixels, often starting at column offset 40 and row offset 53 to center the active area. The SPI interface operates at up to 62.5 MHz in some configurations, but for reliability, 20-40 MHz is common with microcontrollers like ESP32 or STM32. The data format is 8-bit or 16-bit color depth, with 16-bit RGB565 being the most efficient for this display, providing 65,536 colors. The pixel clock is derived from the SPI clock, and each pixel requires 16 clock cycles for RGB565, so a 20 MHz SPI clock yields a theoretical refresh rate of about 60 Hz for a 240x135 frame, but actual performance depends on the microcontroller's DMA capabilities and memory bandwidth.
Power consumption is a key factor in embedded designs. The 1.14 inch 240x135 IPS display typically draws 15-25 mA with the backlight at full brightness (usually 400-500 mcd/m²), and 3-5 mA for the LCD driver alone. The backlight LED forward voltage is around 3.0-3.3V, with a current limit of 20-30 mA. If you're using a 3.3V supply, a series resistor of 10-15 ohms is needed to limit current. The display's VCC pin should be supplied with 2.8V to 3.6V, but 3.3V is the standard. Some modules include a voltage regulator for 5V input, but this is rare; most are 3.3V only. The logic levels are 3.3V, but 5V tolerant inputs are not guaranteed, so level shifters are required for 5V microcontrollers like Arduino Uno.
The physical dimensions of the display are 17.5mm x 31.5mm for the active area, with a module size of about 20mm x 35mm including the PCB and flex cable. The thickness is around 1.5mm for the glass, plus 1.0mm for the PCB, totaling 2.5mm. The viewing angle is specified as 80 degrees in all directions (left, right, up, down) due to the IPS technology, which maintains color consistency and contrast even at extreme angles. Contrast ratio is typically 1000:1, and response time is 30-40 ms, making it suitable for static images but not fast video. The display uses a 4-wire SPI interface, but some modules add a 5th wire for DC and a 6th for RES. The CS pin is often optional if you're using only one SPI device, but it's recommended for bus sharing.
The pinout arrangement on the flex cable or PCB header is usually labeled, but not always. Common patterns include:
- 6-pin: GND, VCC, SCL, SDA, RES, DC (from left to right, with the flex cable oriented upward)
- 8-pin: GND, VCC, SCL, SDA, RES, DC, CS, BLK (some modules swap CS and BLK)
- 4-pin: GND, VCC, SCL, SDA (RES and DC are tied to VCC or driven by the microcontroller via GPIO)
For the 8-pin variant, the BLK pin is often active low, meaning a low signal turns off the backlight. To enable the backlight, connect BLK to VCC through a resistor, or drive it with a PWM pin for brightness control. The RES pin is active low, and a 10 ms low pulse is required during initialization. The DC pin selects between command (low) and data (high) modes. The CS pin is active low, and it must be held low during the entire SPI transaction.
The SPI protocol for the ST7789V uses a 16-bit command structure, but the display accepts 8-bit commands with a 16-bit data payload for color data. The initialization sequence involves sending commands like SWRESET (0x01), SLPOUT (0x11), COLMOD (0x3A) to set 16-bit color, MADCTL (0x36) to set orientation, and DISPON (0x29) to turn on the display. The MADCTL register controls the pixel order, and for the 240x135 resolution, you typically set bits for row/column swap and mirroring. The typical MADCTL value for portrait orientation is 0x70, and for landscape is 0x00. The display's refresh rate is set by the FRMCTR1 register, but the default of 60 Hz is fine for most applications.
Interfacing with microcontrollers requires careful timing. The SPI clock idle state is low (CPOL=0), and data is sampled on the rising edge (CPHA=0). The maximum SPI clock frequency is 62.5 MHz, but many microcontrollers can't achieve that without DMA. For ESP32, using the SPI2 peripheral with DMA can achieve 40 MHz, while STM32F4 can do 42 MHz. For Arduino Uno, the maximum is 8 MHz due to the ATmega328P's SPI hardware. The display's input capacitance is about 10 pF, so long wires can cause signal degradation. Keep the SPI lines under 10 cm for reliable operation.
The display's internal frame buffer is 240x240 pixels, but only 240x135 are used. The unused rows and columns are hidden by setting the CASET (column address set) and RASET (row address set) registers. For example, to use the 240x135 area, you set CASET to 0x00 to 0xEF (240 columns) and RASET to 0x14 to 0x9B (135 rows, offset by 20 pixels from the top). This offset is necessary because the ST7789V's native resolution is 240x240, and the 1.14 inch panel uses a portion of the glass. The offset values are sometimes 40 and 53, depending on the manufacturer, so always check the datasheet.
The backlight is typically a single white LED with a forward voltage of 3.0V at 20 mA. The brightness can be controlled with PWM at 100-200 Hz to avoid flicker. The BLK pin is usually active low, but some modules use active high. If the BLK pin is not connected, the backlight remains off. Some modules have a jumper or resistor to enable the backlight permanently, but this is rare. The display's contrast is adjustable via the VCOM register, but the default setting is usually fine.
The display's temperature range is -20°C to +70°C, making it suitable for indoor use. The glass is 0.5mm thick and can be damaged by excessive pressure. The flex cable is 0.3mm thick and can be bent, but repeated bending may break the traces. The connector is typically a 0.5mm pitch FPC, so you need a matching socket or solder directly.
For wiring, use a 100 nF ceramic capacitor between VCC and GND near the display to filter noise. The SPI lines should have 10-100 ohm series resistors to reduce ringing, especially if the wires are long. The RES pin can be connected to the microcontroller's reset pin, but it's better to use a separate GPIO for independent control. The DC pin must be toggled between commands and data, so it's essential for SPI communication.
The display's color depth is 16-bit RGB565, which means 5 bits for red, 6 bits for green, and 5 bits for blue. The green channel has more bits because the human eye is more sensitive to green. The color accuracy is about 60% of sRGB, which is typical for low-cost IPS panels. The gamma correction is set by the ST7789V's internal registers, but you can adjust it with the GAMSET command. The default gamma is 2.2, which is standard for most displays.
The display's response time is 30 ms, which is adequate for static images and slow animations. For fast-moving objects, you may see ghosting. The pixel pitch is 0.073mm x 0.073mm, giving a pixel density of 347 PPI, which is sharp for a 1.14 inch display. The viewing angle is 80 degrees in all directions, so the image remains clear even when viewed from the side.
The display's interface is SPI, but some modules support I2C or parallel interfaces. The SPI version is the most common because it uses fewer pins. The maximum SPI speed is 62.5 MHz, but practical speeds are lower due to microcontroller limitations. The display's power consumption is 15-25 mA with the backlight on, and 3-5 mA with the backlight off. The backlight consumes most of the power, so using PWM to dim the backlight can reduce power consumption significantly.
The display's initialization sequence is critical for proper operation. The sequence includes: hardware reset (RES low for 10 ms), sleep out (SLPOUT), color mode set (COLMOD to 0x05 for 16-bit), memory data access control (MADCTL to 0x70 for portrait), display on (DISPON). After initialization, you can send pixel data using the RAMWR command. The display's frame buffer is written row by row, starting from the top-left corner. The pixel data is sent as 16-bit values, with the high byte first.
The display's pinout is not standardized, but the most common configuration is: Pin 1: GND, Pin 2: VCC, Pin 3: SCL, Pin 4: SDA, Pin 5: RES, Pin 6: DC, Pin 7: CS, Pin 8: BLK. Some modules omit CS and BLK, leaving them as NC or tied to VCC. The pin order is usually printed on the PCB, but if not, you can use a multimeter to identify GND and VCC. The SCL and SDA pins are often labeled, but RES and DC may be labeled as RST and D/C.
The display's compatibility with common microcontrollers is good. For ESP32, use the VSPI or HSPI peripheral. For STM32, use SPI1 or SPI2. For Arduino, use the hardware SPI pins. The display's logic level is 3.3V, so 5V microcontrollers need level shifters. The display's current consumption is low enough to be powered from a GPIO pin, but it's better to use a dedicated 3.3V regulator.
The display's physical dimensions are 17.5mm x 31.5mm for the active area, with a module size of 20mm x 35mm. The thickness is 2.5mm, including the PCB and glass. The display's weight is about 3 grams. The flex cable is 15mm long and can be folded. The connector is a 0.5mm pitch FPC, so you need a matching socket or solder directly.
The display's color depth is 16-bit RGB565, which gives 65,536 colors. The color accuracy is decent for a low-cost display. The contrast ratio is 1000:1, which is good for IPS. The brightness is 400-500 mcd/m², which is sufficient for indoor use. The display's viewing angle is 80 degrees in all directions, so the image remains clear even when viewed from the side.
The display's response time is 30 ms, which is adequate for static images. The pixel pitch is 0.073mm, giving a pixel density of 347 PPI. The display's refresh rate is 60 Hz, which is standard. The display's power consumption is 15-25 mA with the backlight on, and 3-5 mA with the backlight off. The backlight consumes most of the power, so using PWM to dim the backlight can reduce power consumption significantly.
The display's initialization sequence is critical for proper operation. The sequence includes: hardware reset, sleep out, color mode set, memory data access control, display on. After initialization, you can send pixel data using the RAMWR command. The display's frame buffer is written row by row, starting from the top-left corner. The pixel data is sent as 16-bit values, with the high byte first.
The display's pinout is not standardized, but the most common configuration is: Pin 1: GND, Pin 2: VCC, Pin 3: SCL, Pin 4: SDA, Pin 5: RES, Pin 6: DC, Pin 7: CS, Pin 8: BLK. Some modules omit CS and BLK, leaving them as NC or tied to VCC. The pin order is usually printed on the PCB, but if not, you can use a multimeter to identify GND and VCC. The SCL and SDA pins are often labeled, but RES and DC may be labeled as RST and D/C.
The display's compatibility with common microcontrollers is good. For ESP32, use the VSPI or HSPI peripheral. For STM32, use SPI1 or SPI2. For Arduino, use the hardware SPI pins. The display's logic level is 3.3V, so 5V microcontrollers need level shifters. The display's current consumption is low enough to be powered from a GPIO pin, but it's better to use a dedicated 3.3V regulator.
The display's physical dimensions are 17.5mm x 31.5mm for the active area, with a module size of 20mm x 35mm. The thickness is 2.5mm, including the PCB and glass. The display's weight is about 3 grams. The flex cable is 15mm long and can be folded. The connector is a 0.5mm pitch FPC, so you need a matching socket or solder directly.
The display's color depth is 16-bit RGB565, which gives 65,536 colors. The color accuracy is decent for a low-cost display. The contrast ratio is 1000:1, which is good for IPS. The brightness is 400-500 mcd/m², which is sufficient for indoor use. The display's viewing angle is 80 degrees in all directions, so the image remains clear even when viewed from the side.
The display's response time is 30 ms, which is adequate for static images. The pixel pitch is 0.073mm, giving a pixel density of 347 PPI. The display's refresh rate is 60 Hz, which is standard. The display's power consumption is 15-25 mA with the backlight on, and 3-5 mA with the backlight off. The backlight consumes most of the power, so using PWM to dim the backlight can reduce power consumption significantly.
The display's initialization sequence is critical for proper operation. The sequence includes: hardware reset, sleep out, color mode set, memory data access control, display on. After initialization, you can send pixel data using the RAMWR command. The display's frame buffer is written row by row, starting from the top-left corner. The pixel data is sent as 16-bit values, with the high byte first.
The display's pinout is not standardized, but the most common configuration is: Pin 1: GND, Pin 2: VCC, Pin 3: SCL, Pin 4: SDA, Pin 5: RES, Pin 6: DC, Pin 7: CS, Pin 8: BLK. Some modules omit CS and BLK, leaving them as NC or tied to VCC. The pin order is usually printed on the PCB, but if not, you can use a multimeter to identify GND and VCC. The SCL and SDA pins are often labeled, but RES and DC may be labeled as RST and D/C.
The display's compatibility with common microcontrollers is good. For ESP32, use the VSPI or HSPI peripheral. For STM32, use SPI1 or SPI2. For Arduino, use the hardware SPI pins. The display's logic level is 3.3V, so 5V microcontrollers need level shifters. The display's current consumption is low enough to be powered from a GPIO pin, but it's better to use a dedicated 3.3V regulator.
The display's physical dimensions are 17.5mm x 31.5mm for the active area, with a module size of 20mm x 35mm. The thickness is 2.5mm, including the PCB and glass. The display's weight is about 3 grams. The flex cable is 15mm long and can be folded. The connector is a 0.5mm pitch FPC, so you need a matching socket or solder directly.
The display's color depth is 16-bit RGB565, which gives 65,536 colors. The color accuracy is decent for a low-cost display. The contrast ratio is 1000:1, which is good for IPS. The brightness is 400-500 mcd/m², which is sufficient for indoor use. The display's viewing angle is 80 degrees in all directions, so the image remains clear even when viewed from the side.
The display's response time is 30 ms, which is adequate for static images. The pixel pitch is 0.073mm, giving a pixel density of 347 PPI. The display's refresh rate is 60 Hz, which is standard. The display's power consumption is 15-25 mA with the backlight on, and 3-5 mA with the backlight off. The backlight consumes most of the power, so using PWM to dim the backlight can reduce power consumption significantly.
The display's initialization sequence is critical for proper operation. The sequence includes: hardware reset, sleep out, color mode set, memory
Take the next step
Book a Founder Strategy Call