Home > Other >Special Application Circuits > DIY a temperature and humidity monitoring system

DIY a temperature and humidity monitoring system

Source: InternetPublisher:奥特man123 Keywords: Monitoring system Arduino Updated: 2024/05/27

The Bolt team recently updated the BoltIoT-Arduino-Helper library and I thought this would be a good opportunity to try it out. The library now has examples on how to interface a DHT sensor with the Bolt Cloud and this project is based on that.

Hardware Setup:

As I am using Boltduino (customized version of Arduino Uno r2), this project can be easily done with Arduino Uno. I made a Fritzing diagram using Arduino UNO for those makers of Boltduino.

Step 1: Connect the Bolt to the Boltduino (Arduino)

This step was fairly easy for me since the Boltduino has a pin to hold the Bolt WiFi module in. However, for makers planning to use an Arduino, this means connecting the Bolt module using 4 male to male berge pin wires.

Connecting the Bolt to the Boltduino (Arduino)

Step 2 Connect DHT11 sensor to Boltduino (Arduino)

Connecting DHT11 Sensor to Boltduino (Arduino)

Step 3 Install required libraries

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

To install the library, just go to the link above and click on the Clone or Download button.

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

After downloading the library, go to the toolbar of the Arduino IDE, Sketch>Include Library>Add.ZIP Library

Select the library file you downloaded earlier and click Choose.

NOTE: Remember to install all 3 libraries.

Step 4 Upload the code

Enter the toolbar of Arduino IDE, File>Examples>BoltIoT-Arduino-Helper>DHT2Cloud

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

Connect your Boltduino to your PC and click Upload

Note: For Arduino Uno users, remember to disconnect the Bolt module from the Arduino when uploading the code.

Software Setup:

There are already many projects developed around the Bolt WiFi module. I believe readers have created an Account on Bolt Cloud and associated their Bolt WiFi module with the Cloud account.

Step 1) Create a new product on Bolt Cloud

Make sure the "Input Device" and "UART" options are selected.

Step 2) Configure the product

I have shared the code for software configuration.

Save and exit the product configuration view when finished.

Step 3) Link the Bolt device to your new product

After linking the devices, remember to click the Deploy Configuration button.

Step 4) Check your device

The cloud polls the device every 5 minutes for data, so it is best to let the system wait 20 to 25 minutes before checking again.

At this point, the project is complete.

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号