hello everyone !
which pins to which ping i should connect? and do i need 3.3V-5V converter if i need how sohuld i connect
thx for all answers
You don't provide a link to the actual display. So we can only guess that the Touch Controller i.c. is an XPT2046
XPT2046 is 5V tolerant and can even work at VCC = 5V
So you don't need any level shifters if you connect to random GPIO pins on a Mega2560.
On the other hand, anyone who wants to use the 3.3V SD card (that might be on your mystery display) will probably want to put XPT2046 and SD Card on the same hardware SPI bus.
Seriously, Display Shields are available for Arduinos. Just buy one and plug it into your Arduino as Nature intended.
40-pin 3.3V Displays are available. 40-pin Adapter Shields are available. Buy both items.
34-pin Adapter Shields would be the ideal solution. But I have never seen one.
At a pinch you could hand-wire your 34-pin 3.3V Display to the regular 40-pin Adapter Shield. Lots of messy wires but all the level shifting is provided on the Adapter.
David.
How should pin connections be like
DB0-15 - 0-15
50 MISO
51 MOSI
52 CLK
53 CS
RESET - 23
CS - 24
WR - 25
RS - 26
VDD - 5V
VDD - 5V
GND- GND
GND - GND
BL - 3.3V
NC - 16
T_CS - 17
F_CS - 18
NC - 19
SDS - 20
RC - 21
PEN - 22
is it true
Look at regular Mega2560 Display Shields. DB0-DB15 <- level shifters -> 22-37.
Control Signals:-
// Arduino Mega:
// -------------------
// Standard Arduino Mega/Due shield : <display model>,38,39,40,41
// CTE TFT LCD/SD Shield for Arduino Mega : <display model>,38,39,40,41
Yes, you can invent your own custom wiring. But ready-made libraries like UTFT will expect standard wiring.
URTouch style Touch library expects to bit-bash on 3-7
SD Cards expect to use hardware SPI on 50-53
Note that every TFT and SD data , control signal requires level shifter.
David.
This topic was automatically closed after 120 days. New replies are no longer allowed.