Nodebots - Javascript and robotics in the real world
Nodebots - Javascript and robotics in the real world
About the Book
Check the PT-BR version of this book clicking here
This book is for anyone who wants to take the first steps on Nodebots or who already worked with. Their contents will be shown with simple and low cost sensors some pain points on the real integrations of a Nodebot application, such as integration between external APIs from events reading some sensor data, as well as good practices in how to use automation for validations, tests, builds metrics and more.
In the end of this book you will know more about:
- Nodebots and microcontrollers
- What are nodebots, Microcontrollers and their integration with NodeJS
- Installing NodeJS on Windows, Linux, and Mac OS X
- Managing dependencies with NPM
- Starting your NodeJS project
- Adding packages and NPM commands
- About Open source hardware
- Installing Arduino IDE
- Initial setup of Arduino
- Firmata and Johnny Five
- Creating a Hello World
- Creating a Fire Alarm Project and Controlling the Flame Sensor
- Evolving our initial code
- Integrating with Piezo for audible warning
- Sending SMS to your phone using Twilio
- Creating unit tests for Fire Alarm
- Supporting Your Code on Multiple Operating Systems
- Adding Continuous Integration Servers to Your Project
- Travis-CI: Checking Your Code on Linux and OSX
- Appveyor: Checking your code in Windows
- Code coverage for your code
- Using Istanbul to check code coverage
- Integrating seamless integration server with coveralls
- Checking code complexity with PlatoJS
You will learn directly with some real projects, using important concepts of software development, showing with simple and cheap ideas how to integrate Nodebots into our day-by-day life can be something simple and practical!
Table of Contents
- About the author
- Introduction
- Acknowledgements
-
Nodebots and microcontrollers
- What are nodebots?
- Microcontrollers
- NodeJS
- Managing dependencies with NPM
- Arduino
- Firmata
- Johnny Five
-
First project: Build Checker
- What is a pipeline build
- Creating a Build Checker
- Anatomy of a build checker
- Materials needed
- Creating the CI/CD build information request
- Tuning the architecture of our application
- Creating unit tests for build checker
-
Second project: Fire alarm
- Anatomy of a fire alarm
- Materials needed
- Controlling the Flame Sensor
- Evolving our initial code
- Integrating with Piezo for audible warning
- Sending SMS to your phone using Twilio
-
Supporting Your Code on Multiple Operating Systems
- Adding Continuous Integration Servers to Your Project
- Code coverage for your code
-
Appendix
- Breadboard
- Piezo
- Resistors
- LED (Light-emitting diode)
- Sensors
- Protective Conductor (Ground or Ground Wire)
- Jumper Wires
- Push Button
- Next steps
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them