Anturidatan tallennuksen toteuttaminen IOTA-järjestelmään
Peltonen, Eppu (2020)
Peltonen, Eppu
2020
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202005138793
https://urn.fi/URN:NBN:fi:amk-202005138793
Tiivistelmä
Tämän opinnäytetyön tavoitteena oli perehtyä IOTA-järjestelmään sekä rakentaa ympäristö, jossa kerätään anturidataa reaalimaailmasta ja lähetetään sitä salattuna IOTA:n Tangle-verkkoon MAM-teknologian avulla.
Työn alussa selvitettiin teoriaa IOTA:sta ja Tanglesta, minkä jälkeen rakennettiin tavoitteiden mukainen ympäristö. Ympäristössä käytettiin Raspberry Pi 4 -tietokonetta, digitaalista DHT11-lämpötila- ja kosteusanturia, sekä Node.js-ohjelmaa. Ohjelmoinnissa käytettiin IOTA:n mam.js-ohjelmointikirjastoa. Lisäksi konfiguroitiin Tanglen IRI-noodi pilvipalvelimelle.
Tuloksena on prototyyppi anturidatan tallennuksesta IOTA-järjestelmään, sekä pohdintaa vaihtoehtoisista teknologioista, joita työssä voisi käyttää. The goal for this thesis was to explore IOTA system and Tangle network from a theoretical perspective first and then implement a prototype where real world sensor data would be gathered and sent to Tangle using Masked Authenticated Messaging (MAM) technology.
The thesis began by studying IOTA and Tangle and the different technologies they use. Based on the acquired information, a prototype was built using Raspberry Pi 4, digital DHT11 temperature and humidity sensor, Node.js application and IRI Tangle software. The end result was a working prototype which sends a data package to Tangle that contains the temperature and humidity data. The thesis also discusses alternative technologies and hardware that could be used.
Työn alussa selvitettiin teoriaa IOTA:sta ja Tanglesta, minkä jälkeen rakennettiin tavoitteiden mukainen ympäristö. Ympäristössä käytettiin Raspberry Pi 4 -tietokonetta, digitaalista DHT11-lämpötila- ja kosteusanturia, sekä Node.js-ohjelmaa. Ohjelmoinnissa käytettiin IOTA:n mam.js-ohjelmointikirjastoa. Lisäksi konfiguroitiin Tanglen IRI-noodi pilvipalvelimelle.
Tuloksena on prototyyppi anturidatan tallennuksesta IOTA-järjestelmään, sekä pohdintaa vaihtoehtoisista teknologioista, joita työssä voisi käyttää.
The thesis began by studying IOTA and Tangle and the different technologies they use. Based on the acquired information, a prototype was built using Raspberry Pi 4, digital DHT11 temperature and humidity sensor, Node.js application and IRI Tangle software. The end result was a working prototype which sends a data package to Tangle that contains the temperature and humidity data. The thesis also discusses alternative technologies and hardware that could be used.