JavaScript on Things

Hacking hardware for web developers

JavaScript on Things

Book Name: JavaScript on Things
Author: Lyza Danger Gardner
ISBN-10: 1617293865
Year: 2018
Pages: 448
Language: English
File size: 36.12 MB
File format: PDF

JavaScript on Things Summary

JavaScript on Things is your first step into the exciting and downright entertaining world of programming for small electronics. If you know enough JavaScript to hack a website together, you’ll be making things go bleep, blink, and spin faster than you can say “nodebot.”

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Are you ready to make things move? If you can build a web app, you can create robots, weather stations, and other funky gadgets! In this incredibly fun, project-based guide, JavaScript hardware hacker Lyza Danger Gardner takes you on an incredible journey from your first flashing LED through atmospheric sensors, motorized rovers, Bluetooth doorbells, and more. With JavaScript, some easy-to-get hardware, and a bit of creativity, you’ll be beeping, spinning, and glowing in no time.

About the Book

JavaScript on Things introduces the exciting world of programming small electronics! You’ll start building things immediately, beginning with basic blinking on Arduino. This fully illustrated, hands-on book surveys JavaScript toolkits like Johnny-Five along with platforms including Raspberry Pi, Tessel, and BeagleBone. As you build project after interesting project, you’ll learn to wire in sensors, hook up motors, transmit data, and handle user input. So be warned: once you start, you won’t want to stop.

What’s Inside

  • Controlling hardware with JavaScripti
  • Designing and assembling robots and gadgets
  • A crash course in electronics
  • Over a dozen hands-on projects!

About the Reader

Written for readers with intermediate JavaScript and Node.js skills. No experience with electronics required.

About the Author

Lyza Danger Gardner has been a web developer for over 20 years. She’s part of the NodeBots community and a contributor to the Johnny-Five Node.js library.

Table of Contents

PART 1 – A JAVASCRIPTER’S INTRODUCTION TO HARDWARE

    1. Bringing JavaScript and hardware together
    2. Embarking on hardware with Arduino
    3. How to build circuits

PART 2 – PROJECT BASICS: INPUT AND OUTPUT WITH JOHNNY-FIVE

    1. Sensors and input
    2. Output: making things happen
    3. Output: making things move

PART 3 – MORE SOPHISTICATED PROJECTS

    1. Serial communication
    2. Projects without wires
    3. Building your own thing

PART 4 – USING JAVASCRIPT WITH HARDWARE IN OTHER ENVIRONMENTS

  1. JavaScript and constrained hardware
  2. Building with Node.js and tiny computers
  3. In the cloud, in the browser, and beyond

Download PDF