Book Description
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
中文:
书名:Hands-On Robotics with JavaScript
利用Raspberry PI 3和不同的JavaScript平台构建令人兴奋的Robotics项目
Key Features
- 制造能够点亮和制造噪音的机器人
- 学习使用树莓PI 3和Java脚本
- 将您的Johnny-Five项目连接到外部API并创建您自己的物联网
Book Description
在硬件和嵌入式设备编程中,JavaScript的使用迅速增加。JavaScript有一套有效的框架和库来支持机器人生态系统。
使用JavaScript的动手机器人技术首先要设置一个环境,以便用JavaScript对机器人进行编程。然后,您将开始构建基本级别的项目,如直线跟踪机器人。你将经历一系列的项目,这些项目将教你有关Johnny-Five图书馆的知识,并在每个项目中发展你的技能。在你读完这一章的过程中,你将致力于创造一个闪烁的LED,然后再转向传感器和其他更高级的概念。然后,您将继续构建支持AI的高级机器人,将它们的Nodebots连接到互联网,创建Nodebots群,并探索MQTT。
到本书结束时,您将获得使用JavaScript构建机器人的实践经验
What you will learn
- 在Raspberry PI上安装和运行Node.js和Johnny-Five
- 组装、编码和运行LED项目
- 利用JAVASCRIPT库构建令人兴奋的机器人
- 使用传感器从您周围的世界收集数据
- 使用伺服和马达来推动您的项目
- 为您的Johnny-Five项目添加互联网功能
Who this book is for
Robotics with JavaScript是为那些有树莓派3经验并喜欢用JavaScript写草图的个人而设计的。对JavaScript和Node.js的基础知识将帮助您最大限度地利用本书。
Table of Contents
- 了解和设置您的开发环境
- 创建您的第一个Johnny-Five项目
- 使用RGB LED构建交互式项目
- 引入带有按钮的输入
- Using a light sensor to create a night-light
- 使用Motors移动您的项目
- 使用伺服系统测量运动
- 动画库
- 获取您需要的信息
- 使用MQTT与互联网上的事物交谈
- 构建节点机器人群
评论前必须登录!
注册