Abstract (croatian) | Rad opisuje komponente koje su korištene u izradi vremenske stanice, te je prikazan programski kod i shema spajanja komponenti. Kako bi Arduino vremenska stanica funkcionirala, potrebno je nekoliko komponenti koje će međusobno komunicirati i davati korisniku tražene vrijednosti. Prije svega potreban je glavni mikrokontroler koji će upravljati sa svim ostalim komponentama. U radu se koristi Arduino Uno platforma na koju je moguće spojiti mnoge dodatke kao što su razni senzori, štitovi, itd. Na glavni mikrontroler spaja se DHT22 senzor koji mjeri temperaturu i vlažnost zraka. Kako bi se navedene vrijednosti mogle vidjeti, koristi se LCD zaslon na koji se ujedno i ispisuju. Ukoliko korisnik nije u mogućnosti vidjeti ispisane vrijednosti na LCD zaslonu, tj. ako nije u blizini vremenske stanice, na glavni mikrokontoler dodani je GPRS/GSM štit. Njegova zadaća je da izmjerene vrijednosti šalje putem SMS poruke u prije definiranom vremenskom intervalu. Za napajanje vremenske stanice koristi se punjiva prijenosna solarna baterija, pa se stoga vremenska stanica može koristi svugdje, pogotovo dok na nebu ima sunca. Ovaj rad može se koristiti u različite svrhe, a uz neke male nadogradnje iskoristivost je još veća. Može se napraviti mobilna aplikacija koja će iz vrijednosti koje su poslane SMS porukom raditi statistiku temperature i vlažnosti zraka, dodavanjem releja, može se kontrolirati grijanje/hlađenje nekog objekta. |
Abstract (english) | This paper describes the components that are used in the setup of a weather station, and shows the program code and layout of the component connection. In order to function, the Arduino weather station requires several components communicating with each other and providing the user with the required parameters. The primary component is the main microcontroller, which will operate all other components. This paper uses the Arduino Uno platform, to which it is possible to connect many add-ons, such as various sensors, shields, etc. The DHT22 sensor, used to measure the temperature and humidity, is connected to the main controller. In order for these values to be seen and printed, an LCD screen is used. If the user is not able to see the values on the LCD screen, ie., if it is not near the weather station, a GPRS / GSM shield is added on the main microcontroller. Its task is to send the measured values via text message in a predefined time interval. A portable rechargeable solar battery is used to power the weather station, and therefore the weather station can be used everywhere, especially when there is sun in the sky. This paper can be used for different purposes, and with some small upgrades the efficiency is even greater. A mobile application can be designed, that will work out statistics of temperature and humidity using the values sent by the text message. By adding relays, the heating/cooling of a building can be controlled. |