http://allaboutee.com/2015/01/02/esp826 ... m-webpage/
But my codes do not seem to get uploaded into the module; it keeps displaying various error messages.
What is "firmware flashing"? Am I supposed to do it the very first time I connect my esp8266 to the arduino?
I tried to upload a few bits of code into the esp8266 after connecting the arduino with it according to these schematics:
https://create.arduino.cc/projecthub/lu ... one-8a59f3
(I am aware that some kind of protection for the esp8266 is required, but I figured it would hold up for just one sketch.)
However, I am stumped regarding the connections for esp8266 and Arduino. Different Sources recommend different connections, and there seems to be no definitive guide regarding the ESP-01 at all. The Arduino official website also gives me nothing.
Also, how am I to upload any code into this module? Some sources say that I must leave GPIO1 unconnected, others say I must do something with the RST pin, others say that I must connect a Level Shifter/Voltage Divider, and so on.
I tried to connect the Arduino and ESP-01 board with a Voltage Divider configuration because it seemed to be the only mode of connection that I seemed to understand. However, there are many errors while uploading.
Even a simple blink sketch does not upload into the board.
I have downloaded the json library, and tried setting the board as "Generic WiFi board" and "Arduino/Genuino Uno" in turns, but to no avail.
Each time I try to upload any code, the red led in the esp8266 board remains stubbornly lit, while the blue led does not flicker at all.
Sorry if this post seems very long, but I have tried almost everything for hours together and nothing seems to work; it's incredibly vexing.
Is there any source that can take me through a step-by-step guide on what I must do after buying a new esp8266 board to controlling an led with it?
These are the different codes I tried uploading after installing the respective libraries:
http://allaboutee.com/2015/01/02/esp826 ... m-webpage/
https://raw.githubusercontent.com/RuiSa ... no_IDE.ino
I tried looking into Kevin Darrah's tutorials on this subject, but I couldn't understand his explanation at all; I feel incredibly stupid.
I have tried almost everything by nicking bits of information from different sources, and that method doesn't seem to work at all. If anyone could just guide me through a step-by-step tutorial of this, I would be really grateful.
Thanks!
-Vivek