摘要 |
<p>There is disclosed a method for controlling an electronic device through infrared detection includes an infrared sensor to detect displacement alteration waveforms of a targeted object to generate a control signal to control the electronic device. The method includes: setting at least one execution command (step 10); setting an executing condition for each execution command (step 11); getting a detection signal of the infrared sensor (step 12); processing alteration waveforms of the detection signal (step 13); judging whether the detection signal alteration waveforms coincided with the executing condition (step 14); and executing the execution command corresponding to the executing condition (step 15). By means of the method set forth above the infrared sensor can detect movement of the targeted object, and convert the movement to a control means for the electronic device. Thereby through the movement of an object the electronic device can be activated to perform a selected function.</p> |