DIS04028H : CrowPanel 2.8″ ESP32 HMI Display - Connection
Hi. I am a beginner in this field.
With crowpanel 2.8inch ,
I'm trying to connect the product to the ublox m8n module and the DF player mini module. There are three ports: UART1, I2C, and GPIO_D. Where should I connect each of them?
each module have RX, TX, VCC, GND (UART)
If I connect the gps module to uart1, and DF player module to GPIO.,
I need to use software serial, but I heard that software serial cannot be used on esp32.
Comments
Hi, wolfcruel,
You can wire it this way and ESP32 supports soft serial port, but the effect of soft serial port is not as good as hard serial port and there may be data loss.
Optionally, you can use crowpanel 2.8inch in this way: u-blox M8N GPS module: Use UART1; DFPlayer Mini: Use GPIO_D, configured as UART2; Use the UART0 on the Type-C interface for serial debugging and powering, thus avoid the need for SoftwareSerial.
Please feel free to contact us if you have any further questions!