TFT 1.8" 128×160 (ST7735S)
Behavioral model of the ST7735S (4-wire SPI, mode 0): SWRESET/SLPOUT/DISPON/COLMOD/MADCTL/CASET/RASET/RAMWR/INVON; frame buffer 128×160 RGB565, shown in the UI.
Key data
- Category
- ICs
- Simulation model
- Behavioural mixed-signal model
- Manufacturer part number
- ST7735S 1.8" TFT module
- Reference prefix
- DS
- Pins
- 8
- Land pattern
- PinHeader_1x08_P2.54mm_Vertical
Notes
The model decodes the SPI commands of the ST7735S and keeps the 128 × 160 frame buffer in RGB565. What the firmware draws appears on the symbol and in the live display window.
- Right-click the display and choose "Open live display" for a large view while the simulation runs.
- The pin header parameter sets the order of the 8 module pins on the board. Compare it with your module before you order a board.
- "Mounting" only turns the view; the firmware chooses its drawing direction with MADCTL.
- Many modules need the backlight pin (LED) at the supply, otherwise the display stays dark on the real board.
Simulation model
A behavioural model implements the interface of the chip (registers, protocol, timing) at its pins. The pins are connected to the analog circuit like CMOS pins.
- Model
- st7735_tft
- Supply pins
- VCC / GND
Pins 8
| Pin | Name | Use |
|---|---|---|
| GND | GNDGround pin | Ground |
| VCC | VCCSupply pin | Module supply (3.3 V; many modules accept 5 V through their regulator) |
| SCK | SCKInput pin | SPI clock from the microcontroller |
| SDA | SDA/MOSIInput pin | SPI data from the microcontroller (MOSI); the display sends nothing back |
| RES | RESInput pin | Reset, active low: GPIO or RC to the supply |
| DC | DCInput pin | Data/command select (A0): any GPIO |
| CS | CSInput pin | Chip select, active low: any GPIO |
| LED | LEDInput pin | Backlight: 3.3 V for always on, or a PWM pin (through a transistor for more current) |
Parameters 3
panelmountHow the module sits in the device: landscape = turned 90° clockwise (160 × 128). Only the view turns; the firmware sets MADCTL for its drawing direction.
headerPin order of the 8-pin header of the module used (common red 1.8" module: VCC, GND, CS, RESET, A0, SDA, SCK, LED). Compare with your own module before manufacturing.
PCB
PinHeader_1x08_P2.54mm_VerticalTFT module on a 8-pin header, 2.54 mm pitch (VCC, GND, CS, RES, DC, SDA, SCK, LED) – must match your own module