-->
Page 1 of 1

ESP01 (ESP8266EX) - AT Command issue

PostPosted: Thu May 13, 2021 6:26 am
by StubbletUK
I have a generic ESP01 board from Amazon - at least that's what the seller says it is. :roll:

I have hooked it up to my USB board using a external breakout board that allows you to switch mode (UART / Program).

In UART mode I get a serial port (COM10) in Windows and can use the Serial Monitor in Arduino to send it commands. I have left the factory image in the flash so I can check basic functionality before sending it a sketch.

When I send basic AT commands - everything seems to work :

AT
OK
AT+GMR
AT version:1.2.0.0(Jul 1 2016 20:04:45)
SDK version:1.5.4.1(39cb9a32)
v1.0.0
Mar 11 2018 18:27:31
OK


When I try and send a code that is WiFi specific I get an error:
AT+CWLAP="ssid"
ERROR


Passive Scan
AT+CWLAP=,,,1,,
ERROR


Active Scan
AT+CWLAP=,,,0,,
ERROR


Thoughts anyone ?

Much appreciated

Andrew

Re: ESP01 (ESP8266EX) - AT Command issue

PostPosted: Thu May 13, 2021 11:59 pm
by JurajA
the USB adapter can't supply enough current on 3.3 V pin

Re: ESP01 (ESP8266EX) - AT Command issue

PostPosted: Fri May 14, 2021 7:37 am
by StubbletUK
Sadly it was an even worse noob mistake - the device needed to be in STA mode for that particular command to work. ;)

Read the docs numerous times before spotting the requirement. :!:

Re: ESP01 (ESP8266EX) - AT Command issue

PostPosted: Mon May 17, 2021 4:43 am
by QuickFix
Hehehe, well you always learn best when making mistakes and fixing them on your own. ;)