From 479947bb4eccc1cbe209fd3190fca8a1dd5a683d Mon Sep 17 00:00:00 2001 From: peterhinch Date: Fri, 27 Jan 2023 14:20:26 +0000 Subject: [PATCH] Improve docs of ILI9486. --- DISPLAYS.md | 2 ++ DRIVERS.md | 15 ++++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/DISPLAYS.md b/DISPLAYS.md index 53e194f..03d3c25 100644 --- a/DISPLAYS.md +++ b/DISPLAYS.md @@ -31,6 +31,7 @@ Width and height are pixels. | 1.14C | 240 | 135 | TFT | [ST7789][5d] | [Pimoroni pico 1.14][23m] | For Pi Pico. Buttons good for micro-gui | | 3.2C | 320 | 240 | TFT | [ILI9341][6d] | [Adafruit 1743][12m] | Big display. eBay equivalents work here. | | 3.5C | 480 | 320 | TFT | [ILI9486][12d]| [Waveshare Rpi 3.5 LCD][22m]| Pi HAT. Many pixels. Needs plenty of RAM. | +| 3.5C | 480 | 320 | TFT | [ILI9486][12d]| [Adafruit 3.5 LCD][24m] | 3.5" HX8357D display, notes as above. | | 2.9M | 296 | 128 | eInk | [UC8151D][7d] | [Adafruit 4262][13m] | Flexible ePaper display | | 2.9M | 296 | 128 | eInk | [UC8151D][7d] | [Adafruit 4777][15m] | FeatherWing ePaper display | | 4.2M | 400 | 300 | eInk | [WS][10d] | [Waveshare pico 4.2][19m] | Pico, Pico W plug in. Other hosts via cable | @@ -116,4 +117,5 @@ simple. See [this doc](./DRIVERS.md#7-writing-device-drivers) for details. [21m]: https://www.seeedstudio.com/Grove-OLED-Display-1-12.html?queryID=080778ddd8f54df96ca0e016af616327&objectID=1763&indexName=bazaar_retailer_products [22m]: https://www.waveshare.com/product/3.5inch-rpi-lcd-a.htm [23m]: https://shop.pimoroni.com/products/pico-display-pack?variant=32368664215635 +[24m]: https://www.adafruit.com/product/2050 diff --git a/DRIVERS.md b/DRIVERS.md index 6eb604b..31032bd 100644 --- a/DRIVERS.md +++ b/DRIVERS.md @@ -40,7 +40,7 @@ access via the `Writer` and `CWriter` classes is documented      3.3.2 [Waveshare Pico Res Touch](./DRIVERS.md#332-waveshare-pico-res-touch)      3.3.3 [Waveshare Pico LCD 2](./DRIVERS.md#333-waveshare-pico-lcd-2)      3.3.4 [Troubleshooting](./DRIVERS.md#334-troubleshooting) - 3.4 [3.4 Driver for ILI94xx](./DRIVERS.md#34-driver-for-ili94xx) Generic ILI94xx driver for large displays. + 3.4 [Driver for ILI94xx](./DRIVERS.md#34-driver-for-ili94xx) Generic ILI94xx and HX8357D driver for large displays. 4. [Drivers for sharp displays](./DRIVERS.md#4-drivers-for-sharp-displays) Large low power monochrome displays 4.1 [Display characteristics](./DRIVERS.md#41-display-characteristics)      4.1.1 [The VCOM bit](./DRIVERS.md#411-the-vcom-bit) @@ -636,6 +636,8 @@ If your display shows garbage, check the following (I have seen both): * `height` and `width` not matching the choice of `LANDSCAPE` or `PORTRAIT` display mode. +###### [Contents](./DRIVERS.md#contents) + ## 3.4 Driver for ILI94xx This was developed for the ILI9486 but its application is more wide ranging. @@ -659,7 +661,9 @@ ILI9341 and HX8357D have been tested. It may work with ILI9488. ##### Generic display wiring -Testing was done with a Pico, using the following setup files: +Testing was done with a Pico and an +[Adafruit 3.5inch display]( https://www.adafruit.com/product/2050), using the +following setup files: [nanogui setup](https://github.com/peterhinch/micropython-nano-gui/blob/master/setup_examples/ili9486_pico.py) and [microgui setup](https://github.com/peterhinch/micropython-micro-gui/blob/main/setup_examples/ili9486_pico.py). These use the following pinout: @@ -676,12 +680,13 @@ These use the following pinout: | 14 | 10 | CS | | Please check the power requirements of the display board, which may require a -5V or a 3.3V supply. +5V or a 3.3V supply. The Adafruit board can accept either. ##### Waveshare PI HAT wiring -This shows the Raspberry Pi connector looking at the underside of the board -with the bulk of the board to the right. This was tested with a Pi Pico. +Setup files are as per the generic display. The table shows the Raspberry Pi +connector looking at the underside of the board with the bulk of the board to +the right. It was tested with a Pi Pico. Connections may be adapted for other MicroPython targets. The board may be powered from 5V or 3.3V: there is a regulator on board.