INTRODUCTION
IMPLEMENTATION
Read moreSometimes it is necessary for an industry to monitor the temperature in different ranges and also to identify a sudden drop or rise in the temperature value. Due to some disturbances and faults the rise slowly and does not change suddenly, in this case, the Z-score analysis can fail. The project focuses on monitoring this slow change in temperature or identifying the temperature range.
HARDWARE- Temperature Sensor: It is a device that changes its resistance with the change in temperature. As the name suggests it senses the temperature and converts into an understandable quantity that helps us to interpret the environmental change.
LM35 Temperature Sensor
- Bolt IoT Kit: The kit provides a WiFi module with an API key which helps to link the products to Bolt Cloud Online and helps in controlling the product and also monitors various aspects continuously. The Bolt Cloud API uses HTTP protocol for communication. The Bolt Cloud API can be connected to any virtual server using the API Key and can control various applications using any programming language.
- LEDs: The Light Emitting Diode is used to signify the temperature range by emitting light when they are forward biased.
- VirtualBox: It is a software to build a virtual machine with a certain amount of storage and RAM, which helps us to install a virtual Ubuntu Server in your computer without hindering the default windows or other software installed. With the help of various Linux commands, we can code in any language that we want to use to control the WiFI module.
- Bolt IoT Android App: It is an official application provided by Bolt to help set up a connection of the WiFi module with the cloud.
CONNECTIONOFLM35
- The temperature sensor has three legs:
Pin diagram of LM35
- Supply is connected to the5V output of the bolt WiFi module.
- The output pin of the sensor is connected to the 'A0' pin of the WiFi module by which we read the sensor value through the cloud.
- The ground pin of the sensor is connected to the ground of the WiFi module.
- The value of temperature is given by the formula:
Formula for temperature: r is the sensor value
- The value sensed by the temperature sensor is received through to the system by the Bolt IoT Cloud through the 'A0' pin of the WiFi module.
- This value is compared by the program with the limits of different temperature ranges that can be set by the user.
- If the value is between limit1 and limit2 then a command is sent to the WiFi module to set the state of the digital pin 1 of the module to 'HIGH' and others to 'LOW'.
- If the value is between limit2 and limit3 then a command is sent to the WiFi module to set the state of the digital pin 1 and digital pin 2of the module to 'HIGH' and others to 'LOW' and an email is sent to the user of increase in temperature.
- If the value is between limit3 and limit4 then a command is sent to the WiFi module to set the state of the digital pin 1, digital pin 2, and digital pin 3 of the module to 'HIGH' and others to 'LOW'
- If the value is higher then limit4 then a command is sent to the WiFi module to set the state of all the digital pins from 1-4 of the module to 'HIGH' and an email is sent to the user of 'a very high temperature'.
- Also, the Z-score analysis helps in detecting an anomaly if there is a sudden drop or rise in temperature.
Comments