Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

© Adeel Javed 2016 17 7
A. Javed, Building Arduino Projects for the Internet of Things,
DOI 10.1007/978-1-4842-1940-9_8


CHAPTER 8


IoT Patterns: Web Apps


As most of our day-to-day tasks and interactions move to mobile devices, web
applications will still have a place. In the IoT space, they will mainly be used for
monitoring and controlling large-scale implementations.
In this chapter, you are going to build a temperature monitoring system. Figure  8-1
shows a high-level diagram of all components involved in this system. The first component
is an Arduino device that gathers temperature data and publishes it to a server using an
HTTP request. The second component is a server that receives temperature data and
stores it in a database. The final component accesses temperature data from the server
and presents it to users in a web-based analytics dashboard. This web-based analytics
dashboard is going to reside in the server as well.


Figure 8-1. Components of the temperature monitoring system


Learning Objectives


At the end of this chapter, you will be able to:



  • Read data from a temperature sensor

  • Publish sensor data to a server

  • Display sensor data in a web-based dashboard

Free download pdf