Hello everyone,
i have the following problem.
I have an ESP8266MOD board - lolin nodemcu v3. I am trying to implement the following functionality to it: writing and reading SSID oras Passwords of a particular Wi-Fi network from EEPROM, automatic linking to a saved Wi-Fi network. I want it to be possible to load this data from the EEPROM, because the end user is not familiar with programming and will not enter the Arduino IDE to connect to his network....
Anyway, I've done the reading and writing, but when I want to connect to the Wi-Fi nothing happens :/ I don't know why. Manually entering the value works. But as I said before, this can't be!
Everything is programmed in the IDE from Arduino:
Here are the sutations:
Module: ESP8622MOD - lolin nodemcu v3
Flash Size: 4MB
CPU Frequency: 80Mhz
Upload Using: SERIAL
Reset Method: nodemcu
I wrote a small debugger, here are its results:
Starting check
Value of byte at address 1 =10
Connecting to Wi-Fi
Value of byte at adress 2 =7
Readed ssid =MY SSID
Value of byte at adress 3 =11
Readed password =MY PASSWORD
Connecting
............................... Could not connect
Starting Access Point
Value of byte at address 4 =8
Read name =MRJW-ESP
AP IP address: 192.168.4.1
Port: 23
Max users: 1
New client connected - ID: 0
Sending: Host: You are connected!
Here the whole programme:
i have the following problem.
I have an ESP8266MOD board - lolin nodemcu v3. I am trying to implement the following functionality to it: writing and reading SSID oras Passwords of a particular Wi-Fi network from EEPROM, automatic linking to a saved Wi-Fi network. I want it to be possible to load this data from the EEPROM, because the end user is not familiar with programming and will not enter the Arduino IDE to connect to his network....
Anyway, I've done the reading and writing, but when I want to connect to the Wi-Fi nothing happens :/ I don't know why. Manually entering the value works. But as I said before, this can't be!
Everything is programmed in the IDE from Arduino:
Here are the sutations:
Module: ESP8622MOD - lolin nodemcu v3
Flash Size: 4MB
CPU Frequency: 80Mhz
Upload Using: SERIAL
Reset Method: nodemcu
I wrote a small debugger, here are its results:
Starting check
Value of byte at address 1 =10
Connecting to Wi-Fi
Value of byte at adress 2 =7
Readed ssid =MY SSID
Value of byte at adress 3 =11
Readed password =MY PASSWORD
Connecting
............................... Could not connect
Starting Access Point
Value of byte at address 4 =8
Read name =MRJW-ESP
AP IP address: 192.168.4.1
Port: 23
Max users: 1
New client connected - ID: 0
Sending: Host: You are connected!
Here the whole programme:
Code: C / C++