The aim of this thesis is to control a relay connected to the GPIO port over the wireless Bluetooth interface. To achieve this, it is necessary to examine the Device Tree, which is used to enable the use of the GPIO and UART interface. The UART interface is used to connect the Bluetooth module. Before the actual programming the individual components had to be connected and set up properly. A server program was developed, that accepts instructions from the client and returns the current state of the relay after a successful operation via the Bluetooth interface. A portable device, powered by the mobile operating system Android, running an already developed application was used as a client.
|