Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO Controlled ILI9341 Display for Dynamic Graphics

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled ILI9341 Display for Dynamic Graphics

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller and an ILI9341 display. The Arduino UNO serves as the main control unit, while the ILI9341 display is used to render graphics. The two components are interconnected through various pins to facilitate communication and power supply.


Component List

Arduino UNO

ILI9341


Wiring Details

Arduino UNO


Documented Code

/*
  Fingerprint - generating a complex graphics pattern with little code.

  Try changing line 27 and experimenting with the patterns, e.g.:
  tft.drawPixel(x, y, (x + y) * sin(x * y));

  https://wokwi.com/arduino/projects/307567963154678338
*/

#include <Adafruit_ILI9341.h>

#define TFT_CS   10
#define TFT_DC   9
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);

#define WIDTH 320
#define HEIGHT 240

void setup(void) {
  tft.begin();
  tft.setRotation(1);
}

void loop() {
  for (int y = 0; y < HEIGHT; y++) {
    for (int x = 0; x < WIDTH; x++) {
      tft.drawPixel(x, y, x * y);
    }
  }
}

Additional Documentation