Monitoring environmental variables using SensorTag
Nguyen, Truong Thanh Tam (2017)
Nguyen, Truong Thanh Tam
Turun ammattikorkeakoulu
2017
All rights reserved
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2017111617161
https://urn.fi/URN:NBN:fi:amk-2017111617161
Tiivistelmä
The purpose of this thesis was to create a system consisting of a multi-functional sensor and a web-based application in order to monitor environmental variables, such as temperature, humidity, light, density and so on. With an intention of using the sensor to track object movements, a gyroscope sensor was additionally created. The application, called sensorApp, can be seen as a full-stack web developing example which takes advantage of such technologies as NodeJS, MongoDB, jQuery and Socket.io.
The back-end part of this project is a NodeJS web server communicating with the sensor device in order to retrieve information then forward to to a MongoDB database server for storing. On the other hand, for the front-end part, the data received from the sensor is also transferred to a web-interface to present and monitor in real-time with the help of WebSocket’s library named Socket.io. In addition, the HighCharts library is used to create graphs to visualize all the data from the sensor or from the database server.
The result of the thesis was the ”sensorApp” app. The app is capable of presenting data from the sensors and, especially, is packed with database extraction feature which is not supported by other services. There were few obstacles in this project, such as hardware faulty, overloaded data transmission and security methods. In addition, limitations in technology were also addressed, for instance power consumption and gyroscope accuracy.
The back-end part of this project is a NodeJS web server communicating with the sensor device in order to retrieve information then forward to to a MongoDB database server for storing. On the other hand, for the front-end part, the data received from the sensor is also transferred to a web-interface to present and monitor in real-time with the help of WebSocket’s library named Socket.io. In addition, the HighCharts library is used to create graphs to visualize all the data from the sensor or from the database server.
The result of the thesis was the ”sensorApp” app. The app is capable of presenting data from the sensors and, especially, is packed with database extraction feature which is not supported by other services. There were few obstacles in this project, such as hardware faulty, overloaded data transmission and security methods. In addition, limitations in technology were also addressed, for instance power consumption and gyroscope accuracy.