CN110120148A - A kind of remote control intelligent switch - Google Patents
A kind of remote control intelligent switch Download PDFInfo
- Publication number
- CN110120148A CN110120148A CN201810121583.1A CN201810121583A CN110120148A CN 110120148 A CN110120148 A CN 110120148A CN 201810121583 A CN201810121583 A CN 201810121583A CN 110120148 A CN110120148 A CN 110120148A
- Authority
- CN
- China
- Prior art keywords
- positive
- pin
- power supply
- pole
- negative poles
- 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
- 238000001514 detection method Methods 0.000 claims abstract description 25
- 230000005540 biological transmission Effects 0.000 claims abstract description 4
- 239000003990 capacitor Substances 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 5
- 238000009434 installation Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000003292 glue Substances 0.000 description 2
- 229920001577 copolymer Polymers 0.000 description 1
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
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/941—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated using an optical detector
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K2217/00—Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
- H03K2217/94—Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
- H03K2217/94005—Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated activated by voice or sound
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K2217/00—Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
- H03K2217/94—Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
- H03K2217/94084—Transmission of parameters among sensors or between sensor and remote station
- H03K2217/94089—Wireless transmission
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
Abstract
一种遥控智能开关,主要包括红外发射及接收单元,舵机传动装备,声音检测单元,光检测单元,温度检测单元,湿度检测单元,时钟单元,显示单元,电源模块,按键模块和开关壳体。本发明的优点在于,该遥控智能开关实现了开关的远程操控,且安装和操作过程简单,并能检测实时的温湿度情况。
A remote control intelligent switch, mainly including an infrared transmitting and receiving unit, a steering gear transmission equipment, a sound detection unit, a light detection unit, a temperature detection unit, a humidity detection unit, a clock unit, a display unit, a power module, a key module and a switch case . The invention has the advantages that the remote intelligent switch realizes the remote control of the switch, has simple installation and operation process, and can detect real-time temperature and humidity conditions.
Description
技术领域technical field
本发明涉及智能开关领域,尤其是具有遥控功能的智能开关。The invention relates to the field of intelligent switches, in particular to intelligent switches with remote control function.
背景技术Background technique
开关是生活中不可或缺的一样东西。在目前的日常生活中,开关大都以手动方式实现进行操作,不能够实现远程操控,使人们的生活不够便利。本发明在原有手动开关的基础上设计而成,大大提升了原有开关的智能性和可操控性,为人们生活提供便利。Switches are an indispensable thing in life. In the current daily life, switches are mostly operated manually, and remote control cannot be realized, which makes people's lives not convenient enough. The present invention is designed on the basis of the original manual switch, greatly improves the intelligence and controllability of the original switch, and provides convenience for people's life.
发明内容Contents of the invention
为了解决原有开关的远程操控问题,本发明通过红外遥控器控制舵机旋转,来代替手动操作,从而实现手动开关的远程操作。In order to solve the problem of remote control of the original switch, the present invention uses an infrared remote controller to control the rotation of the steering gear instead of manual operation, thereby realizing the remote operation of the manual switch.
本发明主要包括红外发射及接收单元,舵机传动装备,声音检测单元,光检测单元,温度检测单元,湿度检测单元,时钟单元,显示单元,电源模块,按键模块和开关壳体。The invention mainly includes an infrared emitting and receiving unit, steering gear transmission equipment, a sound detection unit, a light detection unit, a temperature detection unit, a humidity detection unit, a clock unit, a display unit, a power supply module, a key module and a switch housing.
本技术的实施方案主要为:使用STC89C51RC-40I-PDIP40单片机作为开关的主要控制器件;红外发射及接收单元由NEC编码的遥控器和VS1738红外线传感器构成,其中NEC编码的遥控器用于发射红外线信号,VS1738红外线传感器用于接收遥控器发来的红外信号;舵机传动装备由两个SG90舵机构成,在收到单片机发送过来的PWM信号后实现开关的开闭;声音检测单元由L型电容式咪头和LM339电压比较器构成,可根据外界声音大小来改变其高低电平输出;光检测单元由光敏电阻与LM339电压比较器组成,可根据外界光强来改变其高低电平输出;显示单元选取0.96寸OLED显示屏,用于显示系统当前的工作状态;温度检测单元选取DS18B20温度传感器,用于开关所在环境温度的检测;湿度检测单元选取DHT11湿度传感器;时钟单元包括了DS1302时钟芯片和有源蜂鸣器,用来提示当前系统时间;电源模块由三节1.5V干电池串联而成,总电压大小为4.5V,给系统各个元件进行供电;按键模块包括5个轻触开关按键,按键包括开关键、延时开关键、关闭延时开关键、闹钟开启键以及闹钟关闭键;开关壳体主要由长和宽为 9cm,高为6cm的四棱柱型丁二烯—苯乙烯共聚物材质外壳和舵机固定杠杆组成。The implementation plan of this technology is mainly: use STC89C51RC-40I-PDIP40 single-chip microcomputer as the main control device of the switch; the infrared transmitting and receiving unit is composed of a NEC-coded remote controller and a VS1738 infrared sensor, wherein the NEC-coded remote controller is used to emit infrared signals, The VS1738 infrared sensor is used to receive the infrared signal sent by the remote control; the steering gear transmission equipment is composed of two SG90 steering gears, and the switch is turned on and off after receiving the PWM signal sent by the microcontroller; the sound detection unit consists of an L-shaped capacitive Composed of microphone and LM339 voltage comparator, its high and low level output can be changed according to the external sound; the light detection unit is composed of a photosensitive resistor and LM339 voltage comparator, which can change its high and low level output according to the external light intensity; display unit The 0.96-inch OLED display screen is selected to display the current working status of the system; the temperature detection unit selects the DS18B20 temperature sensor to detect the ambient temperature where the switch is located; the humidity detection unit selects the DHT11 humidity sensor; the clock unit includes the DS1302 clock chip and an The source buzzer is used to prompt the current system time; the power module is composed of three 1.5V dry batteries in series, the total voltage is 4.5V, and supplies power to each component of the system; the button module includes 5 tact switch buttons, and the buttons include switches key, delay on-off key, off-delay on-off key, alarm clock on key and alarm clock off key; the switch housing is mainly composed of a rectangular prism-shaped butadiene-styrene copolymer shell with a length and width of 9 cm and a height of 6 cm. The steering gear consists of a fixed lever.
STC89C51RC-40I-PDIP40单片机的第40引脚接4.5V电源正极,单片机的第20引脚接4.5V电源负极,将4.5V电池盒正极接10μF的电容正极,串联一个10kΩ的电阻后接4.5V电池盒负极,并在电容正负极并联一个轻触开关按键,将电容负极引出接单片机的第9引脚组成复位电路;VS1738红外线传感器的电源正负极接4.5V电源的正负极,信号输出端接单片机的P3.2引脚;DS18B20温度传感器的正负极接4.5V电源的正负极,信号输出引脚接单片机的P1.3引脚;两个SG90舵机上下黏贴在支杆上,其正负极与4.5V电源正负极连接,其信号引脚分别与单片机的P2.0和 P2.1引脚连接,舵机摇臂一个与钮柄头部接触,另一个与钮柄中端接触;DHT11湿度传感器的正负极接4.5V电源正负极,信号引脚接单片机的P2.4引脚;声音检测单元的正负极接4.5V电源正负极,信号输出端与单片机的P2.2引脚连接;光检测单元的正负极接4.5V电源正负极,其信号输出端与单片机的P2.3引脚连接;4.5V电源正极接NPN9013三极管集电极,发射极接一个500Ω的限流电阻后接有源蜂鸣器的正极,有源蜂鸣器的负极接4.5V电源负极,基极接单片机的P1.2引脚;DS1302时钟芯片的引脚1和引脚8接4.5V电源正极,引脚4接4.5V电源负极,引脚2、3、5、6、7分别与单片机的P2.5、P2.6、P1.4、P2.7和P1.0引脚连接;NEC红外线遥控器与红外线接收器,通过红外线信号传输信息;0.96寸OLED引脚1接4.5V电源正极,引脚2接4.5V电源负极,引脚3~7分别与单片机的P2.5、P2.6、P1.5、P2.7和P1.1引脚;开关键、延时开关键、关闭延时开关键、闹钟开启键以及闹钟关闭键,一端分别与单片机的P0.0,P0.1,P0.2,P0.3,P0.4相连接,另一端接地;外壳体是一个长宽为9cm高为6cm的四棱柱,通过胶水与开关面边缘进行黏贴,其内部有一个支杆通过螺丝固定于上下两个侧面,支杆上带有两个舵机,前侧面用于放置OLED显示屏和按键。The 40th pin of the STC89C51RC-40I-PDIP40 single-chip microcomputer is connected to the positive pole of the 4.5V power supply, the 20th pin of the single-chip microcomputer is connected to the negative pole of the 4.5V power supply, the positive pole of the 4.5V battery box is connected to the positive pole of a 10μF capacitor, and a 10kΩ resistor is connected in series to 4.5V The negative pole of the battery box, and a light touch switch button is connected in parallel to the positive and negative poles of the capacitor, and the negative pole of the capacitor is connected to the 9th pin of the microcontroller to form a reset circuit; the positive and negative poles of the power supply of the VS1738 infrared sensor are connected to the positive and negative poles of the 4.5V power supply, and the signal The output terminal is connected to the P3.2 pin of the single-chip microcomputer; the positive and negative poles of the DS18B20 temperature sensor are connected to the positive and negative poles of the 4.5V power supply, and the signal output pin is connected to the P1.3 pin of the single-chip microcomputer; two SG90 servos are pasted up and down on the support On the pole, its positive and negative poles are connected to the positive and negative poles of the 4.5V power supply, and its signal pins are respectively connected to the P2.0 and P2.1 pins of the microcontroller. The middle end of the button handle is in contact; the positive and negative poles of the DHT11 humidity sensor are connected to the positive and negative poles of the 4.5V power supply, the signal pin is connected to the P2.4 pin of the microcontroller; the positive and negative poles of the sound detection unit are connected to the positive and negative poles of the 4.5V power supply, and the signal output terminal is connected to Connect the P2.2 pin of the single-chip microcomputer; the positive and negative poles of the light detection unit are connected to the positive and negative poles of the 4.5V power supply, and the signal output terminal is connected to the P2.3 pin of the single-chip microcomputer; the positive pole of the 4.5V power supply is connected to the collector and emitter of the NPN9013 transistor Connect a 500Ω current-limiting resistor to the positive pole of the active buzzer, connect the negative pole of the active buzzer to the negative pole of the 4.5V power supply, and connect the base to the P1.2 pin of the microcontroller; pin 1 and pin 1 of the DS1302 clock chip Pin 8 is connected to the positive pole of the 4.5V power supply, pin 4 is connected to the negative pole of the 4.5V power supply, and pins 2, 3, 5, 6, and 7 are respectively connected to P2.5, P2.6, P1.4, P2.7 and P1 of the microcontroller. 0 pin connection; NEC infrared remote control and infrared receiver, transmit information through infrared signals; 0.96-inch OLED pin 1 is connected to the positive pole of 4.5V power supply, pin 2 is connected to the negative pole of 4.5V power supply, pins 3~7 are respectively connected to the MCU P2.5, P2.6, P1.5, P2.7 and P1.1 pins; on-off key, delay on-off key, off-delay on-off key, alarm clock on key and alarm clock off key, one end is respectively connected to P0 of the microcontroller .0, P0.1, P0.2, P0.3, and P0.4 are connected, and the other end is grounded; the outer shell is a square prism with a length, width, and height of 6 cm, which is pasted to the edge of the switch surface by glue. There is a support rod fixed on the upper and lower sides by screws. There are two servos on the support rod, and the front side is used to place the OLED display and buttons.
本发明的优点在于:该遥控智能开关实现了开关的远程操控,且安装和操作过程简单,并能检测实时的温湿度情况。The invention has the advantages that: the remote control intelligent switch realizes remote control of the switch, has simple installation and operation process, and can detect real-time temperature and humidity conditions.
附图说明Description of drawings
图1. 遥控智能开关结构示意图Figure 1. Schematic diagram of the structure of the remote control smart switch
图2. 遥控智能开关电路图Figure 2. Circuit diagram of remote control smart switch
图1中: 1、墙壁,2、船型开关,3、螺丝 4、支杆,5、舵机摇臂,6、电路板,7、红外线检测单元,8、声音检测单元,9、光检测单元,10、温度检测单元,11、湿度检测单元,12、时钟芯片,13、单片机最小系统,14、单片机,15、电池盒,16、0.96寸OLED显示屏,17、按键,18、红外线遥控器。In Figure 1: 1. Wall, 2. Rocker switch, 3. Screw, 4. Strut, 5. Steering gear rocker, 6. Circuit board, 7. Infrared detection unit, 8. Sound detection unit, 9. Light detection unit , 10. Temperature detection unit, 11. Humidity detection unit, 12. Clock chip, 13. Minimum single-chip microcomputer system, 14. Single-chip microcomputer, 15. Battery box, 16. 0.96-inch OLED display screen, 17. Buttons, 18. Infrared remote control .
具体实施方式Detailed ways
本产品外形为长方体,舵机安装在中间,并是固定的,可以通过旁边的螺丝前后移动支杆,以调节舵机摇臂和钮柄之间的距离,然后再将本产品粘合到开关上面。开机后读取各个传感器和时钟芯片的数据并在显示屏第一行显示时间及温度,第二行显示现在的开关状态和湿度情况。开状态显示为OPHEN,关状态显示为CLOSE,湿度以百分比的形式显示。本遥控智能开关有两个舵机,一个舵机控制开,另一个舵机控制闭合,两者协调工作。若此时开关为关闭状态,打开过程为右边舵机先顺时针旋转75°抬高,再将左边舵机顺时针旋转75°打开开关;关闭过程为左边舵机先逆时针旋转75°抬高,再将右边舵机逆时针旋转75°关闭开关。The shape of this product is a cuboid, the servo is installed in the middle, and it is fixed. You can move the strut back and forth through the screws next to it to adjust the distance between the rocker arm of the servo and the button handle, and then glue this product to the switch above. After starting up, read the data of each sensor and clock chip and display the time and temperature on the first line of the display, and the second line displays the current switch status and humidity. The open state is displayed as OPHEN, the closed state is displayed as CLOSE, and the humidity is displayed in the form of a percentage. This remote control intelligent switch has two steering gears, one steering gear controls opening and the other steering gear controls closing, and the two work in coordination. If the switch is closed at this time, the opening process is that the right servo first rotates 75° clockwise to raise, and then the left servo rotates 75° clockwise to turn on the switch; the closing process is first rotates the left servo 75° counterclockwise to raise , and then turn the right servo counterclockwise 75° to turn off the switch.
红外线遥控器有九个按键:按下遥控器的开键和关键的时候,单片机使舵机产生相应开或关动作并在显示屏的第二行显示OPHEN或CLOSE;按下延时键的时候在的第二行右边显示延时时间,每次按下延时30分钟。延时结束后,延时显示消失,若为开启状态执行关闭,若关闭状态执行开启。按下结束延时键结束延时并延时显示消失;按下闹钟开启按键的时候在的第一行右边显示延时时间,每次按下延时1小时。延时结束后,延时显示消失并开始启动蜂鸣器响一分钟。按下关闭闹钟键关闭闹钟并延时显示消失;按下时间设置键设置时间,首先设置小时,再次按下设置分钟,再次按下设置秒。再相应时间上按时间加键或时间减键实现时间的加减。再次按下时间设置键的时候完成时间设置。The infrared remote controller has nine buttons: when the remote control's on button and button are pressed, the single chip microcomputer will make the servo turn on or off accordingly and display OPHEN or CLOSE on the second line of the display; when the delay button is pressed The delay time is displayed on the right side of the second line, and the delay time is 30 minutes each time you press it. After the delay is over, the delay display disappears. If it is in the on state, it will be turned off, and if it is in the off state, it will be turned on. Press the end delay button to end the delay and the delay display disappears; when the alarm clock start button is pressed, the delay time is displayed on the right side of the first line, and the delay time is 1 hour each time you press it. After the delay is over, the delay display disappears and the buzzer starts to sound for one minute. Press the alarm clock off button to turn off the alarm clock and the delay display disappears; press the time setting button to set the time, first set the hour, press it again to set the minute, and press it again to set the second. Then press the time plus key or the time minus key on the corresponding time to realize the addition and subtraction of time. The time setting is completed when the time setting key is pressed again.
产品上有五个按键,分别为开关键,延时键,结束延时键,闹钟开启键,关闭闹钟键。延时键,结束延时键,闹钟开启键,关闭闹钟键使用方式与使用遥控器按键使用方式一致。 开关键是开关开启则执行关闭,开关关闭则执行开启。单片机每0.5秒读取一次时钟模块的时间,每10分钟检测一次温湿度并送入显示器显示。若光传感器检测到无光,声音传感器检测到没声音的时候,显示器熄灭。当检测到声音或者一定的光强时启动显示屏。There are five buttons on the product, which are on-off key, delay key, end-delay key, alarm clock on key, and alarm clock off key. The delay key, the end delay key, the alarm clock on key, and the alarm clock off key are used in the same way as the buttons on the remote control. The on/off key means that the switch is turned on, and then it is turned off, and the switch is turned off, and then it is turned on. The single-chip microcomputer reads the time of the clock module every 0.5 seconds, detects the temperature and humidity every 10 minutes and sends them to the display for display. If the light sensor detects no light, and the sound sensor detects no sound, the display goes out. The display is activated when a sound or a certain light intensity is detected.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810121583.1A CN110120148A (en) | 2018-02-07 | 2018-02-07 | A kind of remote control intelligent switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810121583.1A CN110120148A (en) | 2018-02-07 | 2018-02-07 | A kind of remote control intelligent switch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110120148A true CN110120148A (en) | 2019-08-13 |
Family
ID=67520062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810121583.1A Pending CN110120148A (en) | 2018-02-07 | 2018-02-07 | A kind of remote control intelligent switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110120148A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113271092A (en) * | 2021-07-20 | 2021-08-17 | 江苏东冠智能科技有限公司 | Intelligent electronic switch |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204360125U (en) * | 2014-12-31 | 2015-05-27 | 北京独树一帜科技有限公司 | Remote control switch controller |
CN207852082U (en) * | 2018-02-07 | 2018-09-11 | 东华理工大学 | A remote intelligent switch |
-
2018
- 2018-02-07 CN CN201810121583.1A patent/CN110120148A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204360125U (en) * | 2014-12-31 | 2015-05-27 | 北京独树一帜科技有限公司 | Remote control switch controller |
CN207852082U (en) * | 2018-02-07 | 2018-09-11 | 东华理工大学 | A remote intelligent switch |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113271092A (en) * | 2021-07-20 | 2021-08-17 | 江苏东冠智能科技有限公司 | Intelligent electronic switch |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11004329B2 (en) | Remote control having a capacitive touch surface and a mechanism for awakening the remote control | |
CN101630797B (en) | Wireless remote control socket assembly | |
CN102880158A (en) | Remote wireless intelligent home control system | |
CN205025265U (en) | Intelligence window | |
CN106384920A (en) | Fixed smart socket | |
CN201252698Y (en) | Multifunctional waterproof remote controller | |
CN207852082U (en) | A remote intelligent switch | |
CN110120148A (en) | A kind of remote control intelligent switch | |
CN207867282U (en) | A kind of half-light environment automatic sensing lights the remote controler of key backlight lamp | |
CN206135100U (en) | A fixed smart socket | |
CN204373229U (en) | A kind of Intelligent warm air blower control circuit | |
CN102920357B (en) | Working circuit of electronic oven | |
CN204859673U (en) | An electronic lighting control system based on smart home | |
CN205809633U (en) | Intelligent touch switch | |
CN101504577A (en) | Remote control computer power supply socket apparatus and its remote control method | |
CN204460600U (en) | A kind of human body sensing nobody automatically close remote controller | |
CN206618995U (en) | A kind of clothes hanger control system | |
CN213482653U (en) | Multifunctional communication control circuit device | |
CN201142777Y (en) | Classroom Lighting Energy Saving Controller | |
CN201171237Y (en) | Portable thermostat control box | |
CN205265860U (en) | A household indoor luminous electronic hygrometer remote control | |
CN207460564U (en) | A kind of classroom intelligent energy-saving controller | |
CN201518539U (en) | Loudspeaker having waterproof and dustproof functions | |
CN207199943U (en) | A kind of smart jack based on WSN technology | |
CN204254697U (en) | The intelligent integrated stove of a kind of automatic induction user |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190813 |