Return to search

Att välja hårdvaruplattform för Internet of Things projekt : En jämförelse mellan Raspberry Pi och Arduino

The work described in this thesis is aimed at comparing Raspberry Pi model 3 B and Arduino Uno with an ESP8266 wifi module to see which one is most suitable to use in a Internet of Things project where data collecting from an sensor, processed and then presented. The method for this comparison is to divide the work. First, price and power consumption will be evaluated. Then, the stability of communication over wifi will be tested. Finally, the time it takes to design a program on the platforms will be measured. The result from the comparison show that the Raspberry Pi is the best choice for this type of Internet of Things projet. However, which platform to choose depends on the specific goals of the project since the platforms are good at different things. A server written in Python communicates with the Raspberry Pi by using socket to socket communication, the Raspberry Pi collects the data from the sensor and then sends it to the server. The server then saves the data in a database by the unit identification number. Then a webpage was designed that presented the data to the user. A usabiity test was done on the webpage and the result from the usability test showed that the test users was satisfied with the usability with the page, exept the choice of colors, which was fiexd. / Arbetet beskrivet i detta examensarbete går ut på att jämföra vilken av plattformarna Arduino Uno med en ESP8266 wifi-modul och Raspberry Pi 3 modell B som är mest lämplig att använda i ett Internet of Things projekt där inhämtning av data, bearbetning av data och presentation av datan. Metoden för arbetet är att dela upp det i olika moment, först undersökt faktorerna pris och strömförbrukning därefter testas kommunikationen över wifi för de olika plattformarna och därefter hur lång tid det tar att skapa ett test för kommunikationen på varje plattform. Resultatet av jämförelsen är att Raspberry Pi är mest lämplig för detta projekt, men att avgöra vilken plattform som ska användas i Internet of Things beror till störst del på vilka krav som finns, eftersom bägge plattformarna har sina egna fördelar mot varandra. En server skriven i python hämtar datan från sensorn via Raspberry Pi med hjälp av socketmeddelanden, därefter sparas datan i en databas där ett identifieringsnummer för plattformen styr sparandet av datan. För att kunna presentera datan från sensorn så skapades en webbplats som hämtar datan från databasen beroende på om användaren skickar en begäran från webbplatsen. Ett användartest har genomförts på webbplatsen för att undersöka användbarheten. Användartestet visade att webbplatsen hade de funktioner som användarna ansåg behövdes, enda åtgärdspunkten var färgsättning på webbplatsen som åtgärdades.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:miun-32799
Date January 2017
CreatorsJonsson, Marcus
PublisherMittuniversitetet, Avdelningen för informationssystem och -teknologi
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess

Page generated in 0.0026 seconds