I found this video to tutorial on YouTube on programming the ESP 8266 module directly from an Arduino without using the serial console 3.3 V cable. I was wondering if anybody could give their opinions about this because I do not have the 3.3 V cable with me, it is on the way. But in the meantime I would like to be able to upload a simple sketch to the Wi-Fi module using an Arduino directly.
It will probably work. The problematic thing is powering the ESP8266 from the 3V3 pin on the Arduino. During WiFi communication, the ESP8266 draws more current than that pin can provide and this can cause a lot of confusing problems.
Oh well it would just be for the programming. For operation I have a 3.7 lipo I've been using to power another esp8266 just fine.
So I wired it up:
EESP8266 --------> Arduino UNO
3v3 --------------->3v3
GND--------------->GND
GPIO0------------->GND
GPIO2-------------------------------->LED-->GND
EN----------------->3v3
RX----------------->RX
TX----------------->TX
I selected the Generic ESP8266 module from boards and selected 9600 because I think i remember that the esp8266 defaults at 9600, but I also tried it at 115200.
But i get this error:
An error occurred while uploading the sketch
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
Do I need to set Arduino as ISP or something?