Some sources say that I cannot connect Arduino to a 7 inch LCD screen. Can you help me?
Welcome to the forum
As your topic does not relate directly to the installation or operation of the IDE it has been moved to a more relevant category of the forum
Do you have a particular screen in mind ?
Which Arduino are you using ?
I don't have a specific screen in mind. If you can recommend a screen, I'd be very happy. I'm using Arduino Mega. What do you recommend?
I have no experience of such screens, but a Google search finds many of them
Size isn't an issue but the Arduino doesn't support HDMI, Display Port, or VGA, etc. It doesn't have the drivers, hardware, or operating system to handle these standard interfaces. It works at a lower level.
Post a link to those sources and the forum can review them to see if they are accurate.
There are two factors that limit the potential of the Arduino IDE with this type of display.
-
The speed of the MCU. While AVR is an excellent learning platform for using more demanding hardware, this feature severely limits what can be achieved with the MEGA.
-
Available libraries. While there are enthusiasts developing libraries for using TFTs in the Arduino IDE, they are limited by the SPI or i2C communication protocols themselves, which restrict communication speed. Optimizing these libraries is no small feat; it requires a very advanced command of C++.
It is best to use 7" (or larger) displays that have their own graphics chip: Nextion, Picasso, Diablo, EVE2 (FT813, capacitive), EVE3 (BT815, capacitive), EVE4 (BT817, capacitive), or EVE5 (FT820, no commercial versions yet, just the chip).
The downside is the cost. They weren't designed for learning environments; the purpose of these types of TFTs is industrial, for commercial, or medical applications. Therefore, we can count on robust displays with better performance than budget displays.
Of the ones I mentioned, Nextion is the one with slightly more affordable versions, but I think the programming environment has its own specific details.
Concrete example with GDSTx library
TFT: NHD 5" FT813
MCU: Nucleo F767ZI
MicroSD: Canvas Go Plus 256 Gb
Taking a more expansive definition of "Arduino" there are 7" versions of the Cheap Yellow Displays (CYD) that are an ESP32 (programmable via arduino ecosystem) attached to a 7" touchscreen. I have a couple; they work fine but documentation is a bit spotty.