| dc.contributor.author | Purtonen, Eetu | |
| dc.date.accessioned | 2018-11-27T08:55:24Z | |
| dc.date.available | 2018-11-27T08:55:24Z | |
| dc.date.issued | 2018 | |
| dc.identifier.uri | URN:NBN:fi:amk-2018112518094 | |
| dc.identifier.uri | http://www.theseus.fi/handle/10024/155193 | |
| dc.description.abstract | Työn tarkoituksena oli tuottaa avoimista laitteista ja lähdekoodista muodostuva yksinkertainen kodin kulunvalvontajärjestelmä, joka koostuu liiketunnistimesta, kamerasta ja sähköisesti ohjattavasta magneettilukosta. Konkreettisen ohjelmiston lisäksi tavoitteena oli laiteoh-jelmointiin syventyminen.
Laitteiston perustana toimii Raspberry Pi -tietokone, jonka GPIO-pinneihin kytkettiin ohjattavat ja luettavat laitteet.
Ohjelmisto koostuu kolmesta erillisestä osasta, jotka keskustelevat keskenään web-sokettien ja Unix-sokettien avulla. Ohjelmiston osia ovat C++-kielellä kirjoitettu laiteohjain, Node.js:llä kirjoitettu verkko-ohjain ja selaimessa toimiva Javascript-kieltä ja jQuery-kirjastoa hyödyntävä käyttöliittymä.
Työn lopputuloksena saatiin toimiva yksinkertainen kulunvalvontajärjestelmä ja paljon uutta tietoa ja kokemusta laiteohjelmoinnista ja prosessien välisestä kommunikoinnista, mikä oli alkuperäinen tarkoitus.
Työn raportissa kerrotaan käytetystä laitteistosta, ohjelmiston eri osien ohjelmointikielien valinnasta, ohjelmiston infrastruktuurista ja käytetyistä kehitystyökaluista ja -ympäristöistä. | fi |
| dc.description.abstract | The goal of this project was to create a simple, open source home access control system consisting of a motion sensor, a camera and an electronically controllable magnetic lock. In addition to the concrete software system there was also a personal goal to learn more about embedded systems and how to program them.
As the base of this project, a Raspberry Pi single board computer was used to which’s GPIO pins all the devices were connected.
The software consists of three distinct parts that communicate using Unix domain sockets and websockets. These parts are a device controller written in C++, a web controller writ-ten in Node.js and a user interface running in the browser, powered by Javascript and jQuery.
As the end result a working simple access control system was made as well as a lot of knowledge and experience on embedded programming and communications between pro-cesses written in different languages, those which were the beginning goal of this project.
The report is divided into sections that talk about the selected hardware, selecting pro-gramming languages for different parts of the system, infrastructure of the software as well as tools and development environment used in the development of this project. | en |
| dc.language.iso | fin | |
| dc.publisher | Metropolia Ammattikorkeakoulu | |
| dc.rights | All rights reserved | |
| dc.title | Kodin kulunvalvontajärjestelmä | fi |
| dc.type.ontasot | fi=AMK-opinnäytetyö|sv=YH-examensarbete|en=Bachelor's thesis| | |
| dc.identifier.dscollection | 10024/252 | |
| dc.organization | Metropolia Ammattikorkeakoulu | |
| dc.contributor.organization | Metropolia Ammattikorkeakoulu | |
| dc.subject.keyword | kulunvalvonta | |
| dc.subject.keyword | Raspberry Pi | |
| dc.subject.keyword | websocket | |
| dc.subject.keyword | unix domain socket | |
| dc.subject.keyword | laiteohjelmointi | |
| dc.subject.keyword | c/c++ | |
| dc.subject.specialization | Ohjelmistotekniikka | |
| dc.subject.degreeprogram | fi=Tieto- ja viestintätekniikka|sv=Informations- och kommunikationsteknik|en=Information and Communications Technology| | |
| dc.subject.discipline | Tietotekniikan koulutusohjelma | |