Hands-On Robotics with JavaScript
eBook - ePub

Hands-On Robotics with JavaScript

Build robotic projects using Johnny-Five and control hardware with JavaScript and Raspberry Pi

  1. 214 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Hands-On Robotics with JavaScript

Build robotic projects using Johnny-Five and control hardware with JavaScript and Raspberry Pi

About this book

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.

Tools to learn more effectively

Saving Books

Saving Books

Keyword Search

Keyword Search

Annotating Text

Annotating Text

Listen to it instead

Listen to it instead

Information

Year
2018
Print ISBN
9781789342055
eBook ISBN
9781789346732

Contributors

About the author

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.
Thank you very much to my very patient editors at Packt—I brought things down to the wire more than once and you all have handled it exceptionally. To my mentor, Ray—you taught me that there's always room for improvement. To my mother, Kelly, father Joe, sister Kaitlynn, and brother Alex—you have been there for me my whole life, and I love you all dearly. Finally, to Raquel Vélez and Rick Waldron: your NodeBots workshop at JSConf 2013 changed my life, and you're both wonderful stewards of the community.

About the reviewers

Amit Rana is a Passionate Electronics Engineer, Maker, an Embedded Systems Professional, and Trainer. He has founded and is running three different firms in Electronics R & D, Product Development, and Robotics education. He holds a master's degree in electronics engineering. He has over 10 years of experience in embedded system designing and programming using various microcontrollers, Arduino, and Raspberry Pi with wireless technologies. He is also a professional writer who writes blogs on technology and education. He writes assignments on technical documents for few clients and also writes blogs on his website.
Shahid Memon is an analytical master of science in autonomous robotics engineering graduate possessing a bachelor's degree in computer science. He has collaborated with colleagues on product feasibility studies and new product ideas to meet clients' needs and support the company objectives. He has coordinated several product development projects and assisted in the design and testing phase. He is a strategic thinker with the ability to drive company goals and analyze research impacting products and business needs. He is an avid researcher of the latest trends within the technology industry and how it affects the business. He is a proven leader having outstanding communication, interpersonal, project management, and supervisory skills....

Table of contents

  1. Title Page
  2. Copyright and Credits
  3. Dedication
  4. Packt Upsell
  5. Contributors
  6. Preface
  7. Setting Up Your Development Environment
  8. Creating Your First Johnny-Five Project
  9. Building Interactive Projects with RGB LED
  10. Bringing in Input with Buttons
  11. Using a Light Sensor to Create a Night-Light
  12. Using Motors to Move Your Project
  13. Using Servos for Measured Movement
  14. The Animation Library
  15. Getting the Information You Need
  16. Using MQTT to Talk to Things on the Internet
  17. Building a NodeBots Swarm
  18. Assessments
  19. Other Books You May Enjoy

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Hands-On Robotics with JavaScript by Kassandra Perch in PDF and/or ePUB format, as well as other popular books in Computer Science & Hardware. We have over one million books available in our catalogue for you to explore.