Patent ID: 8744662

Claim:
A method for operating an autonomous moving cleaning apparatus which includes at least a battery to support operation of the cleaning apparatus, a driving wheel to drive moving of the cleaning apparatus, a floor sweeping roller to clear dirt on a floor, at least one servomotor to drive the driving wheel and the floor sweeping roller, a microcontroller unit to control spinning of the servomotor, a light emission member activated by a voltage sent and converted by the microcontroller unit, a light receiving member to receive light from the light emission member and convert the light to send to operate the microcontroller unit and a function key to select preset functions provided by the microcontroller unit to control the servomotor, the method comprising the steps of: providing a digital signal by the microcontroller unit and processing the digital signal through an encoding technique to form an encrypted encoding data set; sending out continuously the encrypted encoding data set by the microcontroller unit; converting data values in the encrypted encoding data set to high or low voltages to activate the light emission member to generate flicker light; and receiving continuously a string of reflective light corresponding to the flicker light by the light receiving member to form a corresponding high or low voltage which is converted to form a corresponding digital signal sent to the microcontroller unit to be compared with the encrypted encoding data set for decoding; wherein the microcontroller unit controls the servomotor to spin forwards, decelerate, spin backwards or stop based on decoding correctness and the detected corresponding digital signal in a condition of strong, weak, presence or absence.