Final year project io t climate system

26
IOT CLIMATE SYSTEM Author: Konstantinos Athanasiou 306AAE - Individual Project Realisation

Transcript of Final year project io t climate system

IOT CLIMATE SYSTEM

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

CONTENTS

Introduction

Basic

principle

Requirements

• What is the IoT Climate System

• Basic concept of working

• Design Key Aspects

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

CONTENTS

• Components/Hardware/Software/PCB/Containers

• Demonstration/Time management

• Conclusion

Designing

DEMO/APPS/

TIME

MANAGE

Summary

306AAE - Individual Project Realisation

Author:

Konstantinos Athanasiou

INTRODUCTION

• What is the purpose of the IoT Climate system?

The purpose of the project is to utilize IoT application technology

for monitoring the climate parameters of the buildings. The system

utilizes wireless sensor nodes that gather and transmit the data

relating to the climate in different rooms of the building. The aim is

to provide the user with the opportunity to monitoring the

environment inside the building by having access any place – any

time via Internet, in order to take an informed real time decision.

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

DESIGN KEY ASPECTS

WSN monitoring system

Real-time data collection-control-storage

IoT Web services - Analytics/Visualizations

Power management

Security and privacy

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

The research of the project is based on the inductive paradigm. This type of methodology can be described as a flexible approach that allows to researcher to examine real life examples and facts in order to reach a provisional interpretation. The aim is to examine previously implemented systems in order to find the most fitted technologies that can be exploited and applied in order to create a suitable system.

-Literature review study and background research-Design of a prototype-Implementation of the prototype-Experimentation and evaluation of results

METHODOLOGY

306AAE - Individual Project Realisation

Author:

Konstantinos Athanasiou

BASIC CONCEPT &

ARCHITECTURE

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

DESIGNING/COMPONENTS

306AAE - Individual Project Realisation

Author:

Konstantinos Athanasiou

Wireless Sensor Boards

Radio Frequency Transmitter• 3x Digi International Xbee modules S2

• Frequency Band: 2.4 GHz

• Indoor range: 30 m

• Outdoor Range: 100 m

Configurations• Standalone Xbee operation

• Pin sleep mode

• Data encryption

• End type node

Xbee module

DESIGNING/COMPONENTS

3x Wireless Sensor board:

Sensors and Actuators

• Temperature sensor- TMP36

• Humidity sensor - HIH530

Control Unit

• Relay

• On/Off state

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

TMP-36 HIH-5030

Relay Heating

DESIGNING/COMPONENTSGateway Board

Microcontroller

• ATmega2560 – Arduino Mega

• Flash Memory 256KB

• Clock Speed 16 MHz

Ethernet module

• Microchip ENC28J60 chip

Wireless Communication

• Xbee S2 module

• Coordinator type mode

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

Arduino Mega

Ethernet module

Xbee module

DESIGNING/COMPONENTS

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

Hardware overview

DESIGNING/COMPONENTS

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

Hardware overview

HARDWARE SCHEMATIC

Sensor Boards

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

HARDWARE SCHEMATIC

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

Gateway Board

DESIGNING/SOFTWARE

Software designThe Arduino programming language is used for the source code of the system, which is an open source

environment based on C/C++. The software design can be divided into three main parts:

• Online Dashboard: The user interface communicates with the system via Internet and specifically with the

MQTT communication protocol. The system displays the data according to an instruction that users have to

send using the dashboard.

• Gateway/Coordinator: The coordinator is the control centre of the system. It’s the unit that receives the

requests from the web server and runs the execution process. This process involves multiple functions,

which can be divided into two parts: Xbee- WSN interface and the Web server

• End device: The End device waits for the request of the coordinator in order to execute a task depending

on the instruction. There are two different tasks: sensor-data reading and switch pin state.

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

DESIGNING/SOFTWARE

Flow charts

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

DESIGNING/XBEE CONFIGURATIONS

ZigBee configurationsThe ZigBee network can support three different types of devices: coordinator, router and end. The network of

the proposed system is configured using XCTU platform with one coordinator and three end devices.

•Coordinator (API mode)

The network requires only one coordinator with the main function to initiate the network formation. Additionally,

is responsible to handle the addresses of the nodes and manage multiple functions of the network, such as

data sampling, security and sleep mode.

•3xEnd device (AT mode)

The end devices can transmit and receive information. The main advantage of such a device, is that they

optimise low power operation using a number of different techniques. Also, end devices are capable to use as

stand-alone operation in order to execute the task of data sampling, digital signal conditioning and analogue

reading.

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

DESIGNING/ZIGBEE TOPOLOGY

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

ZigBee network architecture overview:

306AAE - Individual Project Realisation

Author:

Konstantinos Athanasiou

IOT WEB SERVER

The system is capable to provide a real-time monitoring and control of the nodes via a Web interface, where

the users can have access to the data and take an invoke action. In order to implement these features, the

system communicates and operates along with a Web server that provides IoT services.

Adafruit.IO server• Collect - Send sensor data to the cloud

• Analysis - Analyse and visualize the data

• Act -Trigger an action

MQTT connectivity protocol • Lightweight publish/subscribe messaging transport

• “Enterprise messaging” - Low footprint

306AAE - Individual Project Realisation

Author:

Konstantinos Athanasiou

ONLINE DASHBOARD

DESIGNING/PCB

PCB design specifications:

• Single or double layer

• Through hole and SMD technology

• Connector provisions

• Board should be 0.8 mm

& FR4 laminate. 1 ounce copper

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

DESIGNING/3D CONTAINERContainers are designed for the integrated circuits of gateway board and sensor

board, by using the DesignSpark Mechanical software.

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

PRACTICAL DEMONSTRATION

• The link below is a video of the practical demonstration of

the IoT Climate System – ON/OFF request.

https://www.youtube.com/watch?v=kmDjZM3a_3E

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

PROJECT MANAGEMENT

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

PROJECT MANAGEMENT

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation

Author:

Konstantinos Athanasiou306AAE - Individual Project Realisation