SmartMesh Recipes
This material contains different tips and tricks about SmartMesh, how to connect sensors, how to build a gateway, how to integrate with a back-end system, etc. The different recipes are independent from one another.
Per-label Recipes
How to read this material
Recipes are published by different people at different times. They can be read independently, in any order.
All Recipes
Interface your Mote to a Thermocouple
We use the DC9005 Eterna QuikEval Adapter to connect the mote to an LTC2984 Multi-Sensor High Accuracy Digital Temperature Measurement System Demo Board to read a K-type thermocouple.
Deep-dive into the OAP Protocol
The “On-chip Application Protocol“ (OAP) runs on all SmartMesh IP motes running in Master mode. See how you can interact with it to sample temperature, set/get the state GPIO pins, and trigger ADC readings.
Getting started with IOTEAM Dusty breakout
We show you how to get started with your IOTEAM Dusty motes and managers!
Publish to Watson IoT Quickstart
IBM Watson IoT is IBM's IoT platform. This guide shows you how you can publish data to its Quickstart service, in minutes!
SmartMesh IP and Node-RED, revisited
Node-RED is a fun tool from IBM Research to "wire up the IoT". We show how the JsonServer
application allows you to interface Node-RED to your SmartMesh IP network without writing a line of code!
Interface your mote to a CC3200
Interface a CC3200 to a mote using the SmartMesh C library!
A Node-RED Dashboard-based OAP Client!
The Node-RED Dashboard is a quick and easy way to visually interact with your network. Here, you will use it as client software for the OAP protocol the motes implement.
Visualize your Data using Node-RED Dashboard
The Node-RED Dashboard is a quick and easy way to visualize your data and send commands into your SmartMesh IP network.
Add a reset CLI command to your OCSDK application
This recipe indicates what default CLI commands your On-Chip SDK application has, and how you can add a "reset" command.
Access your SmartMesh IP devices through Weaved or ngrok
We detail how you can create a SmartMesh IP network manager out of a Raspberry PI and use ngrok
to access its web interface from anywhere.
Interface your mote to a Force-Sensitive Resistor
An example On-Chip Software Development Kit project in which we integrate a low-cost force-sensitive resistor.
Interface your Mote to a Sensirion Temperature/Humidity Sensor
Sensirion I2C temperature/humidity sensors are almost trivially easy to use with the On-Chip SDK. In this recipe, we connect a mote to the SHT21.
Building clouddata.dustcloud.org
We discuss what is behind the clouddata.dustcloud.org server, and how exactly the server is built.
Change the unit of temperature in the DustLink Dashboard
The DustLink dashboard shows the temperature of the different motes in C. This recipe shows you how to change this to raw 1/100 C readings.
How the C library issues commands
We show how the C Library issues commands to your SmartMesh device.
HiveMQ integration!
HiveMQ is an Enterprise MQTT broker, designed to handle large amounts of messages with low latency. This guide shows you how to integrate your SmartMesh IP network into HiveMQ.
ThingWorx Integration!
ThingWorx is a complete development solution for enterprise IoT: it can receive, store, display and analyze your data. This guide shows you how to integrate your SmartMesh IP network into ThingWorx
SmartMesh IP and Node-RED [outdated]
Node-RED is fun little tool from IBM Research to "wire up the IoT". We show how you can use it to interface it to your SmartMesh IP network without writing a line of code!
BeagleBone Black as SmartMesh Gateway
We show how you can run the DustLink sample gateway application on a BeagleBone Black.
Adding Bluetooth Low-Energy Connectivity to a Mote
We detail how we used an nrf8001 Bluetooth low-energy (BLE) breakout board from Adafruit to demonstrate remote configuration of a mote.
Intel Edison as SmartMesh Gateway
Intel Edison is a very small and inexpensive single board Linux computer. We detail how we've used it as a WiFi-enabled Gateway for a SmartMesh IP network.
Raspberry Pi as SmartMesh Gateway
The Raspberry Pi is a hugely popular, inexpensive, credit card-sized Linux computer. We detail how we've used it as a Gateway for a SmartMesh IP network.