-->
Page 2 of 2

Re: help programming esp01 modules

PostPosted: Thu Dec 07, 2017 5:43 pm
by perigalacticon
Well now they're not working again. In my set up code I have:

Code: Select all  WiFi.mode(WIFI_STA);
  Serial.println("passed WiFi.mode");
  WiFi.begin(ssid, password);
  Serial.println("passed WiFi.begin");
  while (WiFi.waitForConnectResult() != WL_CONNECTED) {
    Serial.println("Connection Failed! Rebooting...");
    delay(5000);
    ESP.restart();
  Serial.println("Connected?");
  }


The last thing I get on the serial monitor is "passed WiFi.begin", I never see "Connected?" or anything past this in the code. The same happens for 2 of them now.

Re: help programming esp01 modules

PostPosted: Thu Dec 07, 2017 7:08 pm
by perigalacticon
I think it was related to a power supply issue, it works much better with a larger supply. I had been using a small breadboard supply.

Re: help programming esp01 modules

PostPosted: Thu Dec 07, 2017 8:26 pm
by McChubby007
I have some breadboard psu's too and they are not up to the job for esp8266s

Re: help programming esp01 modules

PostPosted: Sat Aug 04, 2018 3:34 am
by PtrO
In addition to remove the (GPIO0 10k pull-down) resistor on the ESP01S relay board, I wired chpd (chip powerdown) to VCC (3.3v).