Introduction: Predicting the upcoming temperature especially of our living room where everyone spends most of their time while at home becomes a important part. As we moved to our living room from a very long hectic schedule, all we would want is to get rest by receiving all the necessary comforts so that the resting period goes well and we don't get disturbed in between it. So, how pleasant it would be if before resting, we could have a rough idea of the temperature in that room for quite some hours. Isn't is interesting?
Yeah, it's all possible due to this project.
How to make the hardware connections?
First, identify the front side of the sensor. The side on which LM35 is written is considered as the front side. As viewing from the front side, from left to right, consider the pins as Vcc, Output and Ground.
Using the male to female wires, connect-
Vcc pin of sensor to 5V of Wifi module.
Output pin of sensor to A0 of Wifi module.
Ground pin of sensor to GND of Wifi module.
Working model-
First, connect the wifi module to the mobile as well as the bolt cloud.
Next, create a new product in the bolt cloud and name it "predicting temperature" and save the extension as.js. Next configuring the hardware part of device. Select the A0 pin and name this pin as temp and save this part.
Next is to configuring the code section. In the code section, write the code and save the configuration.
Switch on the power supply for the hardware connections. Next is to link the product with the device. After linking, deploy the configuration and then view the device. Wait for some hours so that the data in uploaded in the cloud. Then, on clicking the predict button, on the basis of the data uploaded, it will predict the upcoming data.
A sample view of the recorded data is shown below:
On clicking the predict button, it will predict the upcoming temperature of some time.
Thus in this way, on the basis of the present values of temperature, we can predict the or forecast the upcoming temperature condition of our room.
Comments
Please log in or sign up to comment.