IoT-nøkkelskap: åpning av elektronisk nøkkelskap med mobilapplikasjon
Bachelor thesis
Permanent lenke
http://hdl.handle.net/11250/2561666Utgivelsesdato
2018Metadata
Vis full innførselSamlinger
Sammendrag
Denne rapporten beskriver moderniseringen av oppdragsgivers (Electric Time Car AS) programvare CarAdmin. CarAdmin har mange bruksområder, men dette prosjektet har tatt utgangspunkt i CarAdmins bilparkfunksjon. Denne lar brukerne av en bedrifts bilpark (de ansatte) ta ut og levere bilnøkler ved behov, samtidig som CarAdmin til enhver tid har oversikt over hvilke biler som er i bruk, og hvem som bruker dem. Målet med moderniseringen er at CarAdmin-brukerne ikke skal trenge å logge seg inn på datamaskinen som i dag står plassert ved siden av bilnøkkelskapene, men istedet kunne bruke sin egen smarttelefon og CarAdmins mobilapplikasjon for å hente ut og levere bilnøkler. For å kunne kommunisere mellom brukernes smarttelefoner og nøkkelskapene, så måtte en mikrocomputer fungere som et trådløst tilgangspunkt på nøkkelskapet. Oppdragsgiver ønsket at Bluetooth skulle brukes som kommunikasjonsteknologi, og denne kommunikasjonen ble dermed implementert både på mikrocomputeren og på mobilapplikasjonen. CarAdmins mobilapplikasjon var ikke ferdig da dette prosjektet startet, og det ble derfor nødvendig å utvikle en konseptapplikasjon for å teste systemet underveis. Nøkkelskapenes låsemekanismer ble styrt av en mikrokontroller. Logikken for styring av mikrokontrolleren ble også implementert på mikrocomputeren. Resultatet av dette prosjektet er en «pakke» med logikk og kode som på sikt kan implementeres i CarAdmin. This report describes the modernization of the contractor’s (Electric Time Car AS) software CarAdmin. CarAdmin has many applications, but this project has used CarAdmin’s carpool functionality as a basis. This functionality lets the users of the system (the employees of a firm) retrieve and return car keys, while CarAdmin at the same time has an overview over which cars are available, which employee has which car etc. The goal of the modernization is that the users of CarAdmin should not have to use the external computer that is placed by the key lockers today to log in and retrieve a car key, but instead use their own smart phones and the CarAdmin mobile application. To communicate between the smart phones and and the key lockers, a microcomputer has to function as a wireless access point on the locker. Our contractor wanted Bluetooth to be used as the technology for communication, so this was implemented in both the microcomputer and on the mobile application. CarAdmin’s mobile application was unfinished at the start of this project, making it necessary to develop a concept application to test the system while working on it. A microcontroller manages the key lockers’ opening and locking mechanisms, and the logic for this had to be implemented on the microcomputer. The result of this project is a «package» of logic and code which eventually can be implemented in CarAdmin.