IoT Prototyping Workshop: Quick start

Get to know your components

Your NodeBot kit contains these components. Learn a little bit about them so you can plan your creation.

There are also a bunch of components in the community parts pile, but we’ll get to that later.

Hello Nodebot

The first goal is to set up your development environment, and verify that it’s working by building a ‘Hello, World’ circuit: an LED and a button.

Video


  • 00:22 - What you need & prerequisites
  • 02:04 - Install Firmata on the Arduino
  • 03:28 - Install Node.js
  • 04:09 - Init project
  • 05:06 - Install Johnny-Five
  • 05:40 - Build button circuit from example
  • 10:08 - Copy button code from example
  • 11:45 - Add LED circuit
  • 14:04 - Add LED code
  • 15:00 - Debug circuit (I wired the LED backwards)
  • 17:12 - Demo & wrap up

Source code

Add some Internet with Firebase Database

Once you have a working robot, add some Internet to your IoT device with Firebase’s Realtime Database.

Video


  • 00:15 - Why Firebase RTDB is awesome
  • 00:34 - Problems it’s a poor fit for
  • 01:19 - What you need & prerequisites
  • 01:40 - Install firebase-tools
  • 02:34 - Create a Firebase Realtime Database
  • 03:56 - Add the firebase-admin library
  • 04:55 - Authenticate the firebase-admin library
  • 07:39 - Save button presses to the database
  • 09:10 - Verify that button presses write
  • 09:37 - Read data & light the LED
  • 12:21 - Verify the LED reads
  • 13:10 - Wrap up

Source code

What’s next?

Return to the workshop index, or proceed to robot building tutorials.