Intelligent buildings are able to improve living condition and at the same time saving energy, and has therefore become one of the popular topics recently. In order to minimize the waste of energy, it is necessary to auto-detect user's position inside the building, and then adjust the living condition accordingly. In this paper, a harvesting floor is designed with piezoelectric material, which can convert extra energy of walking motion into electrical energy. The generated electricity is then used to drive a wireless transmitter module to detect user's current position. Moreover, under low frequency condition, the energy generation from piezoelectric material has a low efficiency that is insufficient to drive a wireless module. In order to elevate the energy power of piezoelectric, this research adopted the plucked method, which is approximately 10 times the electricity compare with the forced method (conventional methods).