Prototyping the Internet of Things with JavaScript
$14.99
Minimum price
$19.99
Suggested price

Prototyping the Internet of Things with JavaScript

About the Book

The book is about using JavaScript to quickly prototype Internet of Things projects that involve both connected hardware and online applications/services. It leverages on hardware platforms for the IoT that can already be programmed in JavaScript (like the Tessel WiFi board) and on frameworks like the Node-RED for easily prototyping IoT applications. In addition it shows how to use use of a complete open-source solution for IoT data streaming and management. Prototyping the Internet of Things with JavaScript provides you with all the building blocks you need to start developing end-to-end IoT applications in JavaScript.

More specifically you will learn about:

  • What is the Internet of Things and why prototype with JavaScript
  • Programming the Tessel WiFi and the Espruino
  • Using various sensors and actuators
  • IoT protocols like MQTT, CoAP and WebSockets
  • Turning your RaspberryPi into an IoT Gateway
  • Manage IoT data with servIoTicy
  • Create your device API with LoopBack
  • Building a full end-to-end IoT application

About the Author

Charalampos Doukas
Charalampos Doukas

Internet of Things enthusiasist, maker, blogger, author, open hardware fan, researcher. 

Blogging about the Internet of Things

Blogging about medical devices based on Arduino

Table of Contents

  • Foreword
  • Part 1 JavaScript for the Internet of Things
  • The Internet of Things
    • So what is the Internet of Things?
    • Basic components of the IoT
    • Open Source Hardware for the IoT
    • Open Source Software for the IoT
    • Summary
  • JavaScript for the Internet of Things
    • Why JavaScript ?
    • Meet the Espruino board
    • Meet the Tessel WiFi board
    • JavaScript & IoT: What else is out there?
    • Summary
  • Part 2 Programming IoT Devices with JavaScript
  • Working with the Espruino board
  • Working with the Tessel board
  • Sensors and Actuators
    • How Sensors work
    • Examples of sensors and working principles
    • Actuators
    • Working with sensors & actuators
    • Summary
  • Communication modules
    • RFID
    • Bluetooth
    • ZigBee
    • WiFi
    • RF links
    • Mobile Internet
    • Wired Communication
    • What to use in IoT projects?
  • The IoT Protocols: Make it talk with the Internet
  • Creating an IoT Gateway with RaspberryPi and JavaScript
  • The Node-RED IoT Workflow Editor
    • Introduction
    • Setup your Node-RED instance
    • Your first Node-RED flows
    • Writing custom code using function nodes
    • The default Node-RED nodes
    • Install additional nodes
    • Make it blink - Use Node-RED to control hardware
    • Your first IoT flow
    • Prototype a complete IoT application
    • Summary
  • Part 3 Prototyping an IoT Application
  • Use MQTT on the Server side
    • Install an MQTT broker
    • Create a Node.js MQTT broker application for better client management
  • Using WebSockets for responsive WebClients
  • Create your Device API with LoopBack
  • Manage IoT Data with servIoTicy
    • What is servIoTicy
    • Basic Terminology: Service Objects, Streams and Channels
    • Create and Manage a Service Object
    • Upload some data
    • Retrieve data and make queries
    • Data Subscriptions: Get notified on new sensor data
    • Actuations: Control your devices over MQTT or WebSockets
    • Summary
  • Build a complete end-to-end IoT Application

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

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub