JavaScript on Things
eBook - ePub

JavaScript on Things

Hacking hardware for web developers

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

JavaScript on Things

Hacking hardware for web developers

About this book

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

  • Bringing JavaScript and hardware together
  • Embarking on hardware with Arduino
  • How to build circuits

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

  • Sensors and input
  • Output: making things happen
  • Output: making things move

PART 3 - MORE SOPHISTICATED PROJECTS

  • Serial communication
  • Projects without wires
  • Building your own thing

PART 4 - USING JAVASCRIPT WITH HARDWARE IN OTHER ENVIRONMENTS

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

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 more here.
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 1000+ topics, we’ve got you covered! Learn more here.
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 here.
Yes! You can use the Perlego app on both iOS or 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 JavaScript on Things by Lyza Gardner in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Copyright
  2. Brief Table of Contents
  3. Table of Contents
  4. Preface
  5. Acknowledgments
  6. About this Book
  7. Part 1. A JavaScripter’s introduction to hardware
  8. Part 2. Project basics: input and output with Johnny-Five
  9. Part 3. More sophisticated projects
  10. Part 4. Using JavaScript with hardware in other environments
  11. Index
  12. List of Figures
  13. List of Tables
  14. List of Listings