Trouble with ESP8266-03 Soft Access Point Connectivity

Thread Starter

dylwheeler87

Joined Feb 13, 2018
12
Hello,

I recently received and built a WiFi-themed kit from HackerBoxes, specifically box #0042: Worlds of WiFi. While I was able to build and program the main project, I've been having some trouble trying to do other things with the module.

Specifically, I'm trying to create a soft AP with the ESP8266-03 module that I can connect to with my smartphone or laptop, and from there maybe come up with some sort of IoT application. Simple enough, although I am either entirely unable to detect the soft AP or, if I am able to detect the AP and connect, I am only able to stay connected for a short amount of time. Sometimes I'm able to detect the network on my iphone, but it tells me I am entering the incorrect password (even when I enter the exact password I previously programmed).

Here is the code I am using in the Arduino IDE, taken from here.

Code:
#include <ESP8266WiFi.h>        // Include the Wi-Fi library

const char *ssid = "ESP8266 Access Point"; // The name of the Wi-Fi network that will be created
const char *password = "thereisnospoon";   // The password required to connect to it, leave blank for an open network

void setup() {
  Serial.begin(115200);
  delay(10);
  Serial.println('\n');

  WiFi.softAP(ssid, password);             // Start the access point
  Serial.print("Access Point \"");
  Serial.print(ssid);
  Serial.println("\" started");

  Serial.print("IP address:\t");
  Serial.println(WiFi.softAPIP());         // Send the IP address of the ESP8266 to the computer
}

void loop() { }
Here is a link to the HackerBox instructable outlining the project hardware.

Any suggestions/comments are appreciated, as I am a beginner and trying to learn all that I can.
 

Thread Starter

dylwheeler87

Joined Feb 13, 2018
12
Thank you for your response.

I uploaded the sketch in the link you provided and I'm having the same issue. There was one instance where I was able to detect the device with my phone, but again it said I had the wrong password (which I didn't). For every sketch I've tried so far, I've had the same issue when trying to operate in soft AP mode. I just don't understand why the signal strength appears to be so weak.
 
Top