Return to search

Design och utvärdering av programvara för en Bluetoothkommunicerande lågenergienhet

Syftet med projektet var att utveckla en programvara för ett strömsnålt smartarmband som kommunicerar med sin användare på ett nytt sätt, via vibrationer i morsekod. Programvaran använder sig av Bluetoothteknik för att skicka och ta emot information i realtid från en smartphone-applikation. Kravet var att programvaran inte bara ska fungera utan även uppnå en viss standard. Standarden var definierad av en kravspecifikation och ett antal mål; robusthet, prestanda, energieffektivitet, begriplighet och förvaltningsbarhet. Allt detta krävdes för att programvaran skulle vara tillräckligt funktionell för att kunna användas i verkligheten.Den utvecklade programvaran har i huvudsak tre delar;    En som styr Bluetoothkommunikationen mellan systemet och smartphone-applikation.    En som hanterar knapptryckningarna på armbandet.    En som styr armbandets vibrationsmotorer.    För att bestämma vilken programstruktur som bäst skulle uppfylla kraven utvärderades flera olika ramverk systematiskt. Av dessa valdes det ramverk bäst lämpad för de uppsatta målen. Systemet använder ett realtidsoperativsystem som ger en stabil grund och hanterar alla uppgifter på ett smidigt sätt. Det är dessutom väletablerat och dokumenterat, vilket förenklade utvecklingen. För att validera att programvaran uppnått målen utfördes flertalet anpassade tester.    Projektet resulterade i en fullt fungerade programvara som uppfyllde uppsatta mål. Några viktiga lärdomar som har dragits av detta projekt är bland annat att satsningen på test-fokuserad evaluering har varit ett mycket lyckat val. Det har resulterat i att det är lätt och tydligt att se om kraven som ställts har uppnåtts. En annan del som har varit till stor hjälp är de avgränsningar som lagts på projektet. Att ha satt tydliga mål och specificerat att andra icke-relevanta aspekter är utanför ramarna av projektet har varit en stor fördel. / The purpose of this project was to develop a firmware for a low-energy smartwristband that communicates with the user in a new way through vibrations in Morse-code. It uses Bluetooth technology to send and receive information in real-time, from a smartphone application. The firmware did not only have to be functional, it had to reach a certain standard as well. This standard was defined by a set of goals: robustness, performance, power efficiency, comprehensibility and maintainability. All these are required for the program to be viable in practice.    The firmware has three main parts:    One which controls Bluetooth communication between the system and the smartphone application.    One that handles the button presses on the wristband.    One that controls the vibration motors on the wristband.To find the right structure for the firmware, several different frameworks were systematically evaluated with the requirements in mind. The system uses a realtime operating system which provides a strong foundation and handles all tasks in an easily manageable way. It is also well established and documented, which facilitated development. Several tests were performed to validate goal achievement.The project resulted in a fully functioning firmware which fulfilled the set goals. Some important lessons that was taught from this project is firstly that the focus on test-based evaluation was a very good choice. It makes it very clear and easy to see if requirements were fulfilled. Another part which has helped a lot was the delimitations set on the project. To specify the scope has been very important part of the projects success.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kth-279685
Date January 2020
CreatorsLarsson, Ante, Fölster, Niclas
PublisherKTH, Skolan för elektroteknik och datavetenskap (EECS)
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess
RelationTRITA-EECS-EX ; 2020:312

Page generated in 0.0015 seconds