IdeaSmith wrote:I am trying to connect an ESP to an arduino and control a bulb via it using a relay. I am experiencing some problems with the firmware update for the ESP. Please Help!
Need more details than that to help you...
http://www.electrodragon.com/w/ESP8266 That URL has info on updating the firmware.
Don't try to power the ESP module from the arduino, you will need a separate 3.3v power supply around a max of 300-350ma. Though average power consumption when connected to a wireless N network was about 150ma for me on a ESP8266-12.
Please help. What and where is the fault?
Secondly: don't use a resistor divider on the ESP TX -> Arduino RX line. This line is an output on the ESP and input on the Arduino, if at all, you need to shift the voltage up, not down. But 3.3V should be enough to register as a HIGH signal on the Arduino, so you normally don't need a level shifter there.
Also you didn't draw a ground connection on your ESP module, I assume that's an error in the schematic...
For safety reasons you also should use resistors (1-10k) to pull the GPIOs up/down instead of plain wires (in case you accidentally configure these pins as outputs, you could create a short and melt your ESP).