Popis: |
Cilj diplomske naloge je izdelava 4-kanalne relejne enote, ki jo preko Bluetooth povezave upravljamo s pametnim telefonom. Najprej je podan pregled Bluetooth tehnologije. Osrednji del diplome opisuje Bluetooth modul, ki preko USART povezave komunicira z mikrokrmilnikom podjetja Atmel ATmega324PA. Potrebno je bilo izdelati dva programa. Prvi program je za krmiljenje mikrokrmilnika, napisan v programu Atmel Studio 6, drugi program pa predstavlja Android aplikacijo na pametnem telefonu. The goal of this thesis was to develop a 4-channel relay unit by using Bluetooth connection that is operated with a smart phone. First an overview of the Bluetooth technology is given. The central part of the thesis presents the Bluetooth module that communicates with an Atmel microcontroller ATmega324PA using an USART connection. Two programs were written. The first program is for controlling the microcontroller and is written in Atmel Studio 6. The second program represents the Android application on the smart phone. |