In this article we compare two different implementations of a mobile LTE connection with the ESP32-S3 from the family of widely used and well-supported microcontrollers. First, using a serial (UART) method and public Arduino libraries and second, using the modem as a USB CDC device with the ESP-IDF esp_modem library. The two approaches are evaluated with respect to implementation complexity, support for over-the-air (OTA) firmware updates and ease of integration into an existing WiFi-based project. We conclude that while the serial approach can be simpler for basic use cases, it suffers from limited throughput and increased software complexity. The USB-based approach relies heavily on the well-supported ESP-IDF ecosystem and therefore integrates more cleanly with it for OTA updates and additional peripherals
|