This is the code repository for Hands-On Robotics with JavaScript, published by Packt.
Build robotic projects using Johnny-Five and control hardware with JavaScript and Raspberry Pi
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.
This book covers the following exciting features:
- 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
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
board.on("ready", function() {
// Everything else goes in here!
});
Following is what you need for this book: 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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-11).
- A laptop computer with any OS
- Raspberry Pi3
- Micro SD card (atleast 8 GB)
- Breadboard and wires
- Adafruit DC and Stepper Motor HAT for Raspberry Pi - Mini Kit
- Raspberry Pi 3 T-Cobbler
- GPIO expander board
- LCD hooked up to your Pi
- DC Toy / Hobby Motor - 130 Size
- 4 x AA Battery Holder with On/Off Switch
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
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.
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.