The striving to obtain more detailed information about the environment and control various processes leads to an increase in the number of connected sensor devices in various industrial areas. The collected large amount of data can be analysed in real-time. The sensors that build up the WSN have limited hardware resources and cannot process large amounts of data. The integration between WSN and cloud structures is an excellent method for storing, processing, accessing data via the Internet and solves the issue of the limited capacity of WSN. The big challenge to designing the WSN - cloud systems is establishing a communication channel (through different protocols) between devices in the network and cloud platforms. This project executes/perform a real experiment on the XBee sensor network and the ThingSpeak cloud, and the data transmission between them is forwarded using different protocols (HTTP, HTTPS, MQTT and MQTT-SN). The influence of the parameters of the transmitted packet on the delay, the CPU, RAM load has been studied. The results give some advantages of MQTT over other protocols in terms of data rate, CPU and RAM load when working with XBee sensor modules and integration between WSN and cloud structures.