Skip to product information
1 of 8

More Collection✓ Free Shipping✓ Best Price Guaranteed

Make an IOT Project on Sending mail using Arduino uno and ESP8266 wi-fi Module - KT774

Make an IOT Project on Sending mail using Arduino uno and ESP8266 wi-fi Module - KT774

SKU:KT774

999 in stock

Regular price Rs. 950.00
Sale price Rs. 950.00 Regular price
Sold out
Exclusive of GST
Shipping calculated at checkout.
REES52 REWARDS
Earn an estimated 10 points on this order
Found a better price?

Send the competitor link and price to our team. No automatic price match.

This website form routes enquiries to our support team. Your email app will not open.

Note: In case you receive a damaged or faulty product, please return it in the original box with all foam and packaging. Returns will not be accepted if further damage occurs due to improper packing.

If you order a product that is currently in Preorder, and the price of that item increases in the future, you will be required to pay the difference in price.

For refund/return/replacement, call us at +91 95995 94520 or email us at support@rees52.com

Delivery Time

  • Delivery time with the Express Shipping option is 2-3 working days, and with the Standard Shipping option is 5-6 working days. It varies based on location, reliant on courier services.

  • Delivery time if the order item is on Preorder Status is 20-25 days.

COD (Cash on Delivery)

Cash on Delivery is currently unavailable for new orders

Existing COD Orders Only

  • For COD you have to pay extra charges of Rs 350/- before the shipment. (We will share the company QR Code, UPI ID or Account details for the same)

The REES52 Promise

We want you to build, not worry. Here is exactly what happens if something goes wrong with your order.

Dead on arrival or defective? We replace it.

If your item is dead on arrival or has a manufacturing defect, tell us within 7 days of delivery. Email support@rees52.com with your order number and a short video or a couple of photos showing the problem. Our team will get back to you within 24 hours and arrange a free pickup from your doorstep - you never pay return shipping for a defective item. Once we verify the issue, your replacement ships out right away. If the item is out of stock, you get a full refund instead.

Refunds, with real timelines.

  • Approved refunds go back to your original payment method within 6-7 working days.
  • Missing item in your package? Tell us within 7 days with photos of what arrived and the parcel label. Once confirmed, the refund for the missing item reaches you in 2-3 working days - or we ship the missing piece free, your choice.
  • Every refund comes with a reference number by email or WhatsApp, so you can track it with your bank instead of chasing us.

Wrong item or not as described?

Email us your order number and a photo of what you received. We arrange the return pickup, and ship the correct item as soon as the return is on its way. Prefer your money back instead? That is fine too - full refund, same 6-7 working day timeline.

About lead times on some products.

A few items on rees52.com are sourced from our overseas partner warehouses and are not sitting on our shelf. Those products show a lead time of about 20-25 working days on the product page, before you pay. If you order one, we keep you posted as it moves. Changed your mind while waiting? You can cancel any time before dispatch and get a full refund within 6-7 working days. No cancellation fee, no questions.

Talk to a human.

Email support@rees52.com or call/WhatsApp +91 95995 94520, Monday to Saturday, 10:30 AM to 7:00 PM. Real people, order number in hand, actual answers.

View full details

KIT INCLUDES:


We are moving towards the World of Internet of Things (IoT). This technology plays a very important role in the Electronics and Embedded system. Sending an Email from any Microcontroller or Embedded system is very basic thing, which is required in IoT. So in this article, we will learn “How to send an Email using Wi-Fi and Arduino”.

For sending Email via Wi-Fi module and Arduino, first of all, we need to have an Email account. So the user can create an email account at smtp2go.com. After signup, remember your new email address and password.



HARDWARE REQUIRED

SOFTWARE REQUIRED

Arduino IDE 1.8.5 (programmable platform for Arduino)

Click To Download :https://www.arduino.cc/en/Main/Software

SPECIFICATIONS

20*4 LCD DISPLAY

Note


  • Colour tone may slightly change by Temperature and Driving Condition.
  • The Colour is defined as the inactive/background colour

  • LCD Display Mode: STN, Positive, Transflective
  • Display Colour: Deep Blue/ Yellow Green
  • Viewing Angle: 6H
  • Driving Method: 1/16 duty, 1/5 bias
  • Back Light: Yellow-Green LED backlight
  • Outline Dimension: 803615.8 MAX



POTENTIOMETER



