To decrease the hardware cost of touch senor, a simple and easy touch sensor is designed. The basic principle is that the touch sensor is pressed or not can be judged by detecting the variation of charging/discharging period. The charging/discharging period is constant when no sensor-pad is pressed, as the finger touches the sensor-pad the charging/discharging period will be changed. Each two I/O pins of MSP430 composed a charging/discharging loop, and charge/discharge the sensor-pad. The rising edge interrupt is detected when charging the sensor-pad, and the falling edge interrupt is detected when discharging the sensor-pad. The mean time is calculated, and the charging/discharging period is recorded. This method only requires one MCU without any other special detection chips. This design is simple, reliable and reduces hardware costs effectively.