Utveckling av nivåvaktsystem för avloppstankar
Granberg, Lucas (2013)
Granberg, Lucas
Arcada - Nylands svenska yrkeshögskola
2013
All rights reserved
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2013121321132
https://urn.fi/URN:NBN:fi:amk-2013121321132
Tiivistelmä
Uppdragsgivaren Smartel Electronics Oy har en produkt på marknaden som är en trådlös nivåvakt för avloppstankar. Produkten består av en inne- och ute-enhet. Uteenheten kontrollerar nivån i tanken och skickar en trådlös signal till inneenheten. När Innenheten får ett larm börjar den blinka och pipa. Produkten är begränsad av att larmet bara kan ses på det ställe som inne-enheten befinner sig. Därför ville uppdragsgivaren utveckla produkten så att larmet kan skickas till en server över Internet och därifrån vidare till kunden via SMS eller e-post. Tjänsten Smartlarm utvecklades för detta ändamål. Smartlarm består av ny hårdvara som bygger på den gamla samt en server som tar hand om kommunikationen mellan nivåvakten och kunden. Examensarbetets målsättning är att dokumentera och motivera de val som görs samt de problem som uppstår i samband med utvecklingen av tjänsten. Syftet för examensarbetet är att det skall kunna användas som referens vid vidareutveckling av tjänsten. Tjänsten utvecklas genom ett nära samarbete med uppdragsgivaren eftersom både server och nivåvaktens hårdvara måste fungera tillsammans. Hårdvaran hör inte till detta examensarbete men sätter ändå vissa krav på hur serverlogiken utvecklas. Serverlogiken bygger på PHP-ramverket Symfony. Ramverket har fungerat som en röd tråd för hur projektet utformats eftersom andra projekt byggda med detta ramverk har använts som referens. Projektet ledde till en fungerande prototyp som kan visas för potentiella kunder. Examensarbetet fungerar som en bra referens för framtida utveckling av projektet. Smartel Electronics Ltd. has a product on the market that is a wireless float switch alarm for sewer tanks. The product consists of an indoor and an outdoor unit. The outdoor unit checks the level in the tank and sends a wireless signal to the indoor unit. When the indoor unit receives the alarm it starts flashing and beeping. The product is limited by the fact that the alarm is only visible at the location of the indoor unit. Therefore the commissioner of this thesis wanted to develop the product so that the alarm can be sent to a server over the Internet and from there on to the customer via SMS or email. The Smartlarm service was developed for this purpose. Smartlarm consists of new hardware based on the old and a server that takes care of the communication between the hardware and the client. The thesis aims to document and justify the choices made and the problems that arise in connection with the development of the service. The purpose of the thesis is that it can be used as reference for further development of the service. The service is developed through a close collaboration with the commissioner as both the server and the level switch hardware must work together. The hardware does not belong to this thesis but nevertheless puts certain requirements on how the server logic is developed. Server logic is based on the PHP framework Symfony. The framework has functioned as a guideline for development of the project because other projects built with this framework have been used as a reference. The project produced a working prototype that can be shown to potential customers. The thesis serves as a good reference for future development of the project.