0% found this document useful (0 votes)
86 views4 pages

IoT Lab 7-10

This document outlines 10 microcontroller lab problems involving using an ESP8266 WiFi module to log and transmit sensor data to cloud services, control devices remotely through the cloud, interact with social media by posting to Twitter and Facebook, and send email alerts using IFTTT. The objectives, hardware/software requirements, and brief descriptions are provided for each problem.

Uploaded by

Gustavo Sánchez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
86 views4 pages

IoT Lab 7-10

This document outlines 10 microcontroller lab problems involving using an ESP8266 WiFi module to log and transmit sensor data to cloud services, control devices remotely through the cloud, interact with social media by posting to Twitter and Facebook, and send email alerts using IFTTT. The objectives, hardware/software requirements, and brief descriptions are provided for each problem.

Uploaded by

Gustavo Sánchez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Microcontroller Labs

Prof. Gustavo Sanchez


Adapted from Kumar, Mishra and Rutray (2018)
July, 2019

Problem 7 Cloud Data Logging


Objective: To log data measurements in the cloud and display these mea-
surements on a online dash board using ESP8266 WiFi module.

Hardware and Software Requirements:


a. ESP8266 WiFi module
b. Sensors to generate data
c. Breadboard and Jumper wires for connection.
d. Cloud service to log and visualize our data.

Brief Description:
Data collection and analysis are two important aspects of any IOT environ-
ment. Data collected or measured can be transmitted to the cloud where it can
be processed and displayed for the user to see or for further analysis. A simple
cloud data logger is created to log measurements in the cloud and display these
measurements inside an online dashboard.

1
Problem 8 Controlling through Cloud
Objective: To control devices (LED here) through cloud from anywhere in
the world using the ESP8266 WiFi module.

Hardware and Software Requirements:


a. Same as Project-1
b. LED and 220 resistor
c. aREST and PubSubClient libraries installed in the Arduino IDE.
d. An account on the aREST dashboard website is to be created which is
free of cost.

Brief Description:
A simple led light system that can be controlled from the cloud from any-
where in the world is created here. The LEDs can be controlled from a simple
web browser or from an online dashboard or even from a mobile app that con-
nects to the server. The aREST cloud service is used which simpli…es the MQTT
communication process. MQTT is a light-weight communication protocol for
IOT devices. The LED is connected to any digital pin of the ESP8266 which
is connected to the cloud. From the cloud the state of the pin can be toggled
which toggles the LED. It can also be toggled from an online dashboard or its
brightness can even be increased/decreased. This can be expanded to a bigger
picture where a household bulb is controlled from the cloud in place of the LED.

2
Problem 9 Interacting with social media
Objective: Data is posted to Twitter, Facebook.

Hardware and Software Requirements:


a. Same as Project-1
b. Arduino IDE with added support for ESP8266 board.
c. Temboo cloud services (using the free plan) for demonstration purpose.
d. Temboo Arduino library.

Brief Description:
Social media has seen exponential growth in the last decade. IOT can help it
grow further. The ESP8266 WiFi module is used to interact with web services
like Twitter and Facebook. By this the physical world is made to interact with
those services via any IoT platform. The ESP8266 is used to post any data to
Twitter, create a Facebook post.

3
Problem 10 Sending out e-mail alerts
Objective: To send out e-mail noti…cations

Hardware and Software Requirements:


a. Same as Project-1
b. IFTTT web based service (free)

Brief Description:
IOT devices can be made to alert users when something signi…cant happens
or simply at regular intervals. Here, the ESP8266 WiFi module is designed to
send email when certain condition is met.
The IFTTT web service is used that can put two web services in contact via
recipes that are activated by a trigger which in return triggers another action.
The ESP8266 can be con…gured to send messages on many di¤erent scenarios
such as the occurence of any speci…c event or on a regular basis. Try also
Machine-to-Machine communication (ESP8266 to ESP8266).

You might also like