NHD-2.4-240320CF-CTXI#-F_Rev1C (ST7789VI controller) screen pin connexion
Hello, I am facing some problems with NHD-2.4-240320CF-CTXI#-F_Rev1C (ST7789VI controller) screen. I cannot show an image by it. I am using arduino DUE. can you say what will be the connection?
I have already tried with following pin :
Pin Mapping for NHD 2.4-240320CF-CTXI (40-pin) and Arduino Due
Pin No. Display Function Arduino Due Pin Notes
1 GND GND Connect to Arduino's GND.
7 VDD 3.3V Supply voltage for the LCD logic (3.3V from Arduino Due).
8 IOVDD 3.3V Logic supply voltage (tie to VDD).
10 CS Pin 9 Active LOW chip select for SPI communication.
11 D/C (Data/Command) Pin 8 Determines whether data or commands are sent.
12 /WR (Write) GND Tie to GND for write-only operations in SPI mode.
13 /RD (Read) GND Tie to GND as reading is not required in this configuration.
30 /RES (Reset) Pin 7 Active LOW reset signal.
34-37 LED-K (Backlight Cathode) GND Connect all backlight cathodes to GND.
38 LED-A (Backlight Anode) 3.1V (External Supply) Backlight power supply. Use an external 3.1V power source capable of supplying 80-100mA.
39 GND GND Additional ground connection.
It is coming only in the color, but I cannot bring an image. So, can you please help me to give a good connection diagram and an Arduino code for the image? I am also open to other solutions, like using arduino MEGA(because it is given a code for MEGA), or other solutions? Thank you. Sazzad
-
Hi,
This display must use either 8 or 16bit parallel communcation for display data. The SPI lanes are meant for sending commands to the IC, not display data. Please see the image below for the reccomended connection diagram.0 -
Dear, I am sorry ,i am new in the domain of electronics project. i understood that, you asked me to connect the pins as shown in the image.However, following the 8 bit connection I am not succeed to show an image. it would be the best if you give me directly the pin connection chart of the screen NHD 2.1-240320CF-CTXI-F and the arduino MEGA . i have already found a sample program of the arduino MEGA. Here in the code , it is indicated the following pins but not all the pins... Help me please with all the pin connection list with Arduino MEGA and the screen pins.
The sample program list is in the following link:
// The 8 bit data bus is connected to PORTA of the Arduino Mega2560 // 5V voltage regulator on Arduino Mega has been replaced with a 3.3V regulator to provide 3.3V logic int RS = 30; // RS signal connected to Arduino digital pin 30 int WR = 31; // /WR signal connected to Arduino digital pin 31 int RD = 32; // /RD signal connected to Arduino digital pin 32 int RES = 33; // /RES signal connected to Arduino digital pin 33 // /CS signal tied to GND // IM0 signal tied to VDD.
0
Please sign in to leave a comment.
Comments
2 comments