Node.JS for Embedded Systems: Using Web Technologies to Build Connected Devices (Paperback)
暫譯: Node.JS 嵌入式系統:使用網頁技術構建連接設備 (平裝本)

Patrick Mulder

買這商品的人也買了...

相關主題

商品描述

This practical book shows you how to build web applications that connect devices to the Internet of Things, using JavaScript and the Node.js platform. Programming Arduino boards in C or C++ is great for quickly prototyping and exploring embedded systems, but if you want to control or monitor hardware from web browsers, you need to start speaking JavaScript.

Web browsers make excellent interfaces for hardware, because they come on every system, make serial communication convenient, and provide a screen, which many embedded systems often don’t have on their own. Using the browser as the interface, JavaScript and Node.js provide communication between applications and hardware.

  • Learn how to use web browsers as interfaces for embedded hardware
  • Understand basic messaging between Node.js applications and hardware with Sockets’ publish-and-subscribe pattern (messaging is key for IoT)
  • Use libraries to work with bits and bytes in Node.js
  • Get examples for interactive hardware devices with Node.js and Johnny-5 (this shows how JavaScript can simplify hardware prototyping)
  • Learn how to use a single-board computer (SBC) and/or Tessel to run scripts inside embedded devices (these devices can act as backbone for home automation, communication, and robots)

商品描述(中文翻譯)

這本實用的書籍教你如何使用 JavaScript 和 Node.js 平台來構建連接設備到物聯網的網頁應用程式。使用 C 或 C++ 編程 Arduino 板非常適合快速原型設計和探索嵌入式系統,但如果你想從網頁瀏覽器控制或監控硬體,你需要開始學習 JavaScript。

網頁瀏覽器是硬體的優秀介面,因為它們在每個系統上都可用,並且使串行通信變得方便,還提供了螢幕,而許多嵌入式系統通常沒有自己的螢幕。使用瀏覽器作為介面,JavaScript 和 Node.js 提供應用程式與硬體之間的通信。

- 學習如何使用網頁瀏覽器作為嵌入式硬體的介面
- 理解 Node.js 應用程式與硬體之間的基本消息傳遞,使用 Sockets 的發布-訂閱模式(消息傳遞是物聯網的關鍵)
- 使用函式庫在 Node.js 中處理位元和位元組
- 獲取使用 Node.js 和 Johnny-5 的互動硬體設備範例(這顯示了 JavaScript 如何簡化硬體原型設計)
- 學習如何使用單板電腦(SBC)和/或 Tessel 在嵌入式設備中運行腳本(這些設備可以作為家庭自動化、通信和機器人的骨幹)