Azure IoT Hub - Set Up MQTT.fx, Sigfox Callback and DragonBoard

Introduction: Azure IoT Hub - Set Up MQTT.fx, Sigfox Callback and DragonBoard

About: Product Development Specialist at Das Coisas

Connect, monitor and control millions of IoT devices using the Microsoft Azure IoT Hub, Sigfox Network and Qualcomm DragonBoard 410c.

In this instructables you will se hot to configure mqtt.fx software to connect and send messages to IoT Hub and get this messages from DragonBoard.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Set Up MQTT.fx

Download MQTT.fx:

Since installed, open the software and add a new mqtt profile.

  • Broker address: (IoT Hub Host name)
  • Broker port: 8883
  • Client ID: DeviceID
  • Username:
  • Password: you need to generate a SAS Token to device
    • Download Microsoft Device Explorer:

    • Insert your connection string
    • Click on a device
    • SAS Token
    • Insert how much days this token will be valid
    • Click on generate button
    • Copy this part:


    • Put this string in password box
  • Enable SSL/TLS
    • Click on CA signed server certificate

Once connected, click on publish and publish a message to this topíc:


Step 2: Configure Sigfox Callback

Its very easy to set up a callback in sigfox backend, so go to and sign in your account!

  • Click on Device Type button
  • New
  • Select Microsoft IoT Hub
  • In the next window paste your connection string and configure a custom message to send to the Hub.

Ok, your callback was successfully created!

Step 3: Set Up DragonBoard

Install Nodejs and npm on DragonBoard:

  • $ sudo apt-get install nodejs
  • $ sudo apt-get install npm

Create a folder, and into this folder create a file named readdevicetocloudmessages.js

  • $ npm init
  • $ npm install azure-event-hubs --save

Copy the attached file code and past into js file.

Run the code:

  • $ node readdevicetocloudmessages.js

Ok, now all messages posted in your hub will be read by DragonBoard, this way you can follow all activities of yor devices.

Be the First to Share


    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge