
Learning Javascript Robotics
Design, build, and program your own remarkable robots with JavaScript and open source hardware
Kassandra Perch(Author)
Packt Publishing
Published on 25. November 2015
Book
Paperback/Softback
160 pages
978-1-78588-334-7 (ISBN)
Description
Design, build, and program your own remarkable robots with JavaScript and open source hardware
Key Features
Book DescriptionThere has been a rapid rise in the use of JavaScript in recent times in a variety of applications, and JavaScript robotics has seen a rise in popularity too. Johnny-Five is a framework that gives NodeBots a consistent API and platform across several hardware systems.
This book walks you through basic robotics projects including the physical hardware builds and the JavaScript code for them. You'll delve into the concepts of Johnny-Five and JS robotics.
You'll learn about various components such as Digital GPIO pins, PWM output pins, Sensors, servos, and motors to be used with Johnny-Five along with some advanced components such as I2C, and SPI. You will learn to connect your Johnny-Five robots to internet services and other NodeBots to form networks. By the end of this book, you will have explored the benefits of the Johnny-Five framework and the many devices it unlocks.What you will learn
Familiarise yourself with JohnnyFive Read, Eval, and Print Loop (REPL) to modify and debug robotics code in real time
Build robots with basic output devices to create projects that light up, make noise, and more
Create projects with complex output devices, and employ the JohnnyFive API to simplify the use of components that require complex interfaces, such as I2C
Make use of sensors and input devices to allow your robotics projects to survey the world around them and accept input from users
Use the Sensor and Motor objects to make it much easier to move your robotics projects
Learn about the Animation API that will allow you to program complex movements using timing and key frames
Bring in other devices to your JohnnyFive projects, such as USB devices and remotes
Connect your JohnnyFive projects to external APIs and create your own Internet of Things!
Who this book is for
Key Features
Book DescriptionThere has been a rapid rise in the use of JavaScript in recent times in a variety of applications, and JavaScript robotics has seen a rise in popularity too. Johnny-Five is a framework that gives NodeBots a consistent API and platform across several hardware systems.
This book walks you through basic robotics projects including the physical hardware builds and the JavaScript code for them. You'll delve into the concepts of Johnny-Five and JS robotics.
You'll learn about various components such as Digital GPIO pins, PWM output pins, Sensors, servos, and motors to be used with Johnny-Five along with some advanced components such as I2C, and SPI. You will learn to connect your Johnny-Five robots to internet services and other NodeBots to form networks. By the end of this book, you will have explored the benefits of the Johnny-Five framework and the many devices it unlocks.What you will learn
Familiarise yourself with JohnnyFive Read, Eval, and Print Loop (REPL) to modify and debug robotics code in real time
Build robots with basic output devices to create projects that light up, make noise, and more
Create projects with complex output devices, and employ the JohnnyFive API to simplify the use of components that require complex interfaces, such as I2C
Make use of sensors and input devices to allow your robotics projects to survey the world around them and accept input from users
Use the Sensor and Motor objects to make it much easier to move your robotics projects
Learn about the Animation API that will allow you to program complex movements using timing and key frames
Bring in other devices to your JohnnyFive projects, such as USB devices and remotes
Connect your JohnnyFive projects to external APIs and create your own Internet of Things!
Who this book is for
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: 9 mm
Weight
312 gr
ISBN-13
978-1-78588-334-7 (9781785883347)
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
Learning Javascript Robotics
Design, build, and program your own remarkable robots with JavaScript and open source hardware
E-Book
10/2025
Packt Publishing
from
€24.93
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
Getting Started with JS Robotics
Working with Johnny-Five
Using Digital and PWM Outputs
Using Specialized Outputs
Working with Sensors and Input Devices
Moving your Bot
Advanced Movement
Advanced components -I2C and other devices
Connecting NodeBots to other devices and services
Getting Started with JS Robotics
Working with Johnny-Five
Using Digital and PWM Outputs
Using Specialized Outputs
Working with Sensors and Input Devices
Moving your Bot
Advanced Movement
Advanced components -I2C and other devices
Connecting NodeBots to other devices and services