🚀 Elevate your DIY projects with vibrant touch precision!
This 4.0-inch TN capacitive touch screen module features a sharp 320x480 resolution with 65K colors and 300 cd/m² brightness. Powered by the ST7796S driver and a 4-wire SPI interface, it ensures efficient communication with Arduino R3, Mega2560, and other MCUs. The module supports both 3.3V and 5V logic levels, includes a micro TF card slot for storage expansion, and comes with extensive example code and driver support, making it ideal for professional-grade embedded projects.
RAM | LPDDR3 |
Brand | Hosyond |
Item Weight | 4.2 ounces |
Product Dimensions | 4.25 x 2.39 x 0.58 inches |
Item Dimensions LxWxH | 4.25 x 2.39 x 0.58 inches |
Processor Brand | Atmel |
Number of Processors | 1 |
Manufacturer | Hosyond |
ASIN | B0CRGQN58D |
Country of Origin | China |
Date First Available | January 4, 2024 |
K**?
Bright and colorful works with esp32
Worked with ESP32-S3-R8N16 using TFT_eSPI.h family and the User_Setup.h settings below. It's an ST7796 screen but the config works with the ILI9488 driver.I'm using it to animate some dials and it refreshes the bitmap's well with good colors. I think it runs at 30hz but I'm not sure.Make sure all the pins are connected to the board. RST goes to the board's RST pin. This screen RST pin must be connected to the controller's RST pin, or you'll get white screen. LED/backlight is always on so LED pin is not necessary.The SD card works by simply connecting the SD pin. It's a microSD card which is excellent! Some other ones use a standard SD card.Spacing and quality of the pins are acceptable. The added ribbon cable is a nice addition but I have no use for it.I didn't try the touch.#define ILI9488_DRIVER// #define ST7796_DRIVER#define TFT_CS 5#define TFT_DC 18#define TFT_RST -1#define TFT_MOSI 13#define TFT_SCLK 14#define TFT_MISO 12#define SPI_FREQUENCY 40000000#define SPI_READ_FREQUENCY 20000000#define LOAD_GLCD#define LOAD_FONT2#define LOAD_FONT4#define LOAD_FONT6#define LOAD_FONT7#define LOAD_FONT8#define LOAD_GFXFF#define SMOOTH_FONT#define USE_HSPI_PORT
J**B
🤓 Dream it and Make it.
A little finicky... but adding large caps and refreshing the screen in the logic resolved most of the "blanking out".I designed and made an incredible touch screen User Interface with menus and configuration screens for a completely autonomous greenhouse. This screen is the heart and soul of this project where every single thing can be re-configured and adjusted through a touch. Fits perfectly flush in the UI panel I designed and 3D printed, I waterproofed the back with electronic waterproofing spray (messy stuff), and after many hours of coding... has evolved into the coolest project I ever made. I bought 4 of these for other projects...I would give it 5 stars, but it's incredibly sensitive to any dip in current. It will blank out and require a system reset to recover. This is a common problem as I discovered, but can be resolved with hardware (electrolytic and ceramic caps and dedicated power supply) as well as WDT logic and force tft.init();In summary, I do recommend this product.It's about the size of a cell phone screen, so I wouldn't go smaller than the 4" version.
S**.
Recommended Drivers Work
This is for the 4" 320x480 capacitive touch display with ST7796s.I first tested out the display itself, and found the TFT_eSPI to work well. For reading the touchscreen, I only really tested position and haven't looked into gestures yet, but I found that both RAK14014-FT6336U and the Arduino-FT6336U libraries worked equally well for what I tested. The RAK library actually used up a bit more program memory, about 240 bytes more, so if your processor is small in that department, might consider that.Here are some tidbits that I needed to learn through experimentation that might help others get running quicker:1) SPI interface to the display runs well at 80MHz. I used ESP32 DEV, so no problem.2) On ESP32, use default SPI pins in order to use hardware driver, which is fastest.3) On I2C interface for touchpad, use default pins for SDA and SCLK. Easiest way to check which pins these are is to print out SDA and SCLK to the serial port.4) The FT6336U interrupt pin is mostly useful to wake up the processor while in a sleep state. During normal operation, interrupts constantly come in and cannot easily be used to determine when a touch has happened. Need to poll the TD_STATUS register to see if non-zero and not use the interrupt line in normal operation.5) TFT_eSPI is a very inclusive library, but you will need to alter it unless you have a board and pin setup combo that matches one of the many examples. This is not documented well. I recommend taking the SetupX_Template.h file in the User_Setups folder, configure it according to the comments in the file, save it as a new filename, and then you only need to change a single line in the standard library files from that point onwards, even if this library gets updated in the future. Then you can either copy this custom name file to the User_Setup.h file and overwrite the original. Or, everytime a new library version comes out, just edit the User_Setup_Select.h file to comment out the User_Setup.h and add a line to use the new file you created. Both ways work well. But expect that you will need to do this bit of customization to the library.6) I2C address for the touchpad is as in the FT6336U library, address 0x38. You can also find example scanner sketches online which will confirm your board's touchpad I2C address.Overall, the display is a great value - nice and bright, large, and with a capacitive touchscreen that pretty much works out of the box without calibration.
L**K
The help was worthless, a link doesn't tell how to get it to full screen. Wait for them to fix it!
I was really excited to get this for my project. I downloaded the TFT_eSPI library for my Arduino IDE. Hooked it up to my ESP32-wroom-32. Selected the example listed in ESP32 and 480 X 320 files. None of them give me a full screen on the display. All of them are 320 X 240 or even the 160 x 128 size on my display. I asked for help, they sent me a link to a bunch of PDF files, I went through them, but nothing anywhere tells me how to get it to full size of 480x320, unless you know how, don't waste your time and money. If you do know how, please share it with them so they can share it with us.If they ever tell me how to get it to a full screen, then I will change it to more than 1 star.