Humidity and Temperature Monitoring System

A quick and easy system to monitor the Humidity and Temperature of your environment.

cover_image

Things used in this project

Hardware components

  • DHT11 Temperature & Humidity Sensor (4 pins)
  • Bolt IoT Bolt WiFi Module
  • Arduino UNO & Genuino UNO

Software apps and online services

  • Bolt IoT Bolt Cloud

Story

Step 2) Connect the DHT11 sensor to the Boltduino (Arduino)

final_hardware_connection

Step 3) Install the required libraries

For this project you will require the BoltIoT-Arduino-Helper, the Adafruit_Sensor and the DHT-Sensor-library Arduino libraries.

To install the libraries just go to the link above, and click on the clone or download button.

Then click on the Download ZIP button. A zip file containing the library will be downloaded.

library_view1

 

library2

 

 

Once the library is downloaded, go to the Arduino IDE's tool bar, Sketck>Include Library>Add.ZIP Library...

adding_library

Select the library file which you dowloaded earlier, and click on choose.

Remember to install ALL 3 LIBRARIES.

Step 4) Upload the code.

Go to Arduino IDE's tool bar, File>Examples>BoltIoT-Arduino-Helper>DHT2Cloud

The DHT library example will open in a new Arduino IDE window.

Connect your Boltduino to the PC and click on Upload.

CAUTION: For Arduino Uno users, remember to disconnect the Bolt module from the Arduino while uploading the code

Software Setup:

There have been quite a few projects developed around the Bolt WiFi module, so I believe the reader has already created an Account on the Bolt Cloud and linked their Bolt WiFi module to the Cloud account.

If that is not the case, you might want to go through this.

Step 1) Create a new product on the Bolt Cloud.

Ensure to select the 'Input Devices' and 'UART' option.

create_product

Step2) Configure the product:

I have shared the code for the software configuration.

Once done save and exit the product configuration view.

product_page

 

configure_hardware

configure_software2

code

file_saved

Step 3) Link the Bolt device to your new product.

Once the device is linked, remember to click on the Deploy Configurations button.

link1

link2

link3

link4

link5

Step 4) View your device.

The Cloud polls the device for data every 5 minutes, so it would be best to leave the system be for about 20 to 25 minutes before you check.

after_20_minutes

Schematics

Circuit connections.

IF you are using the Boltduino, just skip the part for using wires for Bolt WiFi module
 circuit_connectionsa

Code

Product Code

Remember to name the code, and set it as js
var lineGraph1 = new boltGraph();
lineGraph1.setChartType("lineGraph");
lineGraph1.setAxisName('X-Axis Name','Temperature->');
lineGraph1.plotChart('time_stamp','Temperature');
var lineGraph2 = new boltGraph();
lineGraph2.setChartType("lineGraph");
lineGraph2.setAxisName('X-Axis Name','Humidity->');
lineGraph2.plotChart('time_stamp','Humidity');
 
 

IoT Bolt IoT