How to use MQTT to connect a Particle Electron to the IBM Watson IoT Platform
In this workshop, you will learn how to:
- Learn about the Particle Electron
- Install the particle CLI
- Compile and flash
- 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
- Learn about MQTT
- How to send MQTT data to Watson IoT
- 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
In this example, we demonstrate how to connect a Particle Electron to Watson IoT Quickstart using the MQTT library
In this example, we demonstrate how to connect a Particle Electron to Watson IoT Platform using the MQTT library
In this example, we demonstrate how to connect a Particle Electron to Watson IoT Platform using the MQTT-TLS library
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
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
In this example, we demonstrate how to connect a Particle Electron Asset Tracker accelerometer sensor to Watson IoT Platform using the MQTT-TLS library
Enjoy! Give us feedback if you have suggestions on how to improve this tutorial.
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