Initial: knowledge base

This commit is contained in:
2026-08-05 17:25:09 +08:00
parent bfabe83832
commit 5700eb4115
35 changed files with 5140 additions and 11 deletions
+90
View File
@@ -0,0 +1,90 @@
# Waveshare Reference Documentation
> **类别:reference** | **主题:Waveshare 微雪电子模块文档** | **信源:** [Waveshare Wiki](https://www.waveshare.com/wiki/)
Reference documentation for Waveshare ESP32 display products. Used by AI agents for hardware configuration, driver selection, and firmware development.
## Directory Structure
```
waveshare/
├── README.md (this file)
├── common/
│ ├── display-controllers.md Display controller ICs
│ ├── touch-controllers.md Touch controller ICs
│ └── interfaces.md Hardware interfaces and wiring
├── dev-boards/ ESP32 development boards with integrated displays
│ └── (board-specific reference files)
└── lcd-boards/ Standalone LCD/touch modules
└── (module-specific reference files)
```
## Common Reference Files
### [Display Controllers](common/display-controllers.md)
All display controller ICs used across Waveshare products:
- ST7735SMax Resolution=162x132, Interface=SPI, Typical Size=0.96"-1.8"
- ST7789VMax Resolution=320x240, Interface=SPI, Typical Size=1.3"-2.4"
- ILI9341Max Resolution=320x240, Interface=SPI, 8080, Typical Size=2.0"-3.2"
- ILI9488Max Resolution=480x320, Interface=SPI (18-bit), 8080, Typical Size=3.5"
- GC9A01Max Resolution=240x240, Interface=SPI, Typical Size=1.28" round
- GC9503Max Resolution=480x480, Interface=RGB + SPI init, Typical Size=3.4"-4.0"
- ST7701SMax Resolution=480x480, Interface=RGB + SPI init, Typical Size=4.0" round/square
- EK9716BMax Resolution=1024x600, Interface=RGB, Typical Size=7"+
- JD9365Max Resolution=800x1280, Interface=MIPI-DSI, Typical Size=7"+ portrait
- NV3041AMax Resolution=480x272, Interface=QSPI, 8080, Typical Size=compact
Includes: register maps, init sequences, MADCTL rotation values, LVGL driver mapping, buffer strategies.
### [Touch Controllers](common/touch-controllers.md)
All touch controller ICs used across Waveshare products:
- XPT2046Type=Resistive, Interface=SPI, Address=N/A, Multi-Touch=No
- CST816SType=Capacitive, Interface=I2C, Address=0x15, Multi-Touch=No
- FT6336Type=Capacitive, Interface=I2C, Address=0x38, Multi-Touch=2 points
- GT911Type=Capacitive, Interface=I2C, Address=0x5D/0x14, Multi-Touch=5 points
- FT5x06Type=Capacitive, Interface=I2C, Address=0x38, Multi-Touch=5 points
- CST328Type=Capacitive, Interface=I2C, Address=0x1A, Multi-Touch=5 points
Includes: register maps, gesture IDs, calibration (XPT2046), interrupt behavior, LVGL integration patterns.
### [Interfaces](common/interfaces.md)
Hardware interface patterns and wiring:
- SPI (4-wire)Throughput=80 Mbps, Pins=5-6, Use Case=Small-mid displays
- I2CThroughput=3.2 Mbps, Pins=2, Use Case=Touch, small OLEDs
- 8080 ParallelThroughput=160 Mbps, Pins=12-13, Use Case=Mid displays
- RGB ParallelThroughput=400+ Mbps, Pins=22-32, Use Case=Large displays
- QSPIThroughput=320 Mbps, Pins=7-8, Use Case=Mid displays, fewer pins
- MIPI-DSIThroughput=4+ Gbps, Pins=10, Use Case=Very large displays
Includes: voltage regulators, backlight control (PWM/GPIO), ESP32 variant support matrix, pin mapping patterns.
## Quick Lookup
### By Display Size
- 0.96"-1.8"Controller=ST7735S, Touch=None or CST816S, Interface=SPI, ESP32 Variant=Any
- 1.28" roundController=GC9A01, Touch=CST816S, Interface=SPI, ESP32 Variant=Any
- 1.3"-2.4"Controller=ST7789V, Touch=None or CST816S, Interface=SPI, ESP32 Variant=Any
- 2.4"-3.2"Controller=ILI9341, Touch=XPT2046, Interface=SPI, ESP32 Variant=Any
- 3.5"Controller=ILI9488, Touch=XPT2046 or FT5x06, Interface=SPI/8080, ESP32 Variant=ESP32-S3 preferred
- 4.0" squareController=GC9503/ST7701S, Touch=GT911, Interface=RGB, ESP32 Variant=ESP32-S3 (PSRAM)
- 4.0" roundController=ST7701S, Touch=CST816S/GT911, Interface=RGB, ESP32 Variant=ESP32-S3 (PSRAM)
- 7.0"+Controller=EK9716B, Touch=GT911, Interface=RGB, ESP32 Variant=ESP32-S3 (Octal PSRAM)
- 7.0"+ MIPIController=JD9365, Touch=GT911, Interface=MIPI-DSI, ESP32 Variant=ESP32-P4
### By ESP32 Variant
- ESP32Supported Interfaces=SPI, Max Practical Display=320x240 (SPI)
- ESP32-S2Supported Interfaces=SPI, 8080, Max Practical Display=480x320 (8080)
- ESP32-S3Supported Interfaces=SPI, 8080, RGB, QSPI, Max Practical Display=1024x600 (RGB)
- ESP32-C3Supported Interfaces=SPI, Max Practical Display=240x240 (SPI)
- ESP32-C6Supported Interfaces=SPI, Max Practical Display=240x240 (SPI)
- ESP32-P4Supported Interfaces=SPI, 8080, RGB, QSPI, MIPI-DSI, Max Practical Display=800x1280 (MIPI-DSI)
---