Node.JS for Embedded Systems: Using Web Technologies to Build Connected Devices (Paperback)

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板對於快速原型和探索嵌入式系統非常有用,但如果您想從Web瀏覽器控制或監控硬件,則需要開始使用JavaScript。

Web瀏覽器作為硬件的界面非常出色,因為它們在每個系統上都存在,使串行通信變得方便,並提供屏幕,而許多嵌入式系統通常沒有自己的屏幕。使用瀏覽器作為界面,JavaScript和Node.js提供了應用程序和硬件之間的通信。

- 學習如何使用Web瀏覽器作為嵌入式硬件的界面
- 了解Node.js應用程序和硬件之間的基本消息傳遞,使用Sockets的發布和訂閱模式(消息傳遞對於物聯網至關重要)
- 使用庫在Node.js中處理位和字節
- 獲取使用Node.js和Johnny-5的交互式硬件設備示例(這顯示了JavaScript如何簡化硬件原型設計)
- 學習如何使用單板計算機(SBC)和/或Tessel在嵌入式設備內運行腳本(這些設備可以作為家庭自動化、通信和機器人的基礎)