Skip to Main Content
WSNs (wireless sensor networks) are networks that hundreds or thousands of nodes poured in a field and nodes try to send sensed event to base station (BS). In many cases, the BS isn't in the field and is so far away from nodes. Energy efficiency is one of the major concerns in wireless sensor networks since it impacts the network lifetime. So instead of transmitting directly to BS, in hierarchical network, we choose a cluster head (CH) to send aggregated data from neighbors to BS. In this paper we investigate a new threshold assignment for LEACH and xLEACH that improves energy consumption. We insert the distances of nodes from BS in threshold assignment in order to unbalance the CH selection to reduce energy consumption in the network.