The paper analyzes the detail advantages and disadvantages of LEACH algorithm. A RDCR algorithm is proposed based on LEACH algorithm. It involves the heterogeneous Wireless Sensor Networks, i.e. different nodes play different roles and different nodes have different data transfer rates. In the choice of cluster head node, the novel algorithm considers the different data transfer rates among different nodes. Compared with LEACH algorithm, RDCR algorithm adjust the threshold of node to be cluster head. It reduces the probability and frequency of high rate nodes to be cluster head, which lengthen life of high rate nodes. According to MATLAB software, simulation results show that RDCR algorithm can lengthen longer life of high rate node and better the stability of the entire network than LEACH.