Hands-On Robotics with JavaScript: Build robotic projects using Johnny-Five and control hardware with JavaScript and Raspberry Pi
Authors: Kassandra Perch
ISBN-10: 1789342058
ISBN-13: 9781789342055
Released: 2018-08-31
Print Length 页数: 214 pages
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
Contents
1: 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 INFORMATION YOU NEED
10: USING MQTT TO TALK TO THINGS ON THE INTERNET
11: BUILDING A NODEBOTS SWARM
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
Authors
Kassandra Perch
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.