We present a timer-based distributed clustering algorithm.By adaptively adjusting the wakeup rate of the exponential distribution
a node with higher residual energy is more likely to be elected clusterhead.Moreover
the algorithm is able to ensure that clusterheads are well scattered.Simulation experiments illustrate that our algorithm is able to significantly prolong system life compared with previous ones.