The use of the ESP8266 in the world of IoT

User avatar
By Aonko
#8881
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.
User avatar
By IdeaSmith
#9228 I am trying to connect a esp8266-01 to an arduino UNO and control a relay via it which switches a bulb on/off. I have been experiencing problems with the firmware flashing part. I have downloaded almost every firmware available and tried it but to no avail. I have connected GND and GPIO 0 pins to ground and the rest to 3.3V. The esp never responds to the serial monitor commands. It returned some junk some times but never gave a 'ready' prompt. i changed the esp but had no luck either. The connections I tried are attached.
Please help. What and where is the fault?
You do not have the required permissions to view the files attached to this post.
User avatar
By lethe
#9232 First of all: you connected TX->TX and RX->RX, that's wrong. You need to cross these lines (Arduino TX -> ESP RX & vice versa).
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).