IoT Lab 7-10
IoT Lab 7-10
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.
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.
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
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).