The thesis includes theoretical examination and experimental implementation of two concepts of connecting microcontrollers to the local network. Both concepts come from TCP/ IP network model. UDP is included as an unreliable protocol on the transport layer, and MQTT acts as an application on top of the model. We have designed an experiment to assess the responsiveness and reliability of both solutions. We have measured time interval between sending a message from one IoT device and receiving and recognizing message with another IoT device. The experimental part was successfully implemented with the help of available open source platforms and programs. We found that both solutions in the established network are reliable, UDP requires less resources, it is faster and suitable for direct communication between end devices. MQTT has more potential for storing and processing data, but requires higher capacity and more devices. It is easy to implement and is suitable for larger systems.