Chat freely about anything...

User avatar
By AlanDarwin
#81334 I cannot get my ESP8266-01 standalone board to work as a WiFi unit. I've tried running programs that configure the unit in Access Point mode and in Station mode, but neither work. I've tried the suggestions of many resources on the Web, but this is the one I've spent most time with: [url](https://github.com/tttapa/ESP8266/blob/ ... SP8266.pdf[/url].

Using the wiring diagram shown on page 6 (apart from the connection to GPIO15, which I don't have access to):
Image

, I can successfully flash a program to the board using an Arduino Uno as a flash programmer. So far, so good. However, post-upload when I run the board 'operationally', the board doesn't work.

For simplicity, I'll focus only on my attempts to configure the unit in 'Access Point' mode. I uploaded the program on page 22 (GPIO0 low)

Code: Select all#include <ESP8266WiFi.h> // Include
const char *ssid = "ESP8266 Access Point"; const char *password = "thereisnospoon"; open network
void setup() { Serial.begin(115200); delay(10); Serial.println('\n');
WiFi.softAP(ssid, password); Serial.print("Access Point \""); Serial.print(ssid); Serial.println("\" started");
Serial.print("IP address:\t"); Serial.println(WiFi.softAPIP());
}
void loop() { }


and then re-powering the board with GPIO0 high, the WiFi network is not visible. I've ensured that all connections are good, I've used an external power supply capable of supplying 0.5 A, I've tried alternative programs/sketches (e.g. the Arduino example 'WiFiAccessPoint') but still the WiFi network does not become visible. I've run out of ideas. Can anyone please suggest what the problem might be?

Thanks
User avatar
By RichardS
#81336 Some questions:

1. Have you tried a simple 'Hello World' and seen output on serial??

2. Have you tried the examples first??

I normally leave GPIO15 floating, its probably pulled low internally... so your schematic should be OK...

RichardS
User avatar
By AlanDarwin
#81340
RichardS wrote:Some questions:

1. Have you tried a simple 'Hello World' and seen output on serial??

2. Have you tried the examples first??

I normally leave GPIO15 floating, its probably pulled low internally... so your schematic should be OK...

RichardS


I've successfully run the Arduino example 'ESP8266 Blink'' and can see Serial print statements in the Arduino Serial Monitor. One strange thing I've noticed is that although in the code the baud rate is set to 115200, I have to set the Serial Monitor to 74880 in order to see the print output as English rather than hieroglyphics.