Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP

Content
1 Product Picture
2 Product Description
3 Product Parameters
4 Interface Definition
5 Connect to Arduino
6 How to use on Arduino
7 Program Download

Product Picture


Product Description


Product Parameters


Name Parameter
Display Color RGB 65K color
SKU MAR3953
Screen Size 3.95(inch)
Type TFT
Driver IC ST7796S
Resolution 480*320 (Pixel)
Module Interface 8Bit parallel interface
Active Area 83.52×55.68(mm)
Module PCB Size 61.54×105.69 (mm)
back light 6 chip HighLight white LEDs
Operating Temperature -20℃~60℃
Storage Temperature -30℃~70℃
Operating Voltage 5V/3.3V
Power Consumption TBD
Product Weight(Package containing) 68 (g)

Interface Definition


Number Module Pin Pin Description Number Module Pin Pin Description
1 5V Positive power supply 2 5V Positive power supply
3 NC Undefined, reserved 4 NC Undefined, reserved
5 NC Undefined, reserved 6 NC Undefined, reserved
7 NC Undefined, reserved 8 NC Undefined, reserved
9 NC Undefined, reserved 10 NC Undefined, reserved
11 DB7 7th bit of data bus 12 DB6 6th bit of data bus
13 DB5 5th bit of data bus 14 DB4 4th bit of data bus
15 DB3 third bit of data bus 16 DB2 2nd bit of data bus
17 DB1 1st bit of data bus 18 DB0 0 bit of data bus
19 LCD_RS LCD register / data selection signalLow level: register, high level: command 20 LCD_WR LCD write control signal
21 LCD_CS LCD screen select control signal, low level enable 22 LCD_RST LCD reset control signal, low reset
23 NC Undefined, reserved 24 LCD_RD LCD read control signal
25 TP_IRQ Touch screen interrupt control signal, low level when touch is detected 26 NC Undefined, reserved
27 NC Undefined, reserved 28 NC Undefined, reserved
29 SD_CS SD card select control signal, low level enable 30 NC Undefined, reserved
31 MISO SPI bus input signal 32 MOSI Touch screen chip select control signal, low level enable
33 EX_CLK SPI bus clock signal 34 TP_CS SD card select control signal, low level enable
35 GND Power ground 36 GND Power ground

Connect to Arduino Mega2560


How to use on Arduino


  1. Download the Arduino test program: http://osoyoo.com/driver/screen/3.95inch-screen-for-arduino-mega2560/test.zip
  2. For a description of the relevant test procedures, please refer to the test program documentation in the package
  1. Plug the module directly into the Arduino development board
  2. After the module is plugged in, power on the Arduino board
  1. Make sure the Arduino IDE is installed on your computer (if it is not installed: Arduino IDE download URL)
  2. After installing the Arduino IDE, you need to copy the dependent library to the Arduino project directory as follows:
(1) Decompress the downloaded test package
(2) Copy the dependent libraries in the Install libraries directory in the package (shown below) to the libraries folder of the Arduino project directory (the default Arduino project directory is C:\Users\Administrator\ Documents\Arduino\libraries).
  1. Open the sample in the Example directory of the package to test, compile and download( Don’t know how to compile and download?
      1. After the program is downloaded, run it directly and observe the running status. If it can be displayed normally, the program runs successfully, as shown in the following figure (take the colligate_test test program as an example):
      2. This set of test procedures contains the following test items:
        1. Example_01_Simple_test is a simple swipe test that does not depend on the library, can be used to detect the LCD hardware;

        B.Example_02_clear_screen is a simple solid color brush test;

        1. Example_03_colligate_test is a comprehensive test, including graphics, lines, text display;
        2. Example_04_display_graph is a graphical display test, including graphics drawing and filling test;
        3. Example_05_display_scroll for character and graphic scroll display test;
        4. Example_06_display_string is a character display test;
        5. Example_07_show_bmp_picture is a picture display test, read the bmp picture in the SD card and display it;
        6. ExampIe_08_switch_test is the switch display and touch test;
        7. ExampIe_09_dispIay_phonecaII is a telephone dialing interface display and touch test;
        8. ExampIe_10_touch_pen is a touch pen test;
        9. SDCard Exten Example for Arduino platform SD card function test, including writing and reading;

Program Download


3.95 inch Arduino Mega2560 module package