IoT Lessons


Be Connected, and Be Smart

Lesson 1


Topics

  • let's start with littleBits
  • control 8x8 led matrix display
  • how about CLOUDBIT, to connect to Internet
  • Connection / communication types

Hands-on

littleBits coding with cloud account

Homework

  • littleBits API - http://developers.littlebitscloud.cc/
  • CLOUDBIT and IFTTT - http://littlebits.cc/cloudstart

Lesson 2


Topics

  • IFTTT: IF This Then That
  • IFTTT Recipes
  • Make Channel
  • IFTTT and Adafruit IO

Hands-on

Study IFTTT: the generic framework of IoT. Hook up various recipes.
Control hue light with IFTTT
Control La Metric with IFTTT

Homework

  • Further explore and play with different IFTTT receipes: https://ifttt.com/recipes
  • Make channel: https://ifttt.com/maker
  • Study Adafruit IO for future sensor data streaming: https://io.adafruit.com/
  • https://learn.adafruit.com/using-ifttt-with-adafruit-io/overview
  • https://learn.adafruit.com/adafruit-io/overview

Lesson 3


Topics

  • ESP8266 and NodeMCU
  • Push sensor data to cloud
  • Run web client on NodeMCU to log sensor data

Hands-on

Follow an instructable project

Homework

  • http://www.seeedstudio.com/recipe/1107-getting-started-with-nodemcu-devkit-in-arduino-ide.html
  • http://www.instructables.com/id/ESP8266-NodeMCU-v10-ESP12-E-with-Arduino-IDE

Lesson 4


Topics

  • NodeMCU - Control over network
  • Web Server mode

Hands-on

Follow this project: https://learn.adafruit.com/home-automation-in-the-cloud-with-the-esp8266-and-adafruit-io/introduction

Homework

  • Try this project http://www.seeedstudio.com/recipe/1109-control-your-electrical-devices-from-anywhere.html
  • Search and read about ESP8266 project possibilities

Lesson 5


Topics

  • MQTT
  • The advantages of MQTT
  • Lecture on MQTT essentials

Hands-on

Follow this project: https://home-assistant.io/blog/2015/10/11/measure-temperature-with-esp8266-and-report-to-mqtt/

Homework

  • Read more about MQTT: http://www.hivemq.com/blog/mqtt-essentials/
  • Lua setup for NodeMCU, and works with MQTT: http://www.foobarflies.io/a-simple-connected-object-with-nodemcu-and-mqtt
  • Also try this: https://github.com/gloveboxes/Arduino-NodeMCU-ESP82886-Mqtt-Client

Lesson 6


Topics

  • ESP8266 and IFTTT
  • Hack "Amazon dash buton" or That was easy button"

Hands-on

Follow this project: http://www.instructables.com/id/ESP8266-IFTTT-Autobot-Notification-System/

Homework

  • Amazon Dash: http://www.instructables.com/id/Amazon-Dash-Button-Hack/
  • Interesting button: https://www.hackster.io/noelportugal/esp8266-ifttt-easy-button-888a87
  • Button v2: https://www.hackster.io/noelportugal/ifttt-smart-button-e11841

Lesson 7


Topics

  • Introduce to more IoT boards
  • Sparkfun Redboard and CC3000
  • Intel Edison board
  • IoT Data hosts
  • NodeMCU motor shield

Hands-on

Try NodeMCU motor shield to control 2 wheels

Homework

  • Look at some of IoT data hosting and streaming services:
  • https://data.sparkfun.com/
  • https://www.pubnub.com/
  • https://temboo.com/streaming
  • https://thingspeak.com/
  • https://learn.adafruit.com/adafruit-io-basics-digital-input/overview
  • https://developer.ibm.com/sso/bmregistration/
  • https://m2x.att.com/

Lesson 8 - 10


Topics

  • Target: Control the robot arm from afar, over the Internet
  • Tasks and resources
  • Coding: NodeMCU, MQTT, Web Interface
  • Test, Present and Share