I'm looking for an inexpensive capacitive tft. I recently bought a 3.2"off buy display but I get nothing but white screen and they basically have no service or warranty.
I'd like to stay around 3.2. I'd buy the ada lcd but it's expensive. I'm looking into a project I'll need more than 1 screen for them so trying to keep cost down.
Can anyone suggest a screen with decent refresh? And I can use 4 wire spi? I've been almost 2 weeks trying everything with that other screen but all failed so buy display got the last of my money.
First off. Why not say which display from BuyDisplay? What are your problems?
We could probably get you going.
All TFT bare modules are 3.3V. You must provide level-conversion for a 5V Arduino.
I suggest that you buy a display that is already sold as a single shield.
it will have appropriate level-converters
it will be mechanically and electrically stable.
the supplied example code will work out of the box (if it has come from a reputable supplier)
Most of the smaller shields are 8-bit parallel and fit on a UNO. They just have a resistive Touch Panel.
Many are 16-bit parallel and fit on a MEGA (or DUE). They generally have a Touch Controller chip.
Very few are SPI shields. e.g. Waveshare, Seeed, Adafruit, ...
Even fewer have Capacitive Touch.
I suggest that you sit down and think about your requirements.
Of course, you can buy an Adapter shield and mount a 40-pin display (or a bare module)
The Adapter shield looks after the electrical shifts and connections.
Thanks David for getting back to me
I really appreciate it. That is the screen I bought. I do have the shield coming that fired between the Arduino and lcd.
I assumed that this would work via 4 wire spi, I've downloaded the datasheet, files and demos. Spent 2 weeks researching and trying different pinouts. The most I can get is it to flicker a few times or just be solid white.
This is my first time experimenting with Arduino and tft do I'm very green so I might need a little push I'm the right direction lol.
I want to do some home automaton in my garage for my battery charges and other equipment, electronics had always been my interests ever since I had my first pong game on the old turn dial tv lol
I'm looking I guess for a reputable source for a well supported tft. I have 3 unos and 1 mega , couple of mks gen 1.4 and s base at my disposal.
Anything u can suggest I'm sure would be fine with me.
Buydisplay provide documentation on "how to interface" your display i.e. provide 5V to 3.3V level conversion. What do you think their Arduino shield does for you?
If you are prepared to use resistors or converter chips, I am sure we can get you operational.
Unfortunately, Arduino owners tend to "believe" Ebay vendors that say you can run at 5V. At least BuyDisplay provides honest advice.
Note that you can run a Uno from an external 3.3V if you disconnect the USB cable.
A Mega2560 can not run at 3.3V
Not much docs really. The interface is what I used. I read about the 3.3v which is why I chose the 5v line in assuming the shield it's attached to would drop the voltage.
I have handfuls of resistors. I'm willing to do what I have to do!
If you look at the Arduino Shield page, there are links to Arduino library and examples specifically for the BuyDisplay boards.
No, I don't have your particular ILI9341 display, but I can always test the BuyDisplay code on my own displays. Likewise, Bodmer's, Marek's, Adafruit's, ...
You will be amazed by the speed of these libraries, and the performance of an ILI9341.
Your display should work fine. It will be interesting to hear how you get on with the 3304 Font chip.
You will be equally amazed by how many punters insist on using 5V logic with 3.3V controllers. And how they are too tight to buy series resistors.
haha I'll buy what I need. The reason i went cheaper display is because I may do others around the house. If i do I'd like to keep cost to a min.
I found bodmer's Instructable. I see the resistors. Funny thing is I already read that before and I guess with trying to digest mass information over the past week or so I suppose I confused myself.
Also YEs I have those files on the Shield adapter page. Only thing not included was Wire. I downloaded that and flashed with no errors. But I was only getting the white screen(no resistors).
I Ordered that Shield. I said what the heck. Its half way to me now from buydisplay.
BuyDisplay publish the schematic of their Shields.
They do not publish the schematic of the display board.
It is quite possible that among all those SMD resistors in your photo, they already have 1k0 series resistors on the SPI lines.
Only you can investigate your pcb with a DMM.
I would start by following Bodmer's wiring in his Instructable.
Try the Arduino Library examples.
Investigating your 3304 Font chip will be left to another day.
David.
Edit. Just looked at the "Arduino Library examples for ILI9341" from BuyDisplay.
They are very trivial. And use UTFT which is very SLOW. Bodmer's library would be better.
If you asked BuyDisplay to configure your display for 5V supply, they would have selected JP=OPEN
Look at Table 4.2 on page 13 of your PDF.
Yes, you connect 5V from your Arduino power pins. But you ensure 3.3V logic goes to the control pins. (e.g. via your series resistors)
If you want to go 3.3V only, you change the JP setting, you don't need series resistors, you can't use USB with Uno, Nano, Mega, ... IF YOU CONNECT TO USB YOU WILL BLOW UP YOUR DISPLAY.
The 3.3V pin on a Uno is very wimpy. The tiny 3.3V regulator can not supply backlight current.
In practice: Leave JP as it is. Use your series resistors. Use your Nano/Uno from USB (5V).
I would concentrate on the regular Graphics first. i.e. run through all of Bodmer's examples, try Adafruit_ILI9341 and its examples, likewise Marek's ILI9341_due library.
Yes, there are slight differences in the method() APIs.
But at least they are more intuitive than the UTFT library methods.
See what suits you best.
I do not have a Capacitive Touch. Adafruit does. Try the Adafruit library examples.
I presume that your Touch has a TOUCH_CS pin and a TOUCH_IRQ pin. These need the series resistors.
The MOSI, MISO, SCK pins just go to the regular SPI bus. Either with their own series resistors or directly to the TFT SPI pins (i.e. already protected from 5V Arduino).
I would guess that the Capacitive has a different initialisation to a Resistive Touch.
But the methods that your program calls would have the same API.
Get some familiarity with the TFT first. I am sure that there are members with Capacitive on this Forum. Just wait for a day or three.