-->
Page 1 of 1

ESP8266 with Access Point

PostPosted: Tue Apr 03, 2018 1:31 pm
by heiner188
Hello Forum,
i have created an ESP8266-Sketch with the function of an Access Point.
With this Sketch I can read a temperature sensor from GPIO-2 and can toggle on/off a LED at GPIO-0.
Everything works wonderfull! I can load the Sketch from the Arduino-ESP and it runs.

Now I will go the second step and my Sketch should work without the USB-Connection and with a separate power supply.
But the program does no start ofter disconnecting the USB connection and reconnecting to another power supply as it work
with several Sketches from the examples.

I have read that at the start of an Access Point with "WiFi.begin()" configuration states are written into the flash memory
and i think, there is my problem.

Knows anybody in the forum a solution?
Thank you!

Re: ESP8266 with Access Point

PostPosted: Tue Apr 03, 2018 7:57 pm
by rudy
Because of the port pins you used I am assuming you are using a ESP-01 module. If that is the case then connect a resistor from RX through the resistor to 3.3 volts. It you have the RX line disconnected then it will not be in a high state and that can cause startup problems. The resistor value can be anything from 500 Ohms to 20k Ohms. Higher may also work, and lower will, but try and stay within the range I indicated.