1. Technical Field
The present disclosure relates to remote controls and, particularly, to a remote control for an electronic device and a signal transmission method employed in the remote control.
2. Description of the Related Art
Many electronic devices provide mechanical buttons for devices to input commands. However, repetitive operations may cause users to feel tired, and in addition, the mechanical buttons occupy space, thus making miniaturization difficult.
The components of the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of a remote control for electronic device and a signal transmission method for the remote control. Moreover, in the drawings, like reference numerals designate corresponding parts throughout multiple views.
Referring to
In the embodiment, the input unit 10 is a button, users can operate the button in various operation ways to control the electronic device 200 to flip pages. The microprocessor 11 scans all the interfaces of the connector 13 to obtain level signals of those interfaces to determine which interface is connected to the electronic device 200.
The microprocessor 11 then controls the transmission unit 12 to transmit control signals to the electronic device 200 via the determined interface.
The electronic device 200 includes a control unit 20, a storage unit 21, a display unit 22 and interface unit 23. In the embodiment, the interface unit 23 includes a data transmission interface, an earphone interface, and a battery charging interface.
Each interface of the interface unit 23 can be engaged to one of the interfaces of the connector 13. Thus, the electronic device 200 can receive the operation signals transmitted by the remote control 100 via any interface electrically connected to the connector 13. The storage unit 21 stores digital files. The processor 20 receives the operation signals from the remote control 100 to control the electronic device 200 to flip pages. The processor 20 determines an operation type according to the Pulse Width Modulation (PWM) waves of the control signals. If the operation is the first type, the processor 20 flips a page forward. If the operation is the second type, the processor 20 flips a page backwards. If the operation is the third type, the processor 20 returns to the homepage of a current file and updates the content on the display unit 22 accordingly.
In the embodiment, if the control signal exists beyond a first preset time period, but not beyond a second preset time period, such as 2 ms<t≦500 ms, the processor 20 determines that the operation is the first type; if control signals exist beyond the second preset time period, but not beyond a third preset time period, such as 500 ms<t≦2000 ms, the processor 20 determines that the operation is the second type; if the control signal exists beyond the third preset time period, such as t>2000 ms, the processor 20 determines that the operation is the third type.
Referring to
In step S301, electrically connecting a remote control 100 to an electronic device 200.
In step S302, the remote control 100 determines which interface of the connector 13 of the remote control 100 is electrically connected to the electronic device 200. In the embodiment, a microprocessor 11 of the remote control 100 scans each interface of the connector 13 to obtain level signals of the interface to determine which interface is connected to the electronic device 200.
In step S303, the remote control 100 detects and transmits control signals from an input unit 10 to the electronic device 200 via the determined interface.
Referring to
In step S401, an electronic device 200 receives control signals from a remote control 100 accompanying the electronic device 200.
In step S402, the electronic device 200 determines an operation type according to the Pulse Width Modulation (PWM) waves of the control signals.
In step S403, the electronic device 200 flips a page forward if the operation is a first type.
In step S404, the electronic device 200 flips a page backward according to the operation signal if the operation is a second type.
In step S405, the electronic device 200 returns to homepage of a current file according to the operation signal if the operation is a third type.
In the embodiment, if the control signal exists beyond a first preset time period, but not beyond a second preset time period, such as 2 ms<t≦500 ms, the microprocessor 11 determines that the operation is the first type; if the control signal exists beyond the second preset time period, but not beyond a third preset time period, such as 500 ms<t≦2000 ms, the microprocessor 11 determines that the operation is the second type; if the control signal exists beyond the third preset time period, such as t>2000 ms, the microprocessor 11 determines that the operation is the third type.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
201010598580.0 | Dec 2010 | CN | national |