Software Used

Library Used

Arduino Client for MQTT

This library provides a client for doing simple publish/subscribe messaging with a server that supports MQTT

For more information about MQTT, visit mqtt.org.


The latest version of the library can be downloaded from GitHub


The library comes with a number of example sketches. See File > Examples > PubSubClient within the Arduino application.Full API Documentation.

Compatible Hardware

The library uses the Arduino Ethernet Client api for interacting with the underlying network hardware. This means it Just Works with a growing number of boards and shields, including:

Wire Library

The Wire library allows you to communicate with I2C devices, often also called "2 wire" or "TWI" (Two Wire Interface), can download from Wire.h

Basic Usage



Steps to send data to labview temperature and humidity platform using IoT Long Range Wireless Temperature And Humidity Sensor and Long Range Wireless Mesh Modem with USB Interface:

Uploading the Code to ESP32 Using Arduino IDE

Serial Monitor Output

Making Ubidots Work

 Click on devices and select devices in ubidot.

 Now you should see the published data in your Ubidots account, inside the device called "ESP32".

Now you are able to view the Temperature and other sensors data which was previously viewed in serial monitor.This happened because the value of  different sensor readings  is passed as a string and store in variable and publish to variable inside  device esp32. 

Create Dashboard in Ubidots


Creating events in Ubidots:

Types of Events

Ubidots support already integrated events to allow you to send Events, Alerts, and Notifications to those who need to know, when they need to know.Ubidots' prebuilt integrations include:

1. Email notifications

2. SMS notifications

3. Webhook events - learn more

4. Telegram notifications

5. Slack notifications - learn more

6. Voice Call notifications - learn more

7. Back to Normal notification - learn more

8. Geofence notifications - learn more

Output of Event in Your Mail