
Hands-On Robotics with JavaScript
Build robotic projects using Johnny-Five and control hardware with JavaScript and Raspberry Pi
Kassandra Perch(Author)
Packt Publishing
Published on 31. August 2018
Book
Paperback/Softback
214 pages
978-1-78934-205-5 (ISBN)
Description
Build amazing robots with Raspberry Pi 3 and JavaScript
Key Features
Program robots that light up, make noise, move around, and interact
Leverage JavaScript and Node.js to enhance your robotic programming skills
Connect your Johnny-Five projects to external APIs and create your own IoT projects
Book DescriptionJavaScript has an effective set of frameworks and libraries that provide support for embedded device programming and the robotics ecosystem. You'll be able to put your JavaScript knowledge to work with this practical robotics guide.
The book starts by guiding you in setting up an environment to program robots with JavaScript and Rasberry Pi 3. You will build beginner-level projects, such as a line-following robot, and then upgrade your robotics skills with a series of projects that help you get to grips with the Johnny-Five library. As you progress, you'll learn how you can improve your projects by enabling advanced hardware components and programming concepts. You'll even build an advanced AI-enabled robot, connect its NodeBots to the internet, create a NodeBots Swarm, and explore Message Queuing Telemetry Transport (MQTT).
By the end of this book, you will have enhanced your robot programming skills by building a range of simple to complex projects.What you will learn
Install and run Node.js and Johnny-Five on Raspberry Pi
Understand how to assemble, code, and run an LED project
Use JavaScript libraries to enhance your robotics skills
Explore the use of sensors to collect data
Add internet capabilities to your Johnny-Five projects
Delve into AI robotics and build AI-enabled robots
Who this book is forIf you want to explore the world of IoT with JavaScript, this book is for you. You'll also find this book useful if you're interested writing JavaScript sketches. A basic knowledge of JavaScript and Node.js is necessary to understand the concepts covered.
Key Features
Program robots that light up, make noise, move around, and interact
Leverage JavaScript and Node.js to enhance your robotic programming skills
Connect your Johnny-Five projects to external APIs and create your own IoT projects
Book DescriptionJavaScript has an effective set of frameworks and libraries that provide support for embedded device programming and the robotics ecosystem. You'll be able to put your JavaScript knowledge to work with this practical robotics guide.
The book starts by guiding you in setting up an environment to program robots with JavaScript and Rasberry Pi 3. You will build beginner-level projects, such as a line-following robot, and then upgrade your robotics skills with a series of projects that help you get to grips with the Johnny-Five library. As you progress, you'll learn how you can improve your projects by enabling advanced hardware components and programming concepts. You'll even build an advanced AI-enabled robot, connect its NodeBots to the internet, create a NodeBots Swarm, and explore Message Queuing Telemetry Transport (MQTT).
By the end of this book, you will have enhanced your robot programming skills by building a range of simple to complex projects.What you will learn
Install and run Node.js and Johnny-Five on Raspberry Pi
Understand how to assemble, code, and run an LED project
Use JavaScript libraries to enhance your robotics skills
Explore the use of sensors to collect data
Add internet capabilities to your Johnny-Five projects
Delve into AI robotics and build AI-enabled robots
Who this book is forIf you want to explore the world of IoT with JavaScript, this book is for you. You'll also find this book useful if you're interested writing JavaScript sketches. A basic knowledge of JavaScript and Node.js is necessary to understand the concepts covered.
More details
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 12 mm
Weight
410 gr
ISBN-13
978-1-78934-205-5 (9781789342055)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Kassandra Perch
Hands-On Robotics with JavaScript
Build robotic projects using Johnny-Five and control hardware with JavaScript and Raspberry Pi
E-Book
09/2024
Packt Publishing
€31.49
Available for download
Person
Kassandra Perch is an open web developer and supporter. She began as a frontend developer and moved to server-side with the advent of Node.js and was especially enthralled by the advance of the NodeBots community. She travels the world speaking at conferences about NodeBots and the fantastic community around them.
Content
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
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