Building Arduino Projects for the Internet of Things
CHAPTER 11 ■ IOT PATTERNS: MACHINE TO MACHINE void loop() { // Read sensor data readSensorData(); // Delay delay(5000); } Your A ...
CHAPTER 11 ■ IOT PATTERNS: MACHINE TO MACHINE Listing 11-5. Code for Including External Dependencies include <SPI.h> inclu ...
CHAPTER 11 ■ IOT PATTERNS: MACHINE TO MACHINE else { // Turn lights on/off turnLightsOnOff("OFF"); } } Control Lights The fourth ...
CHAPTER 11 ■ IOT PATTERNS: MACHINE TO MACHINE Listing 11-8. Code for Standard Arduino Functions void setup() { // Initialize ser ...
CHAPTER 11 ■ IOT PATTERNS: MACHINE TO MACHINE Figure 11-3 shows the Serial Monitor window with log messages generated from the ...
CHAPTER 11 ■ IOT PATTERNS: MACHINE TO MACHINE Summary In this chapter you learned how to make multiple devices communicate with ...
© Adeel Javed 2016 253 A. Javed, Building Arduino Projects for the Internet of Things, DOI 10.1007/978-1-4842-1940-9_12 CHAPTER ...
CHAPTER 12 ■ IOT PLATFORMS Learning Objectives At the end of this chapter, you will be able to: Read soil moisture sensor data ...
CHAPTER 12 ■ IOT PLATFORMS Circuit In this section, you are going to build the circuit required for the soil moisture control sy ...
CHAPTER 12 ■ IOT PLATFORMS Xively Setup As mentioned earlier, Xively is a popular IoT platform. To use Xively, you first need to ...
CHAPTER 12 ■ IOT PLATFORMS On the device setup screen, enter a device name and device description, as provided in Figure 12-7. ...
CHAPTER 12 ■ IOT PLATFORMS Xively will automatically generate a unique API key and a Feed ID, and both of these are required in ...
CHAPTER 12 ■ IOT PLATFORMS As mentioned earlier, Xively automatically generates an API key, but you have the option to add your ...
CHAPTER 12 ■ IOT PLATFORMS Enter the values of your channel, as shown in Figure 12-11. Channel ID is the only required field, a ...
CHAPTER 12 ■ IOT PLATFORMS If the location of the device is important, you can set that from the Location section as well, as sh ...
CHAPTER 12 ■ IOT PLATFORMS Figure 12-15 shows how the location information will be displayed on the dashboard. Figure 12-14. Se ...
CHAPTER 12 ■ IOT PLATFORMS For now, there are no more setups needed in Xively. Zapier Setup Xively supports triggering external ...
CHAPTER 12 ■ IOT PLATFORMS ■ Note You can also trigger a Zapier task from Arduino using the HTTP POST method discussed in Chapte ...
CHAPTER 12 ■ IOT PLATFORMS You have to send out an e-mail when this task is called, so from Action app dropdown, select Email by ...
CHAPTER 12 ■ IOT PLATFORMS Since you selected Email by Zapier as your action, Step 3 does not require any input from you, as sho ...
«
6
7
8
9
10
11
12
13
14
15
»
Free download pdf