Hands-On Robotics with JavaScript: Build robotic projects using Johnny-Five and control hardware with JavaScript and Raspberry Pi
暫譯: 使用 JavaScript 實作機器人:利用 Johnny-Five 建立機器人專案並用 JavaScript 控制硬體與 Raspberry Pi

Kassandra Perch

相關主題

商品描述

Leverage Raspberry Pi 3 and different JavaScript platforms to build exciting Robotics projects

Key Features

  • Build robots that light up and make noise
  • Learn to work with Raspberry Pi 3 and JavaScript
  • Connect your Johnny-Five projects to external APIs and create your own IoT

Book Description

There has been a rapid increase in the use of JavaScript in hardware and embedded device programming. JavaScript has an effective set of frameworks and libraries that support the robotics ecosystem.

Hands-On Robotics with JavaScript starts with setting up an environment to program robots in JavaScript. Then, you will dive into building basic-level projects such as a line-following robot. You will walk through a series of projects that will teach you about the Johnny-Five library, and develop your skills with each project. As you make your way through the chapters, you'll work on creating a blinking LED, before moving on to sensors and other more advanced concepts. You will then progress to building an advanced-level AI-enabled robot, connect their NodeBots to the internet, create a NodeBots Swarm, and explore MQTT.

By the end of this book, you will have gained hands-on experience in building robots using JavaScript

What you will learn

  • Install and run Node.js and Johnny-Five on Raspberry Pi
  • Assemble, code, and run an LED project
  • Leverage JavaScript libraries to build exciting robots
  • Use sensors to collect data from the world around you
  • Employ servos and motors to make your project move
  • Add internet capabilities to your Johnny-Five project

Who this book is for

Hands-On Robotics with JavaScript is for individuals who have prior experience with Raspberry Pi 3 and like to write sketches in JavaScript. Basic knowledge of JavaScript and Node.js will help you get the most out of this book.

Table of Contents

  1. Understanding and setting up your development environment
  2. Creating Your First Johnny-Five project
  3. Building Interactive projects with RGB LED
  4. Bringing in Input with Buttons
  5. Using a light sensor to create a night-light
  6. Using Motors to Move Your Project
  7. Using Servos for Measured Movement
  8. The Animation Library
  9. Getting the info you need
  10. Using MQTT to talk to things on the internet
  11. Building a NodeBots Swarm

商品描述(中文翻譯)

**利用 Raspberry Pi 3 和不同的 JavaScript 平台來構建令人興奮的機器人專案**

#### 主要特點
- 建造會發光和發出聲音的機器人
- 學習如何使用 Raspberry Pi 3 和 JavaScript
- 將你的 Johnny-Five 專案連接到外部 API,並創建自己的物聯網 (IoT)

#### 書籍描述
在硬體和嵌入式設備編程中,JavaScript 的使用迅速增加。JavaScript 擁有一套有效的框架和庫,支持機器人生態系統。

《Hands-On Robotics with JavaScript》從設置環境開始,以便用 JavaScript 編程機器人。接著,你將深入構建基本級別的專案,例如循跡機器人。你將通過一系列專案學習 Johnny-Five 庫,並在每個專案中提升你的技能。隨著你逐章進行,你將學習創建一個閃爍的 LED,然後再進入感測器和其他更高級的概念。接下來,你將進一步構建一個高級的 AI 啟用機器人,將它們的 NodeBots 連接到互聯網,創建 NodeBots 燕群,並探索 MQTT。

到本書結束時,你將獲得使用 JavaScript 構建機器人的實踐經驗。

#### 你將學到的內容
- 在 Raspberry Pi 上安裝和運行 Node.js 和 Johnny-Five
- 組裝、編碼並運行 LED 專案
- 利用 JavaScript 庫構建令人興奮的機器人
- 使用感測器收集周圍世界的數據
- 使用伺服器和馬達使你的專案移動
- 為你的 Johnny-Five 專案添加互聯網功能

#### 本書適合誰
《Hands-On Robotics with JavaScript》適合那些有 Raspberry Pi 3 使用經驗並喜歡用 JavaScript 編寫程式的人。對 JavaScript 和 Node.js 的基本知識將幫助你充分利用本書。

#### 目錄
1. 理解並設置你的開發環境
2. 創建你的第一個 Johnny-Five 專案
3. 使用 RGB LED 構建互動專案
4. 通過按鈕引入輸入
5. 使用光感測器創建夜燈
6. 使用馬達移動你的專案
7. 使用伺服器進行精確運動
8. 動畫庫
9. 獲取所需的信息
10. 使用 MQTT 與互聯網上的設備通信
11. 構建 NodeBots 燕群