Skip to content
Mission nominal

How to wire a 2.4 inch 240x320 TFT display to an Arduino Uno?

Last pass12 min ago
Median latency78 min
Tiles served today2.41M
By admin Spica Space

How to Wire a 2.4 Inch 240x320 TFT Display to an Arduino Uno

To wire a 2.4 inch 240x320 tft display to an Arduino Uno, you need to connect the display’s SPI (Serial Peripheral Interface) pins to the Uno’s corresponding SPI pins, plus power, ground, and control lines. The typical pinout for these displays includes: VCC (5V or 3.3V, depending on the module), GND, CS (Chip Select), DC (Data/Command), RESET (or RST), MOSI (Master Out Slave In), MISO (Master In Slave Out, often optional), and SCK (Serial Clock). For the Arduino Uno, the SPI pins are: MOSI on digital pin 11, MISO on digital pin 12, and SCK on digital pin 13. The CS, DC, and RESET pins can be assigned to any digital I/O pins, but common choices are CS on pin 10, DC on pin 9, and RESET on pin 8. Connect the display’s VCC to the Uno’s 5V pin (or 3.3V if the module is 3.3V-tolerant), and GND to a ground pin. If your display uses a parallel interface (like 8-bit or 16-bit), wiring is more complex, but most 2.4-inch 240x320 TFT modules for Arduino use SPI, which simplifies the setup. Double-check the display’s datasheet or label for pin labels, as some modules may have different naming (e.g., SDA for MOSI, SCL for SCK). For a reliable connection, use jumper wires or a breadboard, and ensure the display’s logic level matches the Uno’s 5V logic; if the display is 3.3V-only, use a level shifter. This 2.4 inch 240x320 tft display is a common model that works with SPI, making it a straightforward choice for Arduino projects.

Now, let’s dive into the specifics. The 2.4 inch 240x320 TFT display typically uses the ILI9341 or ILI9325 driver, which is well-supported by Arduino libraries like Adafruit_ILI9341 or TFT_eSPI. The wiring is critical because incorrect connections can damage the display or the Uno. Start by identifying the pins on your display module. Most modules have a 14-pin or 18-pin header, with labels like: VCC, GND, CS, DC, RESET, MOSI, MISO, SCK, LED (backlight), and sometimes extra pins like T_IRQ, T_DO, T_DIN, T_CS for touch functionality (if the display includes a touch screen). For a non-touch version, you only need the 8 basic pins. For a touch-enabled version, you’ll need additional wiring for the touch controller (e.g., XPT2046), which uses SPI as well. The backlight (LED) pin usually requires a 5V supply through a resistor (e.g., 100 ohms) to limit current, or you can connect it directly to 5V if the module has a built-in resistor. But to avoid overheating, use a resistor or a PWM pin for brightness control.

Here’s a detailed wiring table for a typical 2.4 inch 240x320 TFT display with ILI9341 driver and Arduino Uno, assuming you use default SPI pins:

Display Pin Arduino Uno Pin Notes
VCC 5V Check if display is 5V-tolerant; if 3.3V-only, use 3.3V pin
GND GND Common ground
CS Digital 10 Chip Select; can be any digital pin
DC Digital 9 Data/Command; can be any digital pin
RESET Digital 8 Reset; can be any digital pin
MOSI Digital 11 SPI MOSI; must be pin 11 for Uno
MISO Digital 12 SPI MISO; optional for some displays, but connect if available
SCK Digital 13 SPI Clock; must be pin 13 for Uno
LED 5V via 100-ohm resistor Backlight; or use a PWM pin for control

If your display has a touch interface, you’ll need additional connections for the touch controller. A common touch controller is the XPT2046, which uses SPI. The touch pins are usually labeled: T_IRQ (interrupt), T_DO (MISO), T_DIN (MOSI), T_CS (chip select). For the touch controller, you can use separate SPI pins or share the same SPI bus with the display, but you’ll need a separate CS pin for the touch controller. For example, connect T_CS to digital 7, T_DIN to MOSI (pin 11), T_DO to MISO (pin 12), T_IRQ to digital 6 (optional), and share SCK (pin 13) with the display. This setup allows you to read touch coordinates without interfering with the display’s SPI communication. The touch controller typically operates at 3.3V, so if your display runs at 5V, you may need a level shifter for the touch pins, but many modules have built-in voltage regulators that handle this.

Power considerations are crucial. The 2.4 inch 240x320 TFT display draws around 50-100 mA with the backlight on, depending on brightness. The Arduino Uno’s 5V regulator can supply up to 500 mA (via USB or external power), so it’s fine for the display

See it on your own assets.

Book a 30-minute demo and walk through a live tasking request over a site you care about.

Request a demo