In week 2 we consider how the design of the World Wide Web provides guidance on the construction of the internet of things.
We look at three interaction patterns provided by HTTP. These are the standard request and response, asynchronous JavaScript and XML (AJAX), and websockets.
We also discuss the publish/subscribe model by publishing events to the Particle cloud and subscribing to those events with Node-RED.
Security and privacy are continuing concerns.
We argue that, with the adoption of web standards, an interoperable internet of things is possible.
The Particle IDE is introduced and over the air updates are described and shown. Micro controller to Node-RED is demonstrated. Javascript is used to program individual nodes.
- Enabling the Internet of Things
- HTTP interaction patterns
- Demonstration: Server side AJAX in Node.js
- Demonstration: Websockets and Node.js and a browser
- Demonstration: Microcontroller to Node.js communications
- Demonstration: The Particle IDE
- There is no project assigned during week 2.
- Quiz 1 is on Canvas at the start of class on Tuesday.
- Quiz 1 Covers "Smart Connected Products" and "Enabling the Internet of Things".