This IoT project explains how to interface ESP8266 WiFi module with Atmega16 Microcontroller to send email using the project.

Atmega16 doesn’t support any of the wireless communication protocols such as Wi-Fi and Bluetooth which limits its application areas in domain like IoT.  To overcome this limitation other controllers can be interfaced which has wireless protocols. There are number of controllers which supports wireless protocols like widely used ESP8266,

Today we will interface Atmega16 with ESP8266 NodeMCU to make it communicate wirelessly through internet. ESP8266 NodeMCU is widely used WiFi module with community support and easily available libraries. 

 

In this tutorial, email will be sent using ESP8266 NodeMCU module and Atmega16. The instructions will be given by Atmega16 and when ESP8266 receives the instructions, it will send an email to selected email recipient. ATmega16 and ESP8266 NodeMCU will communicate over UART serial communication. Although any communication protocol can be used to interface ATmega16 and ESP8266 NodeMCU such as SPI, I2C or UART.