CN106097698A - A kind of infrared remote control R-T unit of address programmable - Google Patents
A kind of infrared remote control R-T unit of address programmable Download PDFInfo
- Publication number
- CN106097698A CN106097698A CN201610567889.0A CN201610567889A CN106097698A CN 106097698 A CN106097698 A CN 106097698A CN 201610567889 A CN201610567889 A CN 201610567889A CN 106097698 A CN106097698 A CN 106097698A
- Authority
- CN
- China
- Prior art keywords
- module
- infrared
- control
- address
- coded information
- 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
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
技术领域technical field
本发明涉及红外遥控收发装置领域,特别是涉及一种地址可编程的红外遥控收发装置。The invention relates to the field of infrared remote control transceivers, in particular to an infrared remote control transceiver with programmable addresses.
背景技术Background technique
目前红外遥控设备已成为短距离信号传输的的主要控制手段。随着技术普及,每种设备的控制器发出的红外控制编码都可以被学习或者通过智能手机的APP控制,从而达到一台遥控器可以控制多台设备,大大方便了其操作和设备管理。这种使用方式通过单一使用者对不同控制对象有计划的操作,比如,开机、控制、关机等操作,不会出现操作问题。随着遥控器功能的增强,红外控制设备编码完全公开,带红外功能的智能手机的出现,使得控制器和控制对象存在严重的多对一情况,不能保证设备操作者的唯一性。只要持有红外控制功能设备的人都可以操作被控制设备,这对控制设备的运行带来了严重的隐患。如随意开机,随意控制,忘记关机等,都可能导致出现故障或者事故。红外控制器和控制对象在某些特殊控制要求下不能完成一对一控制操作,导致控制对象常常被误操作,产生设备运行状态的不可控状态,可能导致设备故障,对设备的使用和管理造成很大麻烦。At present, infrared remote control equipment has become the main control means of short-distance signal transmission. With the popularization of technology, the infrared control code sent by the controller of each device can be learned or controlled through the APP of the smart phone, so that one remote control can control multiple devices, which greatly facilitates its operation and device management. In this way of use, a single user performs planned operations on different control objects, such as operations such as starting, controlling, and shutting down, without any operational problems. With the enhancement of remote control functions, the codes of infrared control equipment are completely disclosed, and the emergence of smart phones with infrared functions has caused a serious many-to-one situation between the controller and the control object, and the uniqueness of the equipment operator cannot be guaranteed. Anyone who holds an infrared control device can operate the controlled device, which brings serious hidden dangers to the operation of the control device. Such as starting up at will, controlling at will, forgetting to shut down, etc., may lead to failure or accident. The infrared controller and the control object cannot complete one-to-one control operations under certain special control requirements, resulting in the control object being often misoperated, resulting in an uncontrollable state of equipment operation, which may lead to equipment failure and cause serious damage to the use and management of the equipment. Big trouble.
发明内容Contents of the invention
本发明主要解决的技术问题是提供一种地址可编程的红外遥控收发装置,红外发射端和接收端分别加装地址编码和解码装置,实现控制器和控制对象的一一匹配;本发明能在控制信息中增加地址识别,在装置运行时能实现一对一的控制,既有利于设备的安全运行,又有利于满足节能和舒适性要求。The technical problem mainly solved by the present invention is to provide an infrared remote control transceiver with programmable address. Address identification is added to the control information, and one-to-one control can be realized when the device is running, which is not only conducive to the safe operation of the equipment, but also conducive to meeting the requirements of energy saving and comfort.
为解决上述技术问题,本发明采用的一个技术方案是:提供一种地址可编程的红外遥控收发装置,包括:CPU控制模块、红外接收模块、红外发送模块、地址编码模块、电源管理模块和状态指示模块;所述红外接收模块、红外发送模块、地址编码模块和状态指示模块分别与CPU控制模块连接,所述电源管理模块给CPU控制模块、红外接收模块、红外发送模块、地址编码模块和状态指示模块供电;所述CPU控制模块包括控制模块和存储模块;In order to solve the above technical problems, a technical solution adopted by the present invention is to provide a programmable address infrared remote control transceiver, including: CPU control module, infrared receiving module, infrared sending module, address encoding module, power management module and status Indicating module; the infrared receiving module, infrared sending module, address coding module and status indicating module are respectively connected with the CPU control module, and the power management module provides CPU control module, infrared receiving module, infrared sending module, address coding module and status Indicating module power supply; the CPU control module includes a control module and a storage module;
发送信息时所述红外接收模块接收红外编码信息,存储模块存储红外编码信息,控制模块通过地址编码模块在红外编码信息前增加地址编码,控制模块通过红外发送模块将包含地址编码的红外编码信息发送出去,状态指示模块对红外编码信息发送状态进行显示;When sending information, the infrared receiving module receives the infrared coded information, the storage module stores the infrared coded information, the control module adds the address code before the infrared coded information through the address coding module, and the control module sends the infrared coded information containing the address code through the infrared sending module Going out, the status indication module displays the sending status of the infrared coded information;
接收信息时所述红外接收模块接收红外编码信息,存储模块存储红外编码信息,控制模块校验红外编码信息与控制信息是否匹配,状态指示模块对红外编码信息匹配状态进行显示;红外编码信息匹配成功,控制模块将控制信息通过红外发送模块发送出去。When receiving information, the infrared receiving module receives infrared coded information, the storage module stores the infrared coded information, the control module checks whether the infrared coded information matches the control information, and the status indication module displays the matching status of the infrared coded information; the infrared coded information matches successfully , the control module sends the control information through the infrared sending module.
优选的,所述CPU控制模块为单片机MSP430F1232;所述地址编码模块设置有一组编码开关,通过对相应的位置1或置0形成一组地址编码;所述状态指示模块为指示灯;所述电源管理模块为3V直流电池。Preferably, the CPU control module is a single-chip microcomputer MSP430F1232; the address coding module is provided with a group of coding switches, and a group of address coding is formed by setting the corresponding positions to 1 or 0; the status indicating module is an indicator light; the power supply The management module is a 3V DC battery.
优选的,所述单片机MSP430F1232内置DCO无源晶振,外接电阻ROSC;所述单片机MSP430F1232上设有P1引脚、P2.0引脚、P2.1引脚、P2.2引脚和P2.3引脚;所述编码开关连接到P1引脚,状态指示模块连接到P2.0引脚和P2.1引脚,红外接收模块连接到P2.3引脚,红外发送模块连接到P2.2引脚。Preferably, the single-chip microcomputer MSP430F1232 has a built-in DCO passive crystal oscillator and an external resistor ROSC; the single-chip microcomputer MSP430F1232 is provided with P1 pins, P2.0 pins, P2.1 pins, P2.2 pins and P2.3 pins. The coding switch is connected to the P1 pin, the status indicator module is connected to the P2.0 pin and the P2.1 pin, the infrared receiving module is connected to the P2.3 pin, and the infrared sending module is connected to the P2.2 pin .
本发明的有益效果是:本发明使用低功耗单片机控制,可以容易的应用于通用的红外遥控器和包涵红外接收器的控制对象。只需将该装置的接收端与控制器的发送端对齐安装,或者发送端与控制对象的红外接收端对齐安装即可。装置本身功耗极低,使用寿命较长。可以实现被控对象与控制对象的一对一控制。避免随意操作造成设备的故障和能源的损耗。在制作中,采用嵌入式技术,尽量减少体积和功耗,做到小巧可靠,将有广阔的应用前景。The beneficial effects of the present invention are: the present invention is controlled by a low-power single-chip microcomputer, and can be easily applied to general infrared remote controllers and control objects including infrared receivers. Just align the receiving end of the device with the sending end of the controller, or align the sending end with the infrared receiving end of the control object. The power consumption of the device itself is extremely low and the service life is long. One-to-one control of the controlled object and the control object can be realized. Avoid random operation to cause equipment failure and energy loss. In the production, the embedded technology is used to minimize the size and power consumption, and it is compact and reliable, which will have broad application prospects.
具体实施方式detailed description
下面对本发明的较佳实施例进行详细阐述,以使本发明的优点和特征能更易于被本领域技术人员理解,从而对本发明的保护范围做出更为清楚明确的界定。The preferred embodiments of the present invention are described in detail below, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so as to define the protection scope of the present invention more clearly.
本发明实施例包括:Embodiments of the invention include:
一种地址可编程的红外遥控收发装置,包括:CPU控制模块、红外接收模块、红外发送模块、地址编码模块、电源管理模块和状态指示模块;所述红外接收模块、红外发送模块、地址编码模块和状态指示模块分别与CPU控制模块连接,所述电源管理模块给CPU控制模块、红外接收模块、红外发送模块、地址编码模块和状态指示模块供电;所述CPU控制模块包括控制模块和存储模块;An infrared remote control transceiver with programmable address, comprising: a CPU control module, an infrared receiving module, an infrared sending module, an address coding module, a power management module and a status indicating module; the infrared receiving module, the infrared sending module, and the address coding module Connect with the CPU control module with the state indicating module respectively, described power management module supplies power to CPU control module, infrared receiving module, infrared sending module, address encoding module and state indicating module; Described CPU control module comprises control module and storage module;
本发明地址可编程的红外遥控收发装置安装在遥控器的发射端和控制器的接收端上,通常可以给接收端先设置一个地址,在控制时遥控器端设置相同地址即可。发送信息时所述红外接收模块的红外接收管与发射管对齐,当遥控器按下任何按键时,该模块被唤醒。首先红外接收模块接收红外编码信息,存储模块存储红外编码信息,控制模块通过地址编码模块在红外编码信息前增加地址编码,控制模块通过红外发送模块将包含地址编码的红外编码信息发送给控制对象,状态指示模块对红外编码信息发送状态进行显示,如果信息发送成功,绿灯闪亮,表示工作正常,如果因故发送失败,红灯闪亮,可以重新按键发送。The address-programmable infrared remote control transceiver device of the present invention is installed on the transmitting end of the remote controller and the receiving end of the controller. Usually, an address can be set for the receiving end first, and the same address can be set for the remote control end during control. When sending information, the infrared receiving tube of the infrared receiving module is aligned with the transmitting tube, and when the remote controller presses any button, the module is awakened. First, the infrared receiving module receives the infrared coded information, the storage module stores the infrared coded information, the control module adds the address code before the infrared coded information through the address coding module, and the control module sends the infrared coded information containing the address code to the control object through the infrared sending module, The status indication module displays the sending status of the infrared coded information. If the information is sent successfully, the green light is on, indicating that the work is normal. If the sending fails for some reason, the red light is on, and you can press the button again to send.
接收信息时控制对象上的接收装置被唤醒后,所述红外接收模块接收红外编码信息,存储模块存储红外编码信息,控制模块校验红外编码信息与控制信息是否匹配,状态指示模块对红外编码信息匹配状态进行显示,如果匹配成功,绿灯闪亮,红外编码信息匹配成功,控制模块将控制信息通过红外发送模块发送给控制对象,如果地址不匹配,红灯闪亮,不发送信息。After the receiving device on the control object is awakened when receiving information, the infrared receiving module receives the infrared coded information, the storage module stores the infrared coded information, the control module checks whether the infrared coded information matches the control information, and the status indication module checks the infrared coded information The matching status is displayed. If the matching is successful, the green light is flashing, and the infrared coded information is successfully matched. The control module sends the control information to the control object through the infrared sending module. If the address does not match, the red light is flashing, and no information is sent.
所述CPU控制模块为TI公司的16位超低功耗单片机MSP430F1232,可以在1.8-3.3V电压下工作,工作频率可变,最高可达8M,待机电流仅为0.1uA,有8K Flash存储单元,Flash存储单元主要用于存储接收到的编码数据;所述地址编码模块设置有一组编码开关,通过对相应的位置1或置0形成一组地址编码,还可以采用类似功能的拨码开关、按钮或触摸屏,完成地址信息的设置,仍然可以实现本发明的目的;所述状态指示模块为指示灯;所述电源管理模块为3V直流电池。所述单片机MSP430F1232内置DCO无源晶振,为系统提供稳定、可靠的时钟信号,为了减少温度变化带来的时钟漂移,可接入外接电阻ROSC;所述单片机MSP430F1232上设有P1引脚、P2.0引脚、P2.1引脚、P2.2引脚和P2.3引脚;所述编码开关连接到P1引脚,可以完成256个不同地址的编码;状态指示模块连接到P2.0引脚和P2.1引脚,通过P2.0和P2.1引脚驱动二极管发光,表示控制器的发送状态或地址识别状态;红外接收模块连接到P2.3引脚,通过单片机的P2.3引脚采集红外二极管接收到的方波信号;红外发送模块连接到P2.2引脚,通过单片机的P2.2引脚驱动红外二极管发送编码后的方波信号。The CPU control module is TI's 16-bit ultra-low power MCU MSP430F1232, which can work at a voltage of 1.8-3.3V, with a variable working frequency up to 8M, a standby current of only 0.1uA, and an 8K Flash storage unit , the Flash memory unit is mainly used to store the coded data that receives; Described address coding module is provided with a group of coding switch, forms a group of address coding by corresponding position 1 or setting 0, can also adopt the dial switch of similar function, button or touch screen to complete the setting of address information, and still achieve the purpose of the present invention; the status indication module is an indicator light; the power management module is a 3V DC battery. The single-chip MSP430F1232 has a built-in DCO passive crystal oscillator, which provides a stable and reliable clock signal for the system. In order to reduce the clock drift caused by temperature changes, an external resistor ROSC can be connected; the single-chip MSP430F1232 is provided with P1 pins, P2. 0 pin, P2.1 pin, P2.2 pin and P2.3 pin; the encoding switch is connected to the P1 pin, which can complete the encoding of 256 different addresses; the status indication module is connected to the P2.0 pin Pin and P2.1 pin, through the P2.0 and P2.1 pins to drive the diode to emit light, indicating the sending status or address recognition status of the controller; the infrared receiving module is connected to the P2.3 pin, through the P2.3 of the microcontroller The pin collects the square wave signal received by the infrared diode; the infrared sending module is connected to the P2.2 pin, and the P2.2 pin of the microcontroller drives the infrared diode to send the encoded square wave signal.
本发明使用低功耗单片机控制,可以容易的应用于通用的红外遥控器和包涵红外接收器的控制对象。只需将该装置的接收端与控制器的发送端对齐安装,或者发送端与控制对象的红外接收端对齐安装即可。装置本身功耗极低,使用寿命较长。可以实现被控对象与控制对象的一对一控制。避免随意操作造成设备的故障和能源的损耗。在制作中,采用嵌入式技术,尽量减少体积和功耗,做到小巧可靠,将有广阔的应用前景。The invention is controlled by a low-power single-chip microcomputer, and can be easily applied to a general infrared remote controller and a control object including an infrared receiver. Just align the receiving end of the device with the sending end of the controller, or align the sending end with the infrared receiving end of the control object. The power consumption of the device itself is extremely low and the service life is long. One-to-one control of the controlled object and the control object can be realized. Avoid random operation to cause equipment failure and energy loss. In the production, the embedded technology is used to minimize the size and power consumption, and it is compact and reliable, which will have broad application prospects.
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the content of the description of the present invention, or directly or indirectly used in other related technical fields, shall be The same reasoning is included in the patent protection scope of the present invention.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610567889.0A CN106097698A (en) | 2016-07-19 | 2016-07-19 | A kind of infrared remote control R-T unit of address programmable |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610567889.0A CN106097698A (en) | 2016-07-19 | 2016-07-19 | A kind of infrared remote control R-T unit of address programmable |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106097698A true CN106097698A (en) | 2016-11-09 |
Family
ID=57221472
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610567889.0A Pending CN106097698A (en) | 2016-07-19 | 2016-07-19 | A kind of infrared remote control R-T unit of address programmable |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106097698A (en) |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1595464A (en) * | 2004-06-25 | 2005-03-16 | 孙增军 | Multi-control-multi intelligent type wireless remote control device and method |
| JP2006004436A (en) * | 2004-06-18 | 2006-01-05 | General Electric Co <Ge> | Method and apparatus for safety control in industrial processes |
| CN101184353A (en) * | 2007-10-24 | 2008-05-21 | 李舒 | Radio remote address programmable two-way communication digital light control system |
| CN101222806A (en) * | 2008-01-16 | 2008-07-16 | 上海高智机器人新技术合作公司 | Method and device for automatically controlling lamps |
| CN201134953Y (en) * | 2007-10-24 | 2008-10-15 | 李舒 | Radio remote control address programmable two-way communication digital lighting control device |
| CN101344985A (en) * | 2008-08-26 | 2009-01-14 | 刘正东 | Wireless remote control method |
| CN201331026Y (en) * | 2009-01-09 | 2009-10-21 | 东莞市兆明光电科技有限公司 | Novel LED fluorescent lamp |
| CN202871067U (en) * | 2012-10-09 | 2013-04-10 | 杭州信多达电器有限公司 | Remote controller of foot tub |
| CN203149804U (en) * | 2013-04-07 | 2013-08-21 | 王根生 | Wireless remote controller |
| CN203423833U (en) * | 2013-08-28 | 2014-02-05 | 中冶东方工程技术有限公司秦皇岛研究设计院 | Wireless control device used for lighting electric control box |
-
2016
- 2016-07-19 CN CN201610567889.0A patent/CN106097698A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006004436A (en) * | 2004-06-18 | 2006-01-05 | General Electric Co <Ge> | Method and apparatus for safety control in industrial processes |
| CN1595464A (en) * | 2004-06-25 | 2005-03-16 | 孙增军 | Multi-control-multi intelligent type wireless remote control device and method |
| CN101184353A (en) * | 2007-10-24 | 2008-05-21 | 李舒 | Radio remote address programmable two-way communication digital light control system |
| CN201134953Y (en) * | 2007-10-24 | 2008-10-15 | 李舒 | Radio remote control address programmable two-way communication digital lighting control device |
| CN101222806A (en) * | 2008-01-16 | 2008-07-16 | 上海高智机器人新技术合作公司 | Method and device for automatically controlling lamps |
| CN101344985A (en) * | 2008-08-26 | 2009-01-14 | 刘正东 | Wireless remote control method |
| CN201331026Y (en) * | 2009-01-09 | 2009-10-21 | 东莞市兆明光电科技有限公司 | Novel LED fluorescent lamp |
| CN202871067U (en) * | 2012-10-09 | 2013-04-10 | 杭州信多达电器有限公司 | Remote controller of foot tub |
| CN203149804U (en) * | 2013-04-07 | 2013-08-21 | 王根生 | Wireless remote controller |
| CN203423833U (en) * | 2013-08-28 | 2014-02-05 | 中冶东方工程技术有限公司秦皇岛研究设计院 | Wireless control device used for lighting electric control box |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN205063572U (en) | Energy -conserving electronic lock | |
| CN204631965U (en) | Vehicle lock controller and bicycle theft-prevention control system | |
| EP2397924B1 (en) | Bidirectional wireless electrical energy monitoring system | |
| CN102789681A (en) | Microwave wireless control system for bridge layer | |
| CN104111909A (en) | Vehicle-mounted intelligent terminal USB extending device | |
| CN206000283U (en) | A kind of infrared remote control password short message alarm lock | |
| CN104793529B (en) | A kind of blue-tooth intelligence heating control system | |
| CN106097698A (en) | A kind of infrared remote control R-T unit of address programmable | |
| CN103839307A (en) | Intelligent electronic coded lock | |
| CN207780867U (en) | A kind of Bluetooth of mobile phone Intelligent gate control system | |
| CN212113216U (en) | Computer capable of waking up work by voice | |
| CN210714180U (en) | Intelligent trick lock of loRa control | |
| CN202495147U (en) | Wireless remote control device with low-voltage alarm circuit | |
| CN203909868U (en) | Intelligent electronic lock management system | |
| CN104391465A (en) | Pressing plate with state monitoring function | |
| CN205665762U (en) | Lock system that intelligence tool to lock and tool to lock are constituteed | |
| CN209746396U (en) | Mutual-control intelligent navigation light control system | |
| CN207718615U (en) | Remote control terminal based on Zigbee module and Wi-Fi module | |
| CN204759115U (en) | Integrated form infrared remote control supply socket | |
| CN204723661U (en) | Multifunctional fire-fighting water intelligent controller | |
| CN202249269U (en) | Solar coded lock circuit | |
| CN202084161U (en) | Remote control circuit for signal controllers | |
| CN206409231U (en) | A kind of coal-winning machine both-way communication remote control | |
| CN206283607U (en) | Intelligent anti-theft door | |
| CN205644663U (en) | Long statistical system when regional resident |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |