Using software encoding to simulate the hardware PT2262[4] saves the hardware resources and the cost. The wireless module software coding format is: the wide level pulse width is 450s which is 3 times longer than the narrow one, and state '0', '1', 'f' are composed of two Bit0, two Bit1 ,a Bit0 and a Bit1, as shown in Fig. 5. And there are 41 bits in total of each string of code