# Machine learning and IOT based Temperature monitoring system
This is the final capstone project done during internship in IOT BOLT
![image](https://user-images.githubusercontent.com/69953585/111018510-311f1b80-83df-11eb-86ca-b76fbe8d2b9f.png)
# Overview
Monitors the temperature of the room and sends email alert to the user if the temperature crosses the threshold limits(max and min).
Prediction of future temperature value by carrying polynomial regression.
Sends email alert to the user when there is an sudden change in the temperature by carrying z-score analysis.
# Applications of this system.
1.Monitor the temperature of the room by setting the threshold temperature values.It sends email alert to the user when the temperature exceeds the threshold temperature.
Email-“Temperature has reached above threshold value”
Examples :cold storage, pharmacy buildings,etc
2.It carries Z-score analysis and based on input values it sets the threshold values.It also sends email alert to the user when the temperature has dropped suddenly.
Email –“someone has opened the door”
Examples: Refrigerator door system
3. It carries polynomial regression analysis, which helps in predicting the temperature data.
# COMPONENTS
Hardware Components , Software apps and online services
Bolt wifi module
Bolt cloud
LM35 sensor
Ubuntu server
Piezo buzzer
VMware workstation
LED
Mailgun
Bread board
Jumper wires
Data cable
# Introduction
This project has primarily three functionalities i.e. sense the temperature of the room and send the email alert if it crosses the limit,carry out polynomial regression analysis to predict the future temperature data and carry out z-score analysis which will be able to detect the sudden change in temperature and sends the email alert to the user. Temperature monitoring systems are incredibly useful tools to monitor and manage heat levels .The right temperature monitoring system will enable to keep track of critical temperatures at all sites. The temperature of the place can be monitored through internet using internet of things. In this project LM35 sensor is used to sense the temperature.The system will continuously monitor the temperature condition of the room and the data is stored in the cloud.In this project I used Bolt wifi module to process the data and Blot cloud to store it. And it can be monitored at anytime and anywhere from the Internet. The main purpose of this system model is to make it easy for the user to view the current temperature.I have evaluated the system and showed that the framework can be used effectively to put into practice practical Internet of things applications over existing system
# Materials
Bolt Wifi module
BOLT is an Internet of Things platform Hardware+Software that enables user to build IoT products and projects. Using BOLT, users can control and monitor devices from any part of the world.For more info visit [here](https://www.boltiot.com/)
![image](https://user-images.githubusercontent.com/69953585/111018734-96bfd780-83e0-11eb-8d8d-f9826375d960.png)
LM35- Temperature sensor
The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius(Centigrade) temperature
![image](https://user-images.githubusercontent.com/69953585/111018753-b525d300-83e0-11eb-90ac-9c67d019c374.png)
Piezo Buzzer
• A piezo buzzer is a sound producing device.
• The main working principle is based on the theory that, whenever an electric potential is applied across a piezoelectric material, a pressure variation is generated. A piezo buzzerconsists of piezo crystals in between two conductors
![image](https://user-images.githubusercontent.com/69953585/111018767-ce2e8400-83e0-11eb-84e3-aad4cd1b6e53.png)
LED-Light emitting diode
An LED is an electronic device that emits light when an electrical current is passed through it. ... LEDs are commonly used for indicator lights (such as power on/off lights) on electronic devices
![image](https://user-images.githubusercontent.com/69953585/111018777-e1415400-83e0-11eb-928d-6f0ddfaa6570.png)
Mailgun
Mailgun is an Email automation service. It has a very powerful set of inbuilt functions for sending emails. Developers can process their email with the help of Mailgun API
[see here](http://a5theory.com/mailgun/)
![image](https://user-images.githubusercontent.com/69953585/111018806-19489700-83e1-11eb-9d13-3fac65b75fc1.png)
VMware Workstation
VMware Workstation Pro is a hosted hypervisor that runs on x64 versions of Windows and Linux operating systems(an x86 version of earlier releases was available) it enables users to set up virtual machines (VMs) on a single physical machine, and use them simultaneously along with the actual machine
For getting some experience with different operating system .I have used this virtual os developer.You can also conduct this project in windows os itself using IDE like jupyter notebook etc
![image](https://user-images.githubusercontent.com/69953585/111018846-70e70280-83e1-11eb-84f1-1f1db4a22208.png)
Ubuntu
Ubuntu Server is a server operating system, developed by Canonical , that runs on all major architectures: x86, x86-64, ARM v7, ARM64, POWER8, and IBM System z mainframes via LinuxONE
# Methods
# Polynomial regression
Polynomial regression is a form of regression analysis in which the relationship between the independent variable x and the dependent variable y is modelled as an nth degree polynomial in x. Polynomial regression fits a nonlinear relationship between the value of x and the corresponding conditional mean of y, denoted E(y |x). Although polynomial regression fits a nonlinear model to the data, as a statistical estimation problem it is linear, in the sense that the regression function E(y | x) is linear in the unknown parameters that are estimated from the data.
Prediction Points: This number tells the Visualizer how many future data points need to be predicted. By default, the Visualizer spaces the points with the data collection time in the hardware configuration of the product. So if you set the product to collect data every 5 minutes, and select 6 prediction points, the Visualizer will predict the trend and show 6 points up to 30 minutes into the future.
No. Polynomial Coefficients: Polynomial Visualizer processes the given input time-dependent data, and outputs the coefficients of the function of the form:
which most closely resembles the trend in the input data. This number tells the Visualizer how many elements should be present in the function i.e. the value of n.
Frame Size: These are the number of previous data points the Visualizer will use to predict the trend of the data. For example, if you set this value to 5, the Visualizer will use the previous 5 points to predict the trend.
# Anomaly detection by Z-score analysis
Z-score analysis is used for anomaly detection. Anomaly here means a variable's value (temperature of the surroundings) going beyond a certain range of values. The range of values is called bounds (upper bound and lower bound). These bounds are calculated using the input values, frame size and multiplication factor. The frame size is the minimum number of input values needed for Z-score analysis and the multiplication factor determines the closeness of the bounds to the input values curve.It basically works to detect any sudden change in the sensor value when someone opens the door of fridge the temperature suddenly changes and this anomaly when detected the alert message sent via Email to the user.
we calculate the Z score (Zn) for the data and use it to calculate the upper and lower threshold bounds required to check if a new data point is normal or anomalous. by formula
where Mn is taken as mean Vi is variance and Zn as Z-score.
All repeats again and again with an gap
没有合适的资源?快使用搜索试试~ 我知道了~
ML-and-IOT-based-Temperature-monitoring-system
共20个文件
jpg:16个
png:2个
images:1个
需积分: 0 1 下载量 201 浏览量
2021-03-13
14:13:27
上传
评论
收藏 44.95MB ZIP 举报
温馨提示
基于机器学习和物联网的温度监控系统 这是在物联网螺栓实习期间完成的最终项目 概述 监控房间的温度,如果温度超过阈值限制(最大和最小),则向用户发送电子邮件警报。 通过进行多项式回归预测未来温度值。 通过进行z得分分析,在温度突然变化时向用户发送电子邮件警报。 该系统的应用。 1.通过设置温度阈值来监视房间的温度,当温度超过阈值温度时会向用户发送电子邮件警报。 电子邮件-“温度已超过阈值”示例:冷库,药房等 2,进行Z值分析,根据输入值设置阈值,当温度突然下降时也向用户发送电子邮件警报。 电子邮件–“有人打开门”示例:冰箱门系统 它进行多项式回归分析,有助于预测温度数据。 成分 硬件组件,软件应用程序和在线服务 螺栓wifi模块螺栓云LM35传感器Ubuntu服务器压电蜂鸣器VMware工作站引领Mailgun 面包板跳线数据线 介绍 该项目主要具有三个功能,即感知房间的温度并在超出极
资源推荐
资源详情
资源评论
收起资源包目录
ML-and-IOT-based-Temperature-monitoring-system-main.zip (20个子文件)
ML-and-IOT-based-Temperature-monitoring-system-main
images
IMG20200323235124.jpg 3.42MB
temperature monitor circuit diagram_bb 1.jpg 290KB
IMG20200323235134.jpg 3.51MB
IMG20200325144700.jpg 4.05MB
temperature monitor circuit diagram_bb.png 169KB
IMG20200324222221.jpg 2.04MB
temperature monitor circuit diagram_pcb.png 37KB
temperature monitor circuit diagram_schem 2.jpg 77KB
IMG20200325144651.jpg 3.73MB
IMG20200325103223.jpg 6.18MB
IMG20200323235328.jpg 3.78MB
IMG_20200325_230015.jpg 1.32MB
IMG20200323235146.jpg 3.62MB
IMG20200325144610.jpg 2.59MB
IMG20200325103336.jpg 5.42MB
temperature monitor circuit diagram_bb.jpg 282KB
IMG20200324222134.jpg 2.06MB
IMG20200323235333.jpg 3.89MB
README.md 15KB
Images 1B
共 20 条
- 1
资源评论
w4676
- 粉丝: 24
- 资源: 4620
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Pytorch-pytorch深度学习教程之深度残差网络.zip
- Pytorch-pytorch深度学习教程之循环神经网络.zip
- Pytorch-pytorch深度学习教程之逻辑回归.zip
- Pytorch-pytorch深度学习教程之双向循环网络.zip
- Pytorch-pytorch深度学习教程之卷积神经网络.zip
- Pytorch-pytorch深度学习教程之前馈神经网络.zip
- Pytorch-pytorch深度学习教程之线性回归.zip
- Pytorch-pytorch深度学习教程之基本操作.zip
- 基于QT的地图可视化桌面系统后台数据库为MySQL5.7源码.zip
- 基于simulink的PLL锁相环系统仿真【包括模型,文档,参考文献,操作步骤】
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功