This post provides an overview and learning objectives of Chapter 7 from my book Building Arduino Projects for the Internet of Things.

Introduction

Compared to realtime IoT pattern that provides end users data instantaneously, on demand pattern provides end users data only when requested. IoT applications built using this pattern get information by either directly accessing the device or getting it from a pre-stored location. On demand pattern is useful when your application is not actively looking for data, instead only accesses it when needed.

In this chapter, you are going to build an example of this pattern, a Smarter Parking System. Figure below shows a high-level diagram of all components involved in building this system. First component is an Arduino device that monitors status of parking spots with proximity sensor and publishes it to a server using HTTP request. Second component is a server with services to store parking spots data and an interface service that provides number of open parking spots. The final component is an iOS app that accesses open parking spots data and displays it to users when requested.

CodifyThings - Building Arduino Projects for the Internet of Things (IoT)

Learning Objectives

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

  • Read data from a proximity sensor
  • Send sensor data to a server using HTTP
  • Display sensor data in an iOS app using HTTP

Final Product

CodifyThings - Building Arduino Projects for the Internet of Things (IoT)  CodifyThings - Building Arduino Projects for the Internet of Things (IoT)

Find step by step instructions on building this and many other real-world applications, click below to order your copy today!

CodifyThings - Building Arduino Projects for the Internet of Things (IoT)