Go Down

Topic: LCD display with ILI9341 driver on Arduino (Read 213226 times) previous topic - next topic

david_prentice

Your Fritzing looks clear.   The connections look fine to me.

Providing your constructor() is accurate,   Marek's ILI9341_due.h,  Bodmer's TFT_ILI9341.h, Adafruit's Adafruit_ILI9341.h, ... should all work.

In fact most of these libraries will make some form of diagnostic report on the Serial Terminal.  (you need to connect MISO line to #12.   you do not need the 4050)

David.

bodmer

@Atomic_Sheep

Have you identified pin 1 correctly and plugged the 4050 in the correct way around?

Is the backlight LED working?  If it is, you should see some white light leaking out around the edges of the display.
Formerly Rowboteer (now a broken user profile!)

Atomic_Sheep

#317
Oct 31, 2016, 02:42 am Last Edit: Oct 31, 2016, 04:18 am by Atomic_Sheep
In fact most of these libraries will make some form of diagnostic report on the Serial Terminal.  (you need to connect MISO line to #12.   you do not need the 4050)
Will have to look into this.

@Atomic_Sheep

Have you identified pin 1 correctly and plugged the 4050 in the correct way around?
Yer pretty sure I'm right in this department.

Pin 1 is bottom right with the red cable.

Is the backlight LED working?  If it is, you should see some white light leaking out around the edges of the display.
No the unit is completely blank.

Bought one of those Logic Level converter modules from Arduino.

https://www.jaycar.com.au/arduino-compatible-logic-level-converter-module/p/XC4486

Maybe there's something wrong with my 4050. I'll use it for the SS signal... see how I go.

TFTLCDCyg

#318
Oct 31, 2016, 03:56 am Last Edit: Oct 31, 2016, 10:15 am by TFTLCDCyg
Try this wiring



Constructor for the ILI9341_due library:

Code: [Select]
#define TFT_RST 8
#define TFT_DC 9
#define TFT_CS 10
ILI9341_due tft = ILI9341_due(TFT_CS, TFT_DC, TFT_RST);

Atomic_Sheep

#319
Oct 31, 2016, 07:29 am Last Edit: Oct 31, 2016, 08:17 am by Atomic_Sheep
Figured it out :), I flipped an already flipped cable diagram, had my LCD connected back to front.

OOOOH I get it, so the SPI connections down one side are for the LCD and on the side for the SD reader?

TFTLCDCyg

... and on the side for the SD reader?
Answer: Yes!

PD: up some pictures of your TFT

david_prentice

@TFTLCDCyg,

I see that you have connected LED to 3.3V.
The Uno has :
Quote
DC Current for 3.3V Pin    50 mA
The Uno's 3.3V regulator is a bit wimpy.   It is safer to connect the LED to 5V via a 47R resistor.
And of course connect MISO to digital#12

Anyway,  it is good that Atomic_Sheep has got the display working.

David.

Atomic_Sheep

#322
Oct 31, 2016, 03:13 pm Last Edit: Oct 31, 2016, 03:18 pm by Atomic_Sheep
Thanks for the help guys.

Here's a happy snap.

tployaert

Hy boys!

I bought a cheap 3.2" tft display from china, but the pin outs is not clever. Can you send me a workable wiring for this pin outs? I have an Arduino Uno. The display contain ILI9341 ic, sd card reader, and resistive touch screen, but my first goal is the screen start to work.

http://postimg.org/image/awbh9l5v5/

I attached a picture from modul's pinout.

Thanks!
Tibor
Hello, have you succeed ?
I have the same and it doesn't seem to be ILI9341 but SSD1289 (see http://www.geeetech.com/wiki/index.php/3.2TFT_LCD)

numlo

Hello,

I bought a 2.4 TFT SPI ILI9341 display from ebay and I don't have a datasheet. I wired it up at 3.3V and turned it on. It works nice. The problem is that the 3.3V voltage regulator gets really hot. I used a variable power supply to power it up and the current draw is 0.13A. 0.03A for the arduino pro mini with 2 tiny LEDs and 0.1A for the display.

Is 0.1A for the display too much? If the display is OK maybe I should change the voltage regulator.

rediculum

#325
Apr 21, 2017, 09:43 am Last Edit: Apr 21, 2017, 09:51 am by rediculum
Hello
Just a feedback after 3 days debuging my problem and having a white screen all the time.
I used the wiring of Post 93 but with a 5V Pro Mini. In oder to gain the 3.3V I used a L78L33 voltage converter connected on the 5V pin. The wiring of Post 93 didn't work as long I had the VCC of the TFT on 3.3V (white screen flickering with LED13 during graphictest.ino). After I connected VCC of the TFT to the 5V pin on the Pro Mini....voila!
The empty InputB on the CD4050 was not necessary to put on GND to make it work.
I hope this info is helpful for others dealing with the same struggle as I did.

PS: I used oli's ucglib. HWSPI was faster than SWSPI.
Regards
ReDiculum

Project:
LASERino

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy