Display SD JPG ILI9341 TFT

If you are not familiar with SPI, please read Introduction to SPI first.

Materials

  • AMB82-mini x 1

  • ILI9341 TFT LCD with SPI interface x 1

  • microSD card x 1

Example

Common pins in ILI9341 TFT LCD with SPI interface:

  • MOSI: Standard SPI Pin

  • MISO: Standard SPI Pin

  • SLK: Standard SPI Pin

  • CS: Standard SPI Pin

  • RESET: Used to reboot LCD.

  • D/C: Data/Command. When it is at LOW, the signal transmitted are commands, otherwise the data transmitted are data.

  • LED (or BL): Adapt the screen backlight. Can be controlled by PWM or connected to VCC for 100% backlight.

  • VCC: Connected to 3V or 5V, depends on its spec.

  • GND: Connected to GND.

AMB82 MINI and QVGA TFT LCD Wiring Diagram:

../../../_images/image0158.png

Open the example, “File” -> “Examples” -> “AmebaSPI” -> “DisplaySDJPG_ILI9341_TFT”

../../../_images/image0257.png

Modify the file name according to the image saved name.

../../../_images/image0351.png

Compile and upload to Ameba, then press the reset button.

Then, you can see the image displayed on the LCD screen.