Tuesday, February 28, 2017

ESP32 - Playing with ESP32 AT Commands.

Setup


ESP32 Setup with two USB to UART Bridges
UART 0 on ttyUSB0 for flash an debug
UART 1 on ttyUSB1 for AT Commands



ESP32-AT
https://github.com/espressif/esp32-at

Issues
https://github.com/espressif/esp32-at/issues

Manual
http://espressif.com/sites/default/files/documentation/esp32_at_instruction_set_and_examples_en.pdf

Tested Commands:

AT
AT+GMR
AT+CWMODE=1
AT+CIPSTATUS
AT+CWJAP="ssid","password"
AT+CIPSTATUS
AT+CIPSTART="TCP","www.google.com",80
AT+CIPSEND=72

GET /search?q=esp32 HTTP/1.1
Host: www.google.de
Connection: close


AT+CIPSTART="TCP","www.heise.de",80
AT+CIPSEND=68

GET /index.html HTTP/1.1
Host: www.heise.de
Connection: close


AT+CIPSTART="SSL","www.heise.de",443
AT+CIPSEND=88

GET https://www.heise.de/index.html HTTP/1.1
Host: www.heise.de
Connection: close


AT+CIPSTART="SSL","www.esp32.com",443
AT+CIPSEND=89

GET https://www.esp32.com/index.php HTTP/1.1
Host: www.esp32.com
Connection: close

More info:
https://youtu.be/HBrEMIzm_uY

2 comments:

  1. HELLO ..
    we are working on esp32 module but not getting AT commands
    but working fine with led blinking and hello world please help us to work with AT commands

    ReplyDelete
  2. You need to get the ATCommands binaries and download into the module.
    https://github.com/espressif/esp32-at

    ReplyDelete