AT commands in ESP32

filchr
Posts: 7
Joined: Thu Apr 26, 2018 6:10 pm

AT commands in ESP32

Postby filchr » Sat May 12, 2018 8:33 am

So, I tried to control my ESP32 over AT commands but I failed. Will tell you what I did and if anybody knows where the mistake might be tell me :)

1) Cloned official repository

Code: Select all

git clone --recursive https://github.com/espressif/esp32-at.git
2) loading the project to the ESP

Code: Select all

make flash
As far as hardware is concerned I connected another one USB-UART adapter (other than the flashing one) to the appropriate PINS(sure of it).
Ubuntu sees it with no problem : /dev/ttyUSB0 & /dev/ttyUSB1

Then I run

Code: Select all

make monitor
From here after it is like I am not simply in AT mode and I just uploaded a usual application.
I cannot change port from my flashing ttyUSB0 to my AT-enabled ttyUSB1.
Cntrl+T-Cntrl+H does not give any new feedback for me to take advantage of.

Tip : Where the problem might be is that I omitted using properly ESP32_AT_BIN at http://www.espressif.com/en/support/download/at as https://www.espressif.com/sites/default ... les_en.pdf said (paragraph 1.2).
Actually I tried downloading it, but didn't know what to do with it.

Would you like more details, let me know. Waiting for your support !

* I also tried setting my IDF_PATH variable to /path_of_my_esp32-at_cloned_repository/esp-idf but still nothing
**I also watched https://www.youtube.com/watch?v=HBrEMIzm_uY ,which may seems to be outdated ??
***I also run steps 2, 3, 6 and 7(when it was needed) from https://github.com/espressif/esp32-at . Step 8 confused me a little. I assumed it just wanted me to change my IDF_PATH to the new path?
Attachments
ttyUSB.png
ttyUSB.png (12.92 KiB) Viewed 3619 times

filchr
Posts: 7
Joined: Thu Apr 26, 2018 6:10 pm

Re: AT commands in ESP32

Postby filchr » Mon May 14, 2018 6:57 am

ok.. Still no results, but maybe some valuable information.
The menu for changing usb port comes forward if you run

Code: Select all

make simple_monitor
, which was being used in earlier versions of ESP-IDF.

However accessing any port setting commands is not possible and are not recognised, which leads me to believe that maybe AT commands are not supported yet for the esp-idf 3 ?

Tried to bypass this problem by connectiong to the serial AT-enabled port by using

Code: Select all

python -m serial.tools.miniterm /dev/ttyUSB1 115200
then pressing Ctrl-T Ctrl-E, I am getting in echo mode (which I guess means I can send data and receive by command line).

I send AT but no answer comes, so still no results. :(

Who is online

Users browsing this forum: No registered users and 274 guests