LEADER 05142nam 2200565 450 001 9910136619503321 005 20161024011047.0 010 $a1-4919-2894-8 010 $a1-4919-2898-0 035 $a(CKB)3710000000894164 035 $a(EBL)4717210 035 $a(MiAaPQ)EBC4717210 035 $a(WaSeSS)IndRDA00091389 035 $a(CaSebORM)9781491928981 035 $a(EXLCZ)993710000000894164 100 $a20161025h20162016 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $2rdacontent 182 $2rdamedia 183 $2rdacarrier 200 10$aNode.js for embedded systems $eusing web technologies to build connected devices /$fPatrick Mulder and Kelsey Breseman 205 $aFirst edition. 210 1$aBeijing, [China] :$cO'Reilly,$d2016. 210 4$d©2016 215 $a1 online resource (264 p.) 300 $aIncludes index. 311 $a1-4919-2899-9 311 $a1-4919-2896-4 327 $aCopyright; Table of Contents; Foreword; Preface; Who This Book Is For; How to Use This Book; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; From Patrick; From Kelsey; Chapter 1. Connecting Worlds; Why the Internet of Things?; Embedded Devices; Embedded Internet; Protocols; Examples and Use Cases; JavaScript for Distributed Programming; JavaScript and the IoT; Hello World with JavaScript; JavaScript Runtime Environments; The Browser; The Server; Embedded Devices; The Node.js API; Buffer; Streams; Chapter 2. Blink with Arduino 327 $aGetting Started with MicrocontrollersArduino; The Blink Sketch; The Firmata Bridge; Programming an Arduino with JavaScript; Functional Blocks of an MCU; Pins; Microcontroller Versus Microprocessor; Block Diagrams; Analog Inputs; Pulse-Width Modulation; Pinouts; Firmware; Chapter 3. Espruino; The Espruino Hardware; Programming Espruino; Variable Blink; Modules; Flashing Espruino Firmware; Chapter 4. The Tessel 2; Hardware; Toolchain; Command-Line Interface; Pin Abstractions; Digital Pins; Analog Pins; Embedded Internet with System-on-Chip; Chapter 5. Particle Photon; The Particle Photon 327 $aParticle Command-Line InterfaceOTA Code Deploys; Chapter 6. Single-Board Computers; The Raspberry Pi; BeagleBone; The Intel Edison; Boards with 64-Bit Instruction Sets; Using Embedded Linux; Working with SD Cards; Embedded Linux Distributions; OpenWRT; Debian; Yocto; Network Configuration; Debugging Network Settings; Running Node.js; Deploy Projects with Git; Chapter 7. Components for Prototyping; Wiring Circuits; Breadboards; Grove Kit; Soldering; Printed Circuit Boards; Tessel Modules; Basic Components; Datasheets; Passive Components; LEDs; Sensors; Temperature; Motion; Ultrasonic Distance 327 $aActuatorsServo Motors; Stepper Motors; DC Motors; Multimedia; Cables; Jumper Wires; USB Cables; FTDI-USB-Cable; Network Cables; Chapter 8. Node.js Libraries for Hardware; JavaScript for the Hardware Abstraction Layer; The node-serialport Library; Serial Communication with JavaScript; Scanning for Devices; Receiving Data from Arduino; Sending Data to Arduino; The Johnny-Five Library; An Empty Project; The Board Object; The Johnny-Five REPL; Buttons; Analog Inputs; Proximity; Nodebot; The I2C Library; The LibMRAA Library; MRAA Setup; Outputs; Reading Inputs; Interrupts; Communications 327 $aThe Cylon.js LibraryChapter 9. Exploring Network Protocols; The Hypertext Transfer Protocol; Requesting the Weather; Prepare the HTTP Client; Building a Weather Station; Adding a Database; The Transmission Control Protocol and User Datagram Protocol; The WebSocket Protocol; The ws Module; Remote Procedure Calls over Websockets; Chapter 10. Web Frontends for Things; Adding Static Pages; Basic jQuery; Adding the Model-View-Controller; Websockets in a Browser; A Bare Minimum Websocket Connection; The D3.js Library for Plotting Data; P5.js; Chapter 11. Entering the Cloud 327 $aPublish-Subscribe Pattern 330 $aHow 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. 606 $aEmbedded computer systems$xDesign and construction 606 $aJavaScript (Computer program language) 615 0$aEmbedded computer systems$xDesign and construction. 615 0$aJavaScript (Computer program language) 676 $a006.22 700 $aMulder$b Patrick$0798431 702 $aBreseman$b Kelsey 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910136619503321 996 $aNode.js for embedded systems$92802108 997 $aUNINA