Send Email With ESP8266 and Arduino UNO

48,771

70

27

Introduction: Send Email With ESP8266 and Arduino UNO

How to get Adafruits "send_email_smtp.ino" to send email with ESP8266 and Arduino UNO.

And eliminating the problem with "no response from module" many have.

The module works on 3.3v logic according to documentation, but I had no issue with 5v rx and tx of arduino, play it at your own risk !!

Step 1: Firmware on the ESP8266

  • To get it working, must the firmware on the ESP8266 be version: 0.9.2.4 ! (old firmware!)
  • USB-connect the Arduino UNO and upload the "BareMinimum"-sketch with Arduino IDE software, so nothing disturb the flasher software. (Find the BareMinimum in "File" > "Examples" > "01.Basics" > "BareMinimum")

  • Take note of what COM-port the Arduino UNO use. (See your COM in "Tools" > "Port:")
  • Close Arduino IDE after upload and unplug power/USB.
  • Wirring the ESP8266 to the Arduino UNO as pictures above shows.

  • Connect the Arduino UNO to USB again.

  • Download flasher-software and the 0.9.2.4 firmware BIN-fil here : http://www.mediafire.com/download/zcw2gy07s2z60y6/ESP8266_flasher_and_0.9.2.4.zip

  • Unzip the files into a folder, and run the flasher software (esp8266_flasher.exe)

  • Click on the "BIN"-button and find the BIN-fil (v0.9.2.4 AT Firmware-ESPFIX.bin) in the folder.

  • Check whether it is the correct COM port or change it to the correct port.

  • To start the upload/flashing, Click on the "Download"-button
  • If everything is runs, will the flasher software show you the status of flashing and the blue LED on the ESP8266 will blink very fast.

  • If: Failed to connect, just try unplug USB and replug the USB again and click on the "Download"-button again !
  • In the end at 99%, it will show some error but this is ok.

  • The ESP8266 has now firmware version: 0.9.2.4 !!!

Step 2: Rewiring

  • Unplug power/USB.
  • Rewirring the ESP8266 to the Arduino UNO as pictures above shows. VERY IMPORTANT !!!
  • Download the "ESP8266 library" here : http://www.mediafire.com/download/q79ud0f6qzkvcv9/Adafruit_ESP8266-master.zip

  • Open the Arduino IDE software and import the library (click "Sketch" > "Include Library" > "Add ZIP. Library..." > find the Adafruit_ESP8266-master.zip -file and click "Open")
  • USB-connect the Arduino UNO again and upload the "send_email_smtp"-sketch with Arduino IDE software ("Files" > "Examples" > "Adafruit_ESP8266-master" > "send_email_smtp")

  • Now just see this YouTube video https://www.youtube.com/watch?v=n5WZ_BNRvRY
  • And adjust the same things as he does. :-)

1 Person Made This Project!

Recommendations

  • Make it Glow Contest

    Make it Glow Contest
  • First Time Author Contest

    First Time Author Contest
  • PCB Challenge

    PCB Challenge

27 Discussions

0
rezpector
rezpector

Question 2 years ago

I have followed all steps carefully as above. But after uploading program, when I open serial monitor it always shows :

---> AT+CIPSEND=12

<--- 'link is not

---> AT+CIPSEND=12

<--- 'link is not

---> AT+CIPSEND=12

<--- 'link is not

Any one help?

Please help

0
Angel RobertoS
Angel RobertoS

Answer 2 years ago

hi, have you fix the error yet?

1
AnkitB4
AnkitB4

4 years ago

class Adafruit_ESP8266' has no member named 'cipSend'

plz help me to solve this problem?????

urgent

0
SUMITN16
SUMITN16

Reply 2 years ago

IS IT FIXED BECAUSE ME TOO GETTING THIS ERROR

0
Eryn Ahmad
Eryn Ahmad

Reply 4 years ago

hye, have you fix the error yet?

0
johnnyfrx
johnnyfrx

Reply 4 years ago

Have you tried changing HELO to EHLO? There are a number of causes of this error so we'd need to see more of your code.

0
johnnyfrx
johnnyfrx

Reply 4 years ago

Have you tried changing HELO to EHLO? There are a number of causes of this error so we'd need to see more of your code.

0
FredL59
FredL59

3 years ago

Any one help? it always shows hard reset... no response from module. Why??

0
HakanH7
HakanH7

3 years ago

Some of the esp8266 boards can tolarate 5v logic level. I could tried about 20-25 pieces of esp8266 board . Some of them has got white rectangle drawing on the surface around the pinouts and they can tolarate 5volt. Others can not tolarate.In the first picture you can see these white rectangle on the esp8266. This esp8266 can tolarate 5v. But in the second picture we can not see that white rectange and probably that can not tolarate 5 volt.. 5 volt can not make them burn you can use them in the projects with 3 volt level..

0
lalittsuwalka
lalittsuwalka

3 years ago

I have followed all steps carefully as above. But after uploading program, when I open serial monitor it always shows :

Hard Reset...'
no response from module.

please help

0
SergejK3
SergejK3

Reply 3 years ago

I also collected the same buggy code. Can someone fix it?

0
SergejK3
SergejK3

3 years ago

Arduino ide terminal writing : not module connetc.
Pls help & send my email to info :sergejkrugliakovv@gmail.com

0
Franj9
Franj9

3 years ago

PD:

Rx (Arduino) - Tx (ESP)

Tx (Arduino) - Rx (ESP)

0
Franj9
Franj9

3 years ago

Hello, I have detected an error in the first image showing the pinned, you have to rotate the order of RX and TX so that there is communication between the ESP8266 module and the serial / USB port and can display data in the console of the IDE.

Greetings from Andalusia (Spain)

0
Alexan24
Alexan24

3 years ago

I keep getting this error. Any idea?? I changed HELO TO EHLO but nothing happened. :/

&Sigma;&tau;&iota;&gamma;&mu;&iota;ό&tau;&upsilon;&pi;&omicron; &omicron;&theta;ό&nu;&eta;&sigmaf; (789).png&Sigma;&tau;&iota;&gamma;&mu;&iota;ό&tau;&upsilon;&pi;&omicron; &omicron;&theta;ό&nu;&eta;&sigmaf; (792).png
0
Neavvy
Neavvy

3 years ago

In serial monitor I have "Hard reset...'

no response from module." Could someone help me please?

0
mybotic
mybotic

4 years ago

hi, may i know whether the connection of esp8266 to arduino mega is the same as the connection to arduino uno?

0
NavalJ
NavalJ

4 years ago

I wasted my 2 esp on this tut. Every time it falshes .ESP does not repond on AT. What should i do??

0
johnnyfrx
johnnyfrx

Reply 4 years ago

Have you tried changing the baud rate in Serial Monitor? I had to test a bunch of different rates until 57,600 worked. Also, make sure you change the wiring back after flashing as described in directions.

0
RodrigoC146
RodrigoC146

4 years ago

AT+CIPCLOSE

<--- '

ERROR

Any chance?