ESP8266-01 WIFI MODULE



  • 802.11 b/g/n protocol
  • Wi-Fi Direct (P2P), soft-AP
  • Integrated TCP/IP protocol stack
  • Integrated TR switch, balun, LNA, power amplifier and matching network
  • Integrated PLL, regulators, and power management units
  • +19.5dBm output power in 802.11b mode
  • Integrated temperature sensor
  • Supports antenna diversity
  • Power down leakage current of < 10uA
  • Integrated low power 32-bit CPU could be used as an application processor
  • Wake up and transmit packets in < 2ms
  • Standby power consumption of < 1.0mW (DTIM3)

CIRCUIT CONNECTION

STEP-1

In this step, we will connect ESP8266 Wi-Fi module with Arduino and give it power supply from a 3.3v pin of Arduino

STEP-2

In this step, we need to sign-up for the Email address and Password (smtp2go.com). Smtp2go.com provides the email services, to send the emails using the outgoing email server.

STEP-3

We will need Username and Password in base64 encoded format with the UTF-8 character set. For converting the Email and Password in base64 encoded format use below given link. Keep the encoded username and password handy, we need it in our program to log in at smtp2go.com.

https://www.base64encode.org/

STEP-4

Now start writing code for sending Email. ‘Programming Explanation’ and Code is given at the end.

CIRCUIT DESCRIPTION

The circuit is very simple, for this project we only need Arduino and ESP8266 Wi-Fi module.

A 16x2 LCD is also connected for displaying the status messages. This LCD is optional. ESP8266’s Vcc and GND pins are directly connected to 3.3V and GND of Arduino and CH_PD is also connected with 3.3V.

Tx and Rx pins of ESP8266 are directly connected to pin 2 and 3 of Arduino. And Pin 2 of Arduino is also shorted with Tx pin (Pin 1) of Arduino. This pin is shorted for displaying response of ESP8266 directly on the Serial monitor of Arduino. Software Serial Library is used to allow serial communication on pin 2 and 3 of Arduino.

Note:For watching the response of ESP8266 on Serial Monitor, don’t initialize the Serial.begin(9600) function.

PROGRAMMING EXPLANATION

1. In programming part first we include libraries and define pins for LCD & software serial communication. By default Pin 0 and 1 of Arduino are used for serial communication but by using SoftwareSerial library, we can allow serial communication on other digital pins of the Arduino.

2. void connect_wifi(String cmd, int t) Function is defined to Connect the Wi-Fi module to the Internet.

void connect_wifi(String cmd, int t)
{ int temp=0,i=0; while(1) {
Serial1.println(cmd);
while(Serial1.available()) {
if(Serial1.find("OK")) ... .... .... ... .....

3. After it connect module to SMTP server by using given commands:

lcd.print("Configuring Email..");

Serial1.println("AT+CIPSTART=4,

"TCP","mail.smtp2go.com",2525");

delay(2000);

Serial1.println("AT+CIPSEND=4,20");

delay(2000);

Serial1.println("EHLO 192.168.1.123");

delay(2000);

Serial1.println("AT+CIPSEND=4,12");

Note: Many email servers will not accept email from a non-commercial, DHCP-issued IP address.

4. Now we will try to Login at smtp2go.co, using the base64 encoded User name and password, which we have derived in Step 4 above.

lcd.print("Try To Login.....");

Serial1.println("AUTH LOGIN");

delay(2000);

Serial1.println("AT+CIPSEND=4,30");

delay(2000);

Serial1.println("c2FkZGFtNDIwMUBnbWFpbC5jb20=");

//base64 encoded username delay(2000);

Serial1.println("AT+CIPSEND=4,18");

delay(2000);

Serial1.println("Y2lyY3VpdDQyMDE="); //base64 encoded password

5. After this, enter your main message that user wants to send. And send this email by ending line (sending).’

Serial1.println("Testing Success");

delay(2000);

Serial1.println("AT+CIPSEND=4,3");

delay(2000); Serial1.println('.');

delay(10000);

Serial1.println("AT+CIPSEND=4,6");

delay(2000);

Serial1.println("QUIT");

CODE

https://docs.google.com/document/d/e/2PACX-1vTMUFigaKpusGKEzYC8eYuDdRGpstgg-wLwfQpJVr0MR7GWaJuWclso-rq8tpCpEQA_5DxYyJ--P0ES/pub