Specific ESP32 Board: Waveshare ESP32-S3 Touch LCD 7inch Display
I'm trying to make a project wherein the arduino MEGA is the main controller of the components and sends data to the ESP32 display via UART connection. the data will be logged in the SD card installed in the ESP32 display. Can someone help guide me in making the code?
the Waveshare ESP32-S3 Touch LCD 7inch Display has a number of interfaces you could use to transfer data from the Mega, e.g. CANbus, RS485 and I2C
probably you could use the I2C GPIOs (8 and 9) for TTL serial which would be the simplest way to transfer data from the Mega - remember the Mega uses 5V logic the ESP32 3.3V logic
I have used the I2C GPIOs on the Freenove_ESP32_Displays for TTL serial