+21622886281

Purpose of this tutorial:

In this tutorial we will send an email with the Arduino board when a push button is pressed.

First, we must use an SMTP server which allows to send an email by the Arduino board.

Then, we must have the ESP8266 wifi card which allows you to connect the Arduino card to the Internet by wifi.

Necessary components:

  • Arduino
  • ESP8266 wifi
  • Power module

  • Pushbutton

Mounting

To perform the assembly, you can connect:

  • The RX pin of the ESP8266 board to pin 4 of the Arduino board

  • The TX pin of the ESP8266 board to pin 3 of the Arduino board

  • The GND pin of the ESP8266 board to the GND of the Arduino board

  • The two pins 3V3 and EN of the ESP8266 board to the 5V pin of the power supply module

  • The RST pin of the ESP8266 board to pin 8 of the Arduino board

  • the first leg of the push button to pin A0 of the Arduino board

  • the second leg of the push button to GND of the Arduino board

Program:




0 commentaire


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top