Hands-On Robotics with JavaScript: Build robotic projects using Johnny-Five and control hardware with JavaScript and 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,並創建自己的物聯網

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

《使用 JavaScript 進行實踐機器人項目》從建立 JavaScript 機器人編程環境開始。然後,您將深入研究建立基礎級別項目,例如跟隨線機器人。您將通過一系列項目學習 Johnny-Five 库,並逐步提高技能。隨著章節的進展,您將開始創建閃爍的 LED,然後轉向傳感器和其他更高級的概念。然後,您將進一步建立一個高級 AI 機器人,將其 NodeBots 連接到互聯網,創建一個 NodeBots Swarm,並探索 MQTT。

通過閱讀本書,您將獲得使用 JavaScript 建立機器人的實踐經驗。

您將學到:
- 在 Raspberry Pi 上安裝和運行 Node.js 和 Johnny-Five
- 組裝、編碼和運行 LED 項目
- 利用 JavaScript 库來建立令人興奮的機器人
- 使用傳感器從周圍環境中收集數據
- 使用伺服馬達使項目移動
- 為 Johnny-Five 項目添加互聯網功能

本書適合對 Raspberry Pi 3 有先前經驗並喜歡使用 JavaScript 編寫程式的個人。基本的 JavaScript 和 Node.js 知識將幫助您充分利用本書。

目錄:
1. 瞭解並設置開發環境
2. 創建您的第一個 Johnny-Five 項目
3. 使用 RGB LED 建立互動項目
4. 使用按鈕進行輸入
5. 使用光感應器創建夜燈
6. 使用馬達移動您的項目
7. 使用伺服馬達進行測量運動
8. 動畫庫
9. 獲取所需的信息
10. 使用 MQTT 與互聯網上的設備通信
11. 建立 NodeBots Swarm