GithubHelp home page GithubHelp logo

johnwalicki / particle-electron-mqtt-watsoniot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 9 KB

How to use MQTT to connect a Particle Electron to the IBM Watson IoT Platform

License: Apache License 2.0

mqtt particle particle-electron ibmiot

particle-electron-mqtt-watsoniot's Introduction

Particle-Electron-MQTT-WatsonIoT

How to use MQTT to connect a Particle Electron to the IBM Watson IoT Platform

Introduction

Learning Objectives:

In this workshop, you will learn how to:

Part 1

  • Learn about the Particle Electron
  • Install the particle CLI
  • Compile and flash

Part 2

  • Create an IoT Starter Kit application running in IBM Cloud
  • Launch the Watson IoT Starter application
  • Open the Watson IoT Platform so that you can send/receive MQTT data from the Particle device
  • Create a Particle Electron device type and device
  • Configure the Node-RED visual programming editor
  • Secure your Node-RED Editor in IBM Cloud
  • Install additional Node-RED nodes
  • Import a prebuilt flow from GitHub
  • Create a new Node-RED flow and configure IoT Nodes

Part 3

  • Learn about MQTT
  • How to send MQTT data to Watson IoT

Part 4

  • MQTT Example #1 - MQTT to Watson IoT Quickstart (Insecure)
  • MQTT Example #2 - MQTT to Watson IoT Registered Device (Insecure)
  • MQTT Example #3 - Secure MQTT to Watson IoT
  • MQTT Example #4 - Send SHT-31 data to Watson IoT
  • MQTT Example #5 - Send DHT-11 / DHT-22 data to Watson IoT
  • MQTT Example #6 - Send Particle Asset Tracker data to Watson IoT

MQTT Examples

1 - MQTT to Watson IoT Quickstart

In this example, we demonstrate how to connect a Particle Electron to Watson IoT Quickstart using the MQTT library

2 - MQTT to Watson IoT Registered Device

In this example, we demonstrate how to connect a Particle Electron to Watson IoT Platform using the MQTT library

3 - Secure MQTT to Watson IoT

In this example, we demonstrate how to connect a Particle Electron to Watson IoT Platform using the MQTT-TLS library

4 - Send SHT-31 data to Watson IoT

In this example, we demonstrate how to connect a Particle Electron and a SHT-31 temperature / humidity sensor to Watson IoT Platform using the MQTT-TLS library

5 - Send DHT-11 / DHT-22 data to Watson IoT

In this example, we demonstrate how to connect a Particle Electron and a DHT temperature / humidity sensor to Watson IoT Platform using the MQTT-TLS library

6 - Send Particle Asset Tracker data to Watson IoT

In this example, we demonstrate how to connect a Particle Electron Asset Tracker accelerometer sensor to Watson IoT Platform using the MQTT-TLS library

Authors


Enjoy! Give us feedback if you have suggestions on how to improve this tutorial.

License

This tutorial is licensed under the Apache Software License, Version 2. Separate third party code objects invoked within this code pattern are licensed by their respective providers pursuant to their own separate licenses. Contributions are subject to the Developer Certificate of Origin, Version 1.1 (DCO) and the Apache Software License, Version 2.

Apache Software License (ASL) FAQ


Quick links :

Home - MQTT Quickstart - MQTT WIoTP - MQTT-TLS WIoTP - MQTT-TLS SHT - MQTT-TLS DHT - MQTT-TLS AssetTracker


particle-electron-mqtt-watsoniot's People

Contributors

johnwalicki avatar

Watchers

 avatar

Forkers

grant-steinfeld

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.