Hands-On Robotics with JavaScript: Build robotic projects using Johnny-Five and control hardware with JavaScript and Raspberry Pi

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

Book details

  • Authors:Kassandra Perch
  • Publisher:Packt Publishing
  • Publication date:August 31, 2018
  • ISBN-10:9781789342
  • ISBN-13:978-1789342055
  • Pages:214 pages
  • Format:epub
  • Size:32.37Mb
Get Download Link

Leave a Reply

Your email address will not be published. Required fields are marked *