How can we control the RAK3172 over UART using the ESP32?

I want to control rak3172 module over the ESP32 S3 boart via using UART. I want to send AT Commands to board and connect lorawan and start to comminicate. I found that library but I cant use it. “For a simple example, how can we check the version of the RAK3172 from the ESP32 with AT commands? (AT+VER=?)” I am using Arduino also

my circuit

also uart is woking good. I can send data each other esp32 to rak.

if I use serial monitor of Arduino IDE to check version
OUTPUT:

11:25:30.131 -> AT+VER=RUI_4.2.0_RAK3172-E
11:25:30.131 -> OK

Answered you in GitHub

On the RAK31723 Evaluation Board, AT commands work only over the USB (== UART2).
If you need UART1 (ATTENTION UART1 does not work in low power mode) you have to explicit enable it with Serial1.begin(115200, RAK_AT_MODE);

1 Like

image

Yes I understood at least. schematic should like this. if esp32 send at command over the serial1 to rak3172’s serial1. rak will retrun the respond on serial1 again.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.