CHAPTER 7 ■ IOT PATTERNS: ON-DEMAND CLIENTS
140
Since this is just an example to help you better understand the pattern, it’s purposely
simple. You are going to check the status of only a single parking spot. The project can be
easily scaled for multiple parking spots.
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
Hardware Required
Figure  7-2 provides a list of all hardware components required for building this smarter
parking system.
Figure 7-2. Hardware required for the smarter parking system
Précédent

- 159/299

Suivant