CN103780763A - Device and method for implementing infrared remote control on basis of smartphone USB interface - Google Patents

Device and method for implementing infrared remote control on basis of smartphone USB interface Download PDF

Info

Publication number
CN103780763A
CN103780763A CN201410051219.4A CN201410051219A CN103780763A CN 103780763 A CN103780763 A CN 103780763A CN 201410051219 A CN201410051219 A CN 201410051219A CN 103780763 A CN103780763 A CN 103780763A
Authority
CN
China
Prior art keywords
remote control
mobile phone
usb interface
infrared remote
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410051219.4A
Other languages
Chinese (zh)
Inventor
朱轮
马庆功
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou University
Original Assignee
Changzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changzhou University filed Critical Changzhou University
Priority to CN201410051219.4A priority Critical patent/CN103780763A/en
Publication of CN103780763A publication Critical patent/CN103780763A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a device and method for implementing infrared remote control on the basis of a smartphone USB interface. The mode of signal connection between the device and the smartphone USB interface is a standard USB communication mode. The device for implementing infrared remote control on the basis of the smartphone USB interface comprises a MCU and an infrared transceiver, wherein the infrared transceiver is connected with the MCU and a VBUS pin, and the MCU is connected with the VBUS pin, a pin D- and a pin D+. The device for implementing infrared remote control on the basis of the smartphone USB interface is an external plug-and-play remote control device, is provided with a graphical application program interface, can support existing types of household electrical appliance remote control codes, and can also support new types of remote control codes appearing in the future. The method for implementing infrared remote control on the basis of the smartphone USB interface solves the problem that due to the fact that each household electrical appliance is provided with an infrared remote controller from the original factory, a user needs to frequently replace the remote controls to have control over the corresponding household electrical appliances, and operation is easy, convenient and visual.

Description

A kind of apparatus and method that realize infrared remote control based on smart mobile phone USB interface
Technical field
The present invention relates to a kind of peripheral unit and method of smart mobile phone Function Extension, particularly a kind of apparatus and method that realize infrared remote control based on smart mobile phone USB interface.
Background technology
Along with the raising of living standards of the people, increasing domestic electric appliance has been come into huge numbers of families, as television set, Set Top Box, DVD, air-conditioning etc.Because every kind of domestic electric appliance is all furnished with the Infrared remote controller of former factory, so just need to change frequently remote controller and control corresponding domestic electric appliance, bring inconvenience to daily life.
In the initial more than ten years of mobile phone invention, it is only a kind of communication tool, constantly replace other electronic product functions but its function is many now to tens kinds, become the comprehensive expression of person of tens kinds of functions such as collecting person-to-person communication, amusement, mobile office equipment.Mobile phone has become the necessity of people's life now, if the function of multiple Infrared remote controller can be concentrated on mobile phone, is people's wonderful dream always.
Early stage mobile phone is built-in infrared transport module all.Nowadays, mobile phone manufacturer, often in order to reduce costs, has removed infrared transmission module.The mobile phone of new listing is no longer with infrared transmission function.Mobile phone is infrared have been eliminated by history, get and with be data, services faster, as bluetooth, WIFI etc.
Summary of the invention
For the problems referred to above, the invention provides a kind of apparatus and method that realize infrared remote control based on smart mobile phone USB interface.Apparatus of the present invention are a kind of ancillary equipment of smart mobile phone, by being connected with the USB interface of smart mobile phone, coordinate the application software being arranged on smart mobile phone, realize function of infrared remote control.Standardization of USB interface and the ubiquity of overwhelming majority smart mobile phone, apparatus of the present invention have a wide range of applications to be promoted and practicality.
The present invention adopts following technical scheme:
A kind of device of realizing infrared remote control based on smart mobile phone USB interface, it is standard usb communication mode that signal between this device and smart mobile phone USB interface is connected, comprise microcontroller and infrared transceiver, infrared transceiver is connected with VBUS pin with microcontroller respectively, and microcontroller is connected with VBUS, D-, D+ pin respectively.
Further, the described device of realizing infrared remote control based on smart mobile phone USB interface is at ordinary times in low power consumption standby mode of operation, in the time that the application program on mobile phone sends data communication, just can be waken up, communication and instruction enter standby mode after carrying out and finishing again through after a period of time.
Realize a method for infrared remote control based on smart mobile phone USB interface, its step is as follows:
(1) installation infrared remote control application program on smart mobile phone;
(2) on mobile phone, plug described in claim 1 after device, start application program, application program detects and apparatus for initializing automatically, if undesired, prompting user reconnects device;
(3) user selects the kind of domestic electric appliance in infrared remote control Application Program Interface, and input model is retrieved the remote control mode of these model household electrical appliances, the remote control interface of mobile phone screen display graphics; If can not retrieve the remote control mode of these model household electrical appliances, select to enter mode of learning, learn one by one and arrange with the original remote controller of household electrical appliance;
(4) application program is selected to enter remote control mode, and after button, device transmitting telecontrol code, to domestic electric appliance, realizes the distant control function of domestic electric appliance.
Further, described infrared remote control application program, according to user's selection, is communicated by letter with microcontroller by USB interface, then by microcontroller control infrared transceiver, thereby complete the transmitting of telecontrol code and learn to receive.
Further, user can select the upgrading of application program redaction by infrared remote control application program, also can select to upgrade all or the remote control mode data of designated home electrical appliance type; User mobile phone is learnt the remote control mode data that receive, and can select manually to upload or automatically upload in the remote control mode database of the webserver.
The invention has the beneficial effects as follows:
Adopting a kind of device of realizing infrared remote control based on smart mobile phone USB interface of the present invention is a kind of external remote control of plug and play, have patterned Application Program Interface, not only support existing household appliance remote control code type, can also support emerging remote control mode type in the future.A kind of method that realizes infrared remote control based on smart mobile phone USB interface of the present invention, solve the Infrared remote controller of being all furnished with former factory due to every kind of domestic electric appliance, and the problem of corresponding domestic electric appliance frequently changed remote controller and control by the needs that cause, simple, convenient, directly perceived.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of implementation method of the present invention;
Fig. 2 is the circuit diagram of apparatus of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.
As shown in Figure 1, a kind of device of realizing infrared remote control based on smart mobile phone USB interface of the present invention is a kind of ancillary equipment that can be inserted on mobile phone USB interface, and it is standard usb communication mode that the signal between smart mobile phone USB interface is connected, and comprises microcontroller and infrared transceiver.Apparatus of the present invention are as USB Host, and smart mobile phone is as USB Slave.In low power consumption standby mode of operation, in the time that application program of mobile phone sends data, wake apparatus of the present invention up at ordinary times, the instruction of analysis application, infrared remote control action is carried out in legal instruction.A period of time, while communication, enters standby mode again.
Operate in the application program on mobile phone, according to user's input selection, communicate by letter with microcontroller by USB interface, then by microcontroller control infrared transceiver, thereby complete the transmitting of telecontrol code and learn to receive.
Apparatus of the present invention and method are only completed the transmitting terminal of infrared remote control by mobile phone, remote control reception end on domestic electric appliance does not affect, as long as supporting the household electrical appliance of infrared remote control, do not need its any change, can both apply apparatus of the present invention and method, mobile phone is become to an Infrared remote controller, realize infrared remote control.Do not change the use habit of user at infrared remote control, make the operation of infrared remote control more simple, convenient, directly perceived, hold susceptible to user acceptance.
A kind of method that realizes infrared remote control based on smart mobile phone USB interface of the present invention as shown in Figure 2, is plugged after apparatus of the present invention in the USB interface of smart mobile phone, and the method step of realizing infrared remote control is as follows:
1, installation infrared remote control application program on smart mobile phone.Can install by the special website down load application installation bag of mobile phone access, install again after also can application program installation kit being copied in mobile phone.After application program installation, comprise up-to-date remote control mode database.
2, user plugs after apparatus of the present invention on mobile phone, runs application, and application program can detect and initialization apparatus of the present invention automatically, can prompting user reconnect apparatus of the present invention if undesired.
3, user can select the kind of domestic electric appliance in Application Program Interface, and input model is retrieved the remote control mode of these model household electrical appliances.
If 4 can not retrieve the remote control mode of this model, select to enter mode of learning, learn one by one and arrange with the original remote controller of household electrical appliance." power supply " key that A brand Type B television set is set take study is as example: Application Program Interface selects to carry out mode of learning, selects household electrical appliance kinds " television set ", input brand " A ", and model " B ", can input relevant remark information.Then select " starting study ", choose remote controller " power supply " key showing on mobile phone screen, the original remote controller of household electrical appliance is aimed to the remote control window of apparatus of the present invention, then press " power supply " key.If apparatus of the present invention correctly receive telecontrol code, on mobile phone screen, point out learning success.According to said method, by needed button, study one by one.The information such as the remote control mode information that user obtains by purpose learning remote controller and editor's domestic electric appliance model, can upload in the remote control mode database of the webserver by network, the remote control mode that the technician of responsible webserver remote control mode database maintenance uploads user is examined, arranges, is issued.
5, after having arranged, select " finishing study ".Select application program to enter remote control mode, apparatus of the present invention transmittings telecontrol code is to domestic electric appliance again, can replace original remote controller to carry out the infrared remote control of domestic electric appliance, realized the distant control function of domestic electric appliance.In the time not needing household appliance remote control, can pull up apparatus of the present invention, can not affect the normal function of mobile phone.
User can select the upgrading of application program redaction by application program, also can select to upgrade all or the remote control mode data of designated home electrical appliance type.User mobile phone is learnt the remote control mode data that receive, and can select manually to upload or automatically upload in the remote control mode database of the webserver.Professional and technical personnel is responsible for the remote control mode data of newly uploading to carry out suitable, arrangement, safeguards and the work of upgrading remote control mode database.
Except above embodiment, the present invention also has other execution modes.All employings are equal to the technical scheme of replacement or equivalent transformation formation, still belong to the protection range that present patent application requires.

Claims (5)

1. realize the device of infrared remote control based on smart mobile phone USB interface for one kind, it is characterized in that: and signal between smart mobile phone USB interface to be connected be standard usb communication mode, comprise microcontroller and infrared transceiver, infrared transceiver is connected with VBUS pin with microcontroller respectively, and microcontroller is connected with VBUS, D-, D+ pin respectively.
2. a kind of device of realizing infrared remote control based on smart mobile phone USB interface according to claim 1, it is characterized in that: the described device of realizing infrared remote control based on smart mobile phone USB interface is at ordinary times in low power consumption standby mode of operation, in the time that sending data communication, the application program on mobile phone just can be waken up, communication and instruction enter standby mode after carrying out and finishing again through after a period of time.
3. a method that realizes infrared remote control based on smart mobile phone USB interface, its step is as follows:
(1) installation infrared remote control application program on smart mobile phone;
(2) on mobile phone, plug described in claim 1 after device, start application program, application program detects and apparatus for initializing automatically, if undesired, prompting user reconnects device;
(3) user selects the kind of domestic electric appliance in infrared remote control Application Program Interface, and input model is retrieved the remote control mode of these model household electrical appliances, the remote control interface of mobile phone screen display graphics; If can not retrieve the remote control mode of these model household electrical appliances, select to enter mode of learning, learn one by one and arrange with the original remote controller of household electrical appliance;
(4) application program is selected to enter remote control mode, and after button, device transmitting telecontrol code, to domestic electric appliance, realizes the distant control function of domestic electric appliance.
4. a kind of method that realizes infrared remote control based on smart mobile phone USB interface according to claim 2, it is characterized in that: described infrared remote control application program is according to user's selection, communicate by letter with microcontroller by USB interface, again by microcontroller control infrared transceiver, thereby the transmitting that completes telecontrol code receives with study.
5. according to a kind of method that realizes infrared remote control based on smart mobile phone USB interface described in claim 3 or 4, it is characterized in that: user can select the upgrading of application program redaction by infrared remote control application program, also can select to upgrade all or the remote control mode data of designated home electrical appliance type; User mobile phone is learnt the remote control mode data that receive, and can select manually to upload or automatically upload in the remote control mode database of the webserver.
CN201410051219.4A 2014-02-14 2014-02-14 Device and method for implementing infrared remote control on basis of smartphone USB interface Pending CN103780763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410051219.4A CN103780763A (en) 2014-02-14 2014-02-14 Device and method for implementing infrared remote control on basis of smartphone USB interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410051219.4A CN103780763A (en) 2014-02-14 2014-02-14 Device and method for implementing infrared remote control on basis of smartphone USB interface

Publications (1)

Publication Number Publication Date
CN103780763A true CN103780763A (en) 2014-05-07

Family

ID=50572574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410051219.4A Pending CN103780763A (en) 2014-02-14 2014-02-14 Device and method for implementing infrared remote control on basis of smartphone USB interface

Country Status (1)

