Objectives:
A. Build the circuit for temperature monitoring system, using the Bolt and LM35 sensor. NOTE: You have already learned how to do this in Module 3 of the course, you can repeat the circuit connection for the system.
B. Create a product on the Bolt Cloud, to monitor the data from the LM35, and link it to your Bolt.
C. Write the product code, required to run the polynomial regression algorithm on the data sent by the Bolt.
.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.
4.Using the reading that you received in the 2 hours, set boundaries for the temperature within the fridge.
5.Predictions:
Write a python code which will fetch the temperature data, every 10 seconds, and send out an email alert, if the temperature goes beyond the temperature thresholds you decided on in objective "E".
G. 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.
H. Tune the Z-score analysis code, such that, it detects an anomaly when someone opens the door of the fridge.
Comments