Node.js for Embedded Systems
Using Web Technologies to Build Connected Devices
Samenvatting
How can we build bridges from the digital world of the Internet to the analog world that surrounds us? By bringing accessibility to embedded components such as sensors and microcontrollers, JavaScript and Node.js might shape the world of physical computing as they did for web browsers.
This practical guide shows hardware and software engineers, makers, and web developers how to talk in JavaScript with a variety of hardware platforms. Authors Patrick Mulder and Kelsey Breseman also delve into the basics of microcontrollers, single-board computers, and other hardware components.
-Use JavaScript to program microcontrollers with Arduino and Espruino
-Prototype IoT devices with the Tessel 2 development platform
-Learn about electronic input and output components, including sensors
-Connect microcontrollers to the Internet with the Particle Photon toolchain
-Run Node.js on single-board computers such as Raspberry Pi and Intel Edison
-Talk to embedded devices with Node.js libraries such as Johnny-Five, and remotely control the devices with Bluetooth
-Use MQTT as a message broker to connect devices across networks
-Explore ways to use robots as building blocks for shared experiences
Specificaties
Inhoudsopgave
Why the Internet of Things?
JavaScript for Distributed Programming
JavaScript Runtime Environments
The Node.js API
2. Blink with Arduino
Getting Started with Microcontrollers
Arduino
The Firmata Bridge
Functional Blocks of an MCU
Firmware
3. Espruino
The Espruino Hardware
Programming Espruino
Variable Blink
Modules
Flashing Espruino Firmware
4. The Tessel 2
Hardware
Toolchain
Pin Abstractions
Embedded Internet with System-on-Chip
5. Particle Photon
The Particle Photon
Particle Command-Line Interface
OTA Code Deploys
6. Single-Board Computers
The Raspberry Pi
BeagleBone
The Intel Edison
Boards with 64-Bit Instruction Sets
Using Embedded Linux
Network Configuration
Running Node.js
Deploy Projects with Git
7. Components for Prototyping
Wiring Circuits
Basic Components
Sensors
Actuators
Multimedia
Cables
8. Node.js Libraries for Hardware
JavaScript for the Hardware Abstraction Layer
The node-serialport Library
The Johnny-Five Library
The LibMRAA Library
The Cylon.js Library
9. Exploring Network Protocols
The Hypertext Transfer Protocol
Building a Weather Station
The Transmission Control Protocol and User Datagram Protocol
The WebSocket Protocol
10. Web Frontends for Things
Adding Static Pages
Basic jQuery
Websockets in a Browser
The D3.js Library for Plotting Data
P5.js
11. Entering the Cloud
Publish–Subscribe Pattern
The MQTT Protocol
Cloud Services
System Design with NodeRED
12. Making Robots with Node.js
What Is a Robot?
Why Build Robots in Node.js?
The Tessel Project
Robot Kits
Example Project: The Robot Claw
Example Project: Move a Vehicle
13. Wireless Data with Bluetooth
The Bluetooth Low Energy Protocol
Libraries for Bluetooth
Example Project: Proximity Detection
14. Toward the Physical Internet
What Are Shared Experiences?
Impacts of the Physical Internet
15. From Products to Toolkits
JavaScript as a Toolkit
The Power of Modularity
Modularity in Hardware
Node.js: Driving Innovation in the IoT
Building Good Technology
Appendix A: Node.js
Appendix B: Early Hardware for IoT Systems
Index
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht