Reaaliaikainen järjestelmä ilmanlaadun valvontaan
Gildi, Albert (2022)
Gildi, Albert
2022
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2022052612278
https://urn.fi/URN:NBN:fi:amk-2022052612278
Tiivistelmä
Opinnäytetyön tavoitteena oli luoda laiteohjelmisto laitteelle, johon kuuluu ilmanlaatua mittaavat anturit, summeri ja kauko-ohjain. Lisäksi tavoitteena oli laiteohjelmiston logiikan suunnittelua ja oppia ohjelmistokehittäjän asemasta sulautettujen järjestelmien kehityksessä. Opinnäytetyön toimeksiantaja oli RCP Software Oy.
Mikropiirin laiteohjelmisto mittaa ilmanlaatuun vaikuttavia muuttujia antureilla, ja mittaukset tapahtuvat 30 minuutin jakson väleissä. Mittaustiedon perusteella laite osaa lisätä ilmanvirtausta kohteisiin, jossa huonompi ilmanlaatu tai laukaista hälytyksen, jos hään raja-arvo ylittyy. Kauko-ohjaimella ohjataan laitteen tilaa. Laiteohjelmisto toteutettiin C-kielellä ja väliohjelmistona käytettiin FreeRTOS:ää, jolla ohjataan tapahtumaketjua ja sen ajoitusta.
Lopputuloksena luotiin alustava laiteohjelmisto kehitysalustalla, ja prototyyppi, johon asennettiin kehitysalustalla toteutettu laiteohjelmisto. Projektin jatkokehitys jatkuu prototyypissä havaittujen ongelmien korjaamisessa sekä asiakkaan tulevien kehitysideoitten kehittämisessä. The goal of this thesis was to create firmware for a device which includes sensors for measuring air quality, buzzer, and a remote controller. The firmware was written in C language and FreeRTOS was used as middleware which was responsible for chain of events and timing. The device uses the measured parameters from the sensors and firmware to know if a location with a poorer air quality needs ventilation. The device can start an alarm if the threshold value of carbon monoxide is exceeded. A remote controller controls the device status.
Another goal of this thesis was to design the logic and the microchip pin layout for these firmware features. RCP Software Ltd commissioned the thesis.
The result was an initial firmware made on a development platform with prearranged features integrated into it and a prototype with working firmware from the development platform. The development of the project will continue with correcting problems that occurred on the prototype and developing the client’s upcoming ideas.
Mikropiirin laiteohjelmisto mittaa ilmanlaatuun vaikuttavia muuttujia antureilla, ja mittaukset tapahtuvat 30 minuutin jakson väleissä. Mittaustiedon perusteella laite osaa lisätä ilmanvirtausta kohteisiin, jossa huonompi ilmanlaatu tai laukaista hälytyksen, jos hään raja-arvo ylittyy. Kauko-ohjaimella ohjataan laitteen tilaa. Laiteohjelmisto toteutettiin C-kielellä ja väliohjelmistona käytettiin FreeRTOS:ää, jolla ohjataan tapahtumaketjua ja sen ajoitusta.
Lopputuloksena luotiin alustava laiteohjelmisto kehitysalustalla, ja prototyyppi, johon asennettiin kehitysalustalla toteutettu laiteohjelmisto. Projektin jatkokehitys jatkuu prototyypissä havaittujen ongelmien korjaamisessa sekä asiakkaan tulevien kehitysideoitten kehittämisessä.
Another goal of this thesis was to design the logic and the microchip pin layout for these firmware features. RCP Software Ltd commissioned the thesis.
The result was an initial firmware made on a development platform with prearranged features integrated into it and a prototype with working firmware from the development platform. The development of the project will continue with correcting problems that occurred on the prototype and developing the client’s upcoming ideas.