Country Link
CN (1) CN103780763A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103956040A (en) * 2014-05-22 2014-07-30 重庆大学 Learnable-type remote controller system based on intelligent equipment
CN104008634A (en) * 2014-05-26 2014-08-27 小米科技有限责任公司 Equipment control method, device and system
CN105006126A (en) * 2015-07-13 2015-10-28 安徽农业大学 Intelligent mobile phone-based general-purpose remote controller and operation method thereof
CN105096577A (en) * 2015-06-18 2015-11-25 赵志伟 Infrared signal external device for intelligent mobile device
CN109977055A (en) * 2017-12-27 2019-07-05 华为终端有限公司 A kind of processing method and handheld device
CN112802322A (en) * 2020-12-30 2021-05-14 桀狮(上海)科技股份有限公司 Intelligent remote control system of mobile terminal external infrared remote control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101810A (en) * 2001-09-20 2003-04-04 Funai Electric Co Ltd Remote control adaptor, and system and method for remote control
CN102368350A (en) * 2011-10-17 2012-03-07 杭州芯赛微电子有限公司 Device and method for realizing universal type infrared remote controller based on mobile phone
CN202632498U (en) * 2012-03-27 2012-12-26 安奉阳 Universal remote control and intelligent terminal with remote-control function
CN203325205U (en) * 2013-06-20 2013-12-04 上海电机学院 Infrared remote controller based on android mobile phone
CN103546832A (en) * 2013-10-17 2014-01-29 北京闪联云视信息技术有限公司 Matching method and matching system for household appliance remote control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003101810A (en) * 2001-09-20 2003-04-04 Funai Electric Co Ltd Remote control adaptor, and system and method for remote control
CN102368350A (en) * 2011-10-17 2012-03-07 杭州芯赛微电子有限公司 Device and method for realizing universal type infrared remote controller based on mobile phone
CN202632498U (en) * 2012-03-27 2012-12-26 安奉阳 Universal remote control and intelligent terminal with remote-control function
CN203325205U (en) * 2013-06-20 2013-12-04 上海电机学院 Infrared remote controller based on android mobile phone
CN103546832A (en) * 2013-10-17 2014-01-29 北京闪联云视信息技术有限公司 Matching method and matching system for household appliance remote control

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103956040A (en) * 2014-05-22 2014-07-30 重庆大学 Learnable-type remote controller system based on intelligent equipment
CN104008634A (en) * 2014-05-26 2014-08-27 小米科技有限责任公司 Equipment control method, device and system
CN105096577A (en) * 2015-06-18 2015-11-25 赵志伟 Infrared signal external device for intelligent mobile device
CN105006126A (en) * 2015-07-13 2015-10-28 安徽农业大学 Intelligent mobile phone-based general-purpose remote controller and operation method thereof
CN109977055A (en) * 2017-12-27 2019-07-05 华为终端有限公司 A kind of processing method and handheld device
CN109977055B (en) * 2017-12-27 2023-06-20 华为终端有限公司 Processing method and handheld device
CN116719766A (en) * 2017-12-27 2023-09-08 华为终端有限公司 Processing method and handheld device
CN112802322A (en) * 2020-12-30 2021-05-14 桀狮(上海)科技股份有限公司 Intelligent remote control system of mobile terminal external infrared remote control system

Similar Documents

Publication Publication Date Title
CN103780763A (en) Device and method for implementing infrared remote control on basis of smartphone USB interface
CN102368350A (en) Device and method for realizing universal type infrared remote controller based on mobile phone
CN204695088U (en) A kind of Intelligent control system for household appliances
CN202584411U (en) Wireless learning infrared repeater system
CN101615059A (en) Television PC and implementation method by the control of TV integrated circuit board
CN104185092A (en) Remote control adaptor and adaption method
CN103927015B (en) A kind of wireless input-output system and its implementation towards multiple terminals
CN103873905A (en) Television control system and television control method
CN103905857A (en) Television system
CN106125709A (en) A kind of smart jack and intelligent domestic system thereof
CN203759648U (en) Bluetooth converter of man-machine interface equipment
CN204557771U (en) A kind of BLE Bluetooth remote control device
US9077929B2 (en) Portable electronic device based user-definable remote-control interface system and operating method thereof with a display and input unit adapted to show an interface allocation information map, the map being divided into a plurality of sub-areas
CN204360558U (en) A kind of universal remote control configuration-system based on OTG
CN203984450U (en) Intelligent domestic gateway
CN105487387A (en) Intelligent household control method and device
CN204375147U (en) A kind of smart box end realizing home appliance and control
CN104426987A (en) Intelligent home furnishing management and control system based on network instructions
CN203838596U (en) Card computer system and device
CN103002625A (en) Multi-protocol power switch control system
CN203225002U (en) Remote signal transmitter-receiver set
CN205119359U (en) Remote control system based on mobilephone terminal
CN104574886A (en) Paged universal key remote controller
CN204516038U (en) A kind of Long-distance Control universal remote control
CN204087476U (en) A kind of infrared transmitter based on OTG interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140507

RJ01 Rejection of invention patent application after publication