The Wireless sensor network is a very important issue, if you do not placed a good position will result in more than the number of sensors placed, and the coverage is too low or high load sensor attached to shorten lifetime time. And even some serious problems might occur, For example: forest fire occurs, low coverage cannot detect a fire and sensor lifetime to short time to cannot tracking, May cause more serious disaster. We will deploy for wireless sensor networks, in the sensor network connectivity sensing and event detection rate of satisfaction, from the total number of sensors used and the power consumption of the entire system to do the optimization.