Page 1 of 1

Cannot Send AT command to ESP32-C3 mini

Posted: Tue Jul 30, 2024 12:46 am
by hoavinh108
Hi all
I have one board ESP32-C3 mini. I update firmware to v3.3, and connect it via USB TTL and send AT command successfully.
( connect it via pin Tx and Rx)

I try connect it with Micro:bit v2 and send AT command.
ESP32 Rx connect to Microbit P8
ESP32 Tx connect to Microbit P2
I can read reply from ESP32, but I cannot send AT command to ESP32, it does not run
( with the same config, I run it successfully with ESP01S - send AT command successfully)
------------
Here is code Javascript on Microbit. attached file is graphic code on microbit
What is the problem ?

input.onButtonPressed(Button.A, function () {
serial.writeString("" + ("AT+RESTORE\r\n"))
basic.showString(serial.readString())
})
serial.redirect(
SerialPin.P8,
SerialPin.P2,
BaudRate.BaudRate115200
)
basic.forever(function () {

})