Cannot Send AT command to ESP32-C3 mini

hoavinh108
Posts: 5
Joined: Thu Feb 29, 2024 11:16 pm

Cannot Send AT command to ESP32-C3 mini

Postby hoavinh108 » Tue Jul 30, 2024 12:46 am

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 () {

})
Attachments
esp32 c3 mini.jpg
esp32 c3 mini.jpg (80.37 KiB) Viewed 762 times
esp32.jpg
esp32.jpg (37.79 KiB) Viewed 762 times

Who is online

Users browsing this forum: No registered users and 202 guests