Wireless sensor networks, WSN, for which development has begun by military applications, are nowadays applied to all human activities; e.g. in medicine for patience monitoring or to reduce the effects of disasters. Therefore, the WSNs area has been also one of the emerging and fast growing scientific fields. Increasing interest of WSNs is even caused by equally intense growth of interest in the Internet of Things domain, IoT, in which WSNs constitute a significant part. These reasons have brought about developing low cost, lowpower and multi-function sensor nodes. However, the major fact that sensor nodes run quickly out of energy has been an issue and many energy efficient routing protocols have been proposed to solve this problem. Case study presented in this paper concern design of WSN in IoT concept from system lifetime perspective. A hierarchical routing technique, which shows energy efficiency, has been validated. Simulation results show that chosen technique prolongs the lifetime of the WSN compared to other investigated clustering schemes. The advantages of this method are validated by comparative studies.