Hi! This site is mostly user supported, I am a user.
China was on holidays last week, so they may be "catching up"
This email firstname.lastname@example.org got an immediate response and they were sincerely interested and helpful.
Here are some fragments from my code (which does not do anything useful yet, but does communicate with the ESP-32 to send its first command). I hope it is helpful.
Header file lilygo_tpicoc3.h
// Link to the ESPC3-C3 processor on the same board
#define TPICOC3_ESP32C3_UART 1
#define TPICOC3_ESP32C3_TX_PIN 8
#define TPICOC3_ESP32C3_RX_PIN 9
#define TPICOC3_ESP32C3_CTS_PIN 10
#define TPICOC3_ESP32C3_RTS_PIN 11
Set up RP2040 UART to communicate
uart = uart_get_instance(TPICOC3_ESP32C3_UART);
// The ESP32-C3 hardware can run its UARTs at up to 5 Mbaud
uart_init(uart, 115200); // Default for ESP-AT's hardware reset (?)
uart_set_hw_flow(uart, true, true); // Use CTS and RTS
From the communication code. Must wait a short time (120 ms for the screen to wake up is enough for the ESP-32 as well).
// Send command: starts with AT and must end with \r\n
uart_puts(uart, "AT\r\n"); // Most commands are AT+...\r\n
Multi-line reply, ends with a full line OK\r\n or ERROR\r\n
TTGO LoRa32 V2.1-1.6 is the same as TTGO LoRa32 V2.1-1.6.1, we just changed the silk screen on the board.
The OLED on the board uses (SDA)21 , (SCL)22
There are schematic diagrams and reference codes in our warehouse, please see here Link
@andyclap When the battery is depleted, the noise source is from the DCDC boost inductor on the board, thanks for your feedback, I will discuss the solution with my team.
Recommendations on power consumption:
When starting T-Higrow, it is recommended to reduce the main frequency of ESP32 to 160, or lower, if not using WiFi, it is recommended to lower to 80, 40MHz
If WiFi transmission is used, it is recommended to reduce the number of transmissions, and then package and send the data uniformly. The number of acquisitions can remain unchanged.