Problem Statement :
- Build the circuit for temperature monitoring system, using the Bolt and LM35 sensor. The temperature would be maintained within the -33 and -30 degrees Fahrenheit range.
- Keep the temperature monitoring circuit inside your fridge with the door of the fridge closed, and let the system record the temperature readings for about 2 hours.
- Write a python code which will fetch the temperature data, every 10 seconds, and send out an SMS alert, if the temperature goes beyond the temperature thresholds.
- Modify the python code, to also do a Z-score analysis and print the line “Someone has opened the fridge door” when an anomaly is detected. Tune the Z-score analysis code, such that, it detects an anomaly when someone opens the door of the fridge.
* Connect the temperature sensor to the bolt device and provide power supply and WiFi to the device. Make sure that blue and green LED's are glowing on the device.
* Open VMware software and select ubuntu and login.
* Create a python file as:
sudo nano conf.py
* Save this code as ctrl+x.... y.... press enter.
and give the credentials as shown in below picture:
* Now create another file as :
sudo nano capstone.py
* the code is shown in below picture :
* Save this code as ctrl+x.... y.... press enter.
* Run the code as shown in the below:
sudo python3 capstone.py
* The output is shown below:
* When it is in between limits or below rules, then it will send us an SMS as shown below:
And That's it.... You have finished the temperature alert project with the help of Bolt Iot.








Comments