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
- 出版商: Packt Publishing
- 出版日期: 2018-08-31
- 售價: $1,830
- 貴賓價: 9.5 折 $1,739
- 語言: 英文
- 頁數: 214
- 裝訂: Paperback
- ISBN: 1789342058
- ISBN-13: 9781789342055
-
相關分類:
JavaScript、Raspberry Pi、機器人製作 Robots
海外代購書籍(需單獨結帳)
相關主題
商品描述
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
- Understanding and setting up your development environment
- Creating Your First Johnny-Five project
- Building Interactive projects with RGB LED
- Bringing in Input with Buttons
- Using a light sensor to create a night-light
- Using Motors to Move Your Project
- Using Servos for Measured Movement
- The Animation Library
- Getting the info you need
- Using MQTT to talk to things on the internet
- 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 燕群