Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

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


CHAPTER 9


IoT Patterns: Location Aware


Location-aware devices are going to be one of the largest contributors of savings from
an IoT implementation. The IoT pattern is seen in various types of scenarios, including
optimal route planning, endangered wildlife tracking, and pinpointing crash locations.
In this chapter, you are going to build a livestock tracking system. Figure  9-1 shows a
high-level diagram of all the components involved in this system. The first component is
an Arduino device that captures the current coordinates and publishes them to a server
using an HTTP request. The second component is a server that receives GPS coordinates
and stores them in a database. The final component is a web page that shows stored GPS
coordinates on a map. This web page resides on the server as well.


Figure 9-1. The components of livestock tracking system


For the purposes of this project, you are going to be tracking only one animal.
Free download pdf