INTERNET OF THINGS TEMPERATURE DETECTION IN-HOUSE USING RASPBERRY PI

0
650
You can download this material now from our portal

INTERNET OF THINGS TEMPERATURE DETECTION IN-HOUSE USING RASPBERRY PI

ABSTRACT

The revolution of the IT industry is in its ability to introduce automation to tasks that require human resources. The motivation for this project lies in the automation of a seemingly simple subject but if done incorrectly, can cost a company millions of naira in damage control and more millions to recover from. This project focuses on the temperature sensing built on an event-driven process. Event-driven processes are used all the time and in various scenarios, for example, the light in the fridge that turns on when the fridge door is opened Or the light bulb that turns on when the motion sensor senses motion.

In this project, using a combination of two raspberry pi, a temperature sensor, and a light bulb, we build a temperature sensing system built on an event-driven process. This system is designed to detect the temperature of any room it is placed in, and raise an alert if the temperature readings become alarming. One obvious advantage of this project at this point is the “alert” system. Using the MQTT protocol, the two raspberry pi’s are able to communicate to each other over a local network or a network as large as the internet. Thereby allowing the “sensing” raspberry pi to notify the “alarm” raspberry pi of causes for alarm.

Furthermore, to emphasize the usability of this project, a user-friendly website is developed. This website will graphically present to the user the temperature readings over a period of time, and not simply the current temperature. This allows the user to narrow his/her debugging parameters, or simply observe the temperature from a remote location. The light bulb attached to the alarm raspberry pi, notifies the user that an event has occurred and the automation process stepped in and executed the pre-programmed instructions. Using a number of programming languages, programming tools and real hardware devices, a fully functional event-driven temperature sensing system has been built and tested.

CHAPTER 1: INTRODUCTION

1.1.       Overview

In recent years, we have witnessed the advancement of technology towards the embedding of computer systems in household devices, which has led to the term “smart devices”. These devices alone serve unique purposes; for example, a smart fridge can only carry out operations required for the optimal running of the fridge but no further. However, by combining multiple intelligent devices in a network, the term “internet of things” was formed, which allows for event-driven processes over the network. It is my aim, with the aid of two raspberry pi’s and a temperature sensor, to build an intelligent thermostat system. Where the temperature sensor is fastened to one device and depending on the perceived temperature, the other raspberry pi, which in this case is acting as the temperature setter, will either increase or reduce the internal temperature. Because this use-case is event-driven, it can be applied to use-cases such as a specific number of students need to be in class for a video to begin, or when a car reaches a certain speed, an alert is sent to the owner’s phone.

1.2.      Background and Motivation

The motivation for this project stems from a zeal to understand event-driven processes. How multiple devices communicate together as part of an infrastructure to build a complete system. Remote monitoring became the next problem encountered. And finally, how to effectively monitor the system from across the globe.

1.3.       Statement of the Problem

The widespread and ubiquitous availability of automated process seen in the western world still eludes developing countries such as Nigeria. The cause for this might be two-fold, a lack of highly skilled and knowledgeable people, and the idea that these processes can only be done with the help of the western man, and the idea that an enormous amount of money would be required. Whichever the prevalent cause, it is evident that if Nigeria is to stand in the age of information, then automation via event-driven processes is a must

.

1.4.      Aim and Objectives

  1. To program the raspberry pi to read temperature data from the temperature sensor, using a combination of Linux commands and Python programming language.
  2. Develop a website where we can view the temperature readings and the activities of the Raspberry Pi.
  3. To create a fully functional login system and Solve bugs.

 

1.5.      Significance of the Project

To successfully design and build a temperature sensing system with remote monitoring capabilities and an event-driven processing system. The applications of this project are numerous and can be extended far beyond the current scope. This project aims to show that using relatively cheap items and a simple website, a temperature sensing system can be built and its data monitored via a website.

1.6.      Project Risk Assessment

Two areas of high risk are hardware and software. The temperature sensor is connected to the raspberry pi by jumper cables. If the cables become undone, the event-driven system will have no data to respond to. The second area is in software. Software bugs occur all the time in software, and the effects are mitigated using software patches. In this project, every effort will be taken to avoid software bugs.

1.7.      Scope / Project Organization

The remaining parts of this project are as organized below:

Chapter Two demonstrates an understanding of recent literature on the subject of the Internet of Things and an understanding of the state-of-the-art.

Chapter Three is set aside for methodology and design of this project and how it directly and indirectly contributed during the project.

Chapter Four provides a critical analysis of the methodology and an in-depth discussion into the results obtained from a series of experimentation resulting from combining complex code and physical engineering.

Chapter Five concludes the project by clearly outlining the results at major milestones of the project and highlighting possible further research and future work areas.

INTERNET OF THINGS TEMPERATURE DETECTION IN-HOUSE USING RASPBERRY PI

Leave a Reply