Arduino Uno Ili9341 White screen

Hello everyone,

I'm having issues with my arduino project. I started learning about the Arduino and electrics not a long time ago and can't get my display working.

I use an Uno R3 Board with ATmega328P and the 2,8" Ili9341 display .

For the last week I tried different code with different examples and different wiring but it always resulted in only having a white screen. But in my latest attempt I got it flickering a little bit which is at least a better feeling having any response than the white screen.

My wiring is this ( I made a lot of photos because I hope you guys can see everything clear and I also tried to get a picture only of the wiring which I adopted from an Youtube video)

I also got a video of the flickering which is sometimes way stronger (display getting almost completely dark) and sometimes just once per graphicstest as seen in the video. Another thing I realized (maybe just an coincidence) is that it flickers more when I don't put the display right on the breadboard but connect it with seperat jumper wires to the board on the same place.

My code for the graphicstest is basically the one from the "Adafruit Ili9341" library called "graphicstest". I couldn't post all of it because I'm only allowed 9000 characters. That's why I'm just posting the first few lines until the loop() starts. The rest is the same from the sample of that library

/***************************************************
  This is our GFX example for the Adafruit ILI9341 Breakout and Shield
  ----> http://www.adafruit.com/products/1651

  Check out the links above for our tutorials and wiring diagrams
  These displays use SPI to communicate, 4 or 5 pins are required to
  interface (RST is optional)
  Adafruit invests time and resources providing this open source code,
  please support Adafruit and open-source hardware by purchasing
  products from Adafruit!

  Written by Limor Fried/Ladyada for Adafruit Industries.
  MIT license, all text above must be included in any redistribution
 ****************************************************/


#include "SPI.h"
#include "Adafruit_GFX.h"
#include "Adafruit_ILI9341.h"

// For the Adafruit shield, these are the default.
#define TFT_RST 8
#define TFT_DC 9
#define TFT_CS 10
#define TFT_MOSI 11
#define TFT_CLK 13
#define TFT_MISO 12

// Use hardware SPI (on Uno, #13, #12, #11) and the above for CS/DC
//Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
// If using the breakout, change pins as desired
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_MOSI, TFT_CLK, TFT_RST, TFT_MISO);

void setup() {
  Serial.begin(9600);
  Serial.println("ILI9341 Test!");

I'm really lost in this project. I actually wanted to display some information when I place an RFID card on an RFID sensor on that display but the display part is way more complicated than I thought.

So basically it always shows me the white screen and I don't know why. I also bought an logical 5v-to-3.3v shifter because someone mentioned it in another thread it would help but I didn't make it work with it either.

My last guess was that maybe the display is broken which made me already buy another one (should arrive next week) but I thought I give it a try and reach out for help here.

I really appreciate any help and I hope I could have provided you with any information you need for that. But one more thing.. please have in mind that I'm super new to this stuff so don't assume that I made the basics right :wink:

Thanks guys!

PS: the picture of the display in the wiring.png is of course the Ili9341 2,8" but I couldn't manage to make a semi professional wiring picture from zero :frowning:

EDIT: Updated the wiring picture (I couldn't find a picture for the display that's why the wires are going into air, but I wrote the PIN names of the ILI9341 2,8". I hope it's not too complicated)

Your Wiring.png is taking the p*ss.

Please ensure accuracy when you post. e.g. why mark resistors with international colour code for 10k as 4k7 ?

No one is going to believe anything that you write.

David.

Hey David thanks for your input.

Let me try to paint it again.
I will post it again soon when I'm finished :wink:

david_prentice:
Your Wiring.png is taking the p*ss.

Please ensure accuracy when you post. e.g. why mark resistors with international colour code for 10k as 4k7 ?

No one is going to believe anything that you write.

David.

I updated the wiring picture (I couldn't find a picture for the display that's why the wires are going into air, but I wrote the PIN names of the ILI9341 2,8". I hope it's not too complicated)

If it's still not comfortable to read I'm happy to hear how I could improve there to make it better