Internet of Things (IoT) uses the connection between devices to improve their efficiency and user experience, being the communication one of the main elements for a proper IoT network. This paper presents a review of the most common wired and wireless communication protocols, discusses their characteristics, advantages and disadvantages as well as a comparison study to choose the best bidirectional sensor network composed by low power devices such as Arduino, ESP-12 and Raspberry Pi.