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.
Step 2 Connect 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.
- Working Principle and Production of TV Scanning Demonstrator
- Production of electric water bottle energy saver
- How to design a mask disinfection device using infrared temperature sensors
- How to use the MP3 player from CATALEX
- A detection circuit with keen hearing
- High power laser constant current drive circuit
- Ultrasonic electronic guide circuit
- Introducing a common reversing radar-----Ultrasonic detector
- How to Design a Smart Garbage Monitoring System Using IoT
- Fiber Optic Data Receiver Circuit
- How does an optocoupler work? Introduction to the working principle and function of optocoupler
- 8050 transistor pin diagram and functions
- What is the circuit diagram of a TV power supply and how to repair it?
- Analyze common refrigerator control circuit diagrams and easily understand the working principle of refrigerators
- Hemisphere induction cooker circuit diagram, what you want is here
- Circuit design of mobile phone anti-theft alarm system using C8051F330 - alarm circuit diagram | alarm circuit diagram
- Humidity controller circuit design using NAND gate CD4011-humidity sensitive circuit
- Electronic sound-imitating mouse repellent circuit design - consumer electronics circuit diagram
- Three-digit display capacitance test meter circuit module design - photoelectric display circuit
- Advertising lantern production circuit design - signal processing electronic circuit diagram