I finally started getting responses from my ESP8266-01. I had set the mode to STA+AP with AT+CWMODE=3, and got OK back. Then checked it with AT+CWMODE?. The response was +CWMODE:3 and OK. Then sent:
AT+CWSAP?
and got back:
+CWSAP:"ESP_834323","",1,0,4,0
OK
ESP_834323 -- is this ESP8266-01's ssid
"" -- means that there is currently no Password set
1 -- I suspect that this is the Channel ID
0 -- I don't know what it is. What does this 0 represent.
4 -- I don't know what this 4 represents.
0 -- iI suspect that this 0 means that currently the ecn is none.
From, CWSAP · espressif/ESP8266_AT Wiki · GitHub they say that the format of the response should be:
+CWSAP:ssid,pwd,chl,ecn
That is 4 pieces of data, yet I'm getting 6 pieces of data.
Does anyone know what this means?
Thank you Juraj, I see the last two places represent:
4: (optional): maximum
number of Stations to which ESP8266
SoftAP can be connected; within the
range of [1, 8].
0: [] (optional):
‣ 0: SSID is broadcasted. (the default
setting)
‣ 1: SSID is not broadcasted.
I had been looking at those AT Instruction Set, but found that hardly any of them worked for me. When I send AT+GMR I get back:
AT version: 1.2.0 July 2016
SDK version 1.5.4.1
I thought that the AT Instruction Set on that PDF from Espressif, only applied to the newest version of the AT commands. I searched for an AT instruction set for older versions like mine, and couldn't find any, so I didn't think that, that instruction set applied to my version. So maybe if I update the firmware, that AT Instruction set would be a little more accommodating.
I was trying to verify what the baud rate was so I sent, AT+UART_CUR?, and it returned error. I tried AT+UART_DEF? and it returned error. On a youtube video, a guy said he had success with, AT+CIOBAUD?. I tried it and got error.
I did get results from AT+CWLAP. It returned a list of 17 access points in my area, including mine. When I tried, AT+CWJAP="my ssid","my password", it returned an error. I also found that AT+CWMODE? returned, +CWMODE:2. So I sent, AT+CWMODE=1, and it returned OK. I did another AT+CWMODE? and it returned +CWMODE=1. I changed it to mode 3, so I'd have both Station and Access Point.
If I could find a listing of good AT commands that will make the unit do what I want it to do, then there would be no need for me to update the firmware. Since I had read about many ESP8266-01 being made inoperable after a firmware update. Have you any recommendations? Stephen
_CUR and _DEF work on newer version. for old firmware use the commands without _CUR or _DEF. so not AT+CWJAP_CUR, only AT+CWJAP
after you connect to network run AT+CIPUPDATE
Thank you Juraj. I am sorry that I hadn't acknowledged your response until now. I have been busy. I have tried to use many of the AT commands listed in the Espressif PDF document titled, ESP8266 Non-OS AT Instruction Set, and none of the AT commands that end with the, _DEF or _CUR, return anything but error.
I have had a break through of sorts though.
Since I began using the Buck Converter:
LM2596 DC to DC Buck Converter 3.0-40V to 1.5-35V Power Supply Step Down Regulator Module that I found at:
I tried to paste a photo but this format wouldn't except or I don't know how to insert a photo in with my post.
But since I have begun using this buck converter, set to 3.4 v, the ESP8266-01 would still act up by outputting random characters constantly, the same as when I used the STMicroelectronics 3.3V 950mA, LD1117V33 Voltage Regulator, LD33V, that I also found on Amazon.
Since I was having the same problem I began inspecting every connection and triple checking everything. When it came to tweaking the buck converter voltage, I began to reduce the supply voltage to the Vcc of the ESP8266 and discovered that the rate of the seemingly random spewing out of characters, began to slow down. I was curious about this and continued to reduce Vcc until the noise stopped completely. I tried a few AT commands, and they worked. The voltage that worked for this particular unit was 3.14 volts. This change didn't affect or improve on which AT commands would be excepted. It stilled respond to any AT command with the _DEF or _CUR, with error. but I was finally successful at connecting to my network! I wonder if many of the problems that I have read about on this forum are due to this, lack of response, and units that output nothing but noise.