CN107544445A - A smart switch and a smart home system - Google Patents
A smart switch and a smart home system Download PDFInfo
- Publication number
- CN107544445A CN107544445A CN201710750863.4A CN201710750863A CN107544445A CN 107544445 A CN107544445 A CN 107544445A CN 201710750863 A CN201710750863 A CN 201710750863A CN 107544445 A CN107544445 A CN 107544445A
- Authority
- CN
- China
- Prior art keywords
- pin
- capacitor
- chip
- diode
- resistor
- 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
- 238000004891 communication Methods 0.000 claims abstract description 22
- 239000003990 capacitor Substances 0.000 claims description 93
- 238000004804 winding Methods 0.000 claims description 18
- 238000013500 data storage Methods 0.000 claims description 3
- 238000009434 installation Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 230000005611 electricity Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Selective Calling Equipment (AREA)
Abstract
Description
技术领域technical field
本发明涉及智能家居技术领域,具体涉及一种智能开关及智能家居系统。The invention relates to the technical field of smart home, in particular to a smart switch and a smart home system.
背景技术Background technique
现有技术中,智能家居以住宅为平台,家居电器及家电设备为主要控制对象,利用综合布线技术、网络通信技术、安全防范技术、自动控制技术、音视频技术将家居生活有关的设施进行高效集成,构建高效的住宅设施与家庭日程事务的控制管理系统,提升家居智能、安全、便利、舒适,并实现环保节能的综合智能家居网络控制系统平台。In the prior art, smart homes use residences as the platform, household appliances and household appliances as the main control objects, and use integrated wiring technology, network communication technology, security technology, automatic control technology, audio and video technology to efficiently control the facilities related to home life. Integration, building an efficient control and management system for residential facilities and family schedules, improving home intelligence, safety, convenience, and comfort, and realizing an integrated smart home network control system platform for environmental protection and energy saving.
现代家庭中的开关的控制至关重要,大量媒体报道过由于电源没有关闭造成的漏电和火灾。智能开关通常指内置WIFI单元,通过智能手机的客户端来进行功能操作的开关,主要应用是通过手机客户端可以遥控开关通断电流,设定开关的定时开关。现有的智能开关控制方式单一、操作性差,同时缺乏一种兼具实用与安全、便利、舒适的智能家居系统。The control of switches in modern homes is very important, and a large number of media have reported electricity leakage and fires caused by the failure of the power supply. A smart switch usually refers to a switch with a built-in WIFI unit that can be operated through a smart phone client. The main application is to remotely switch the current on and off through the mobile client and set the timing switch of the switch. The existing smart switch has a single control mode and poor operability, and lacks a smart home system that is practical, safe, convenient and comfortable.
发明内容Contents of the invention
有鉴于此,为了解决现有技术中的上述问题,本发明提出一种智能开关及智能家居系统,该智能开关具有操作性好、安全、便利的特点。In view of this, in order to solve the above-mentioned problems in the prior art, the present invention proposes a smart switch and a smart home system. The smart switch has the characteristics of good operability, safety and convenience.
本发明通过以下技术手段解决上述问题:The present invention solves the above problems by the following technical means:
一方面,本发明提供一种智能开关,包括AC-DC电源模块,AC-DC电源模块的一端与市电连接,另一端与主控芯片连接,主控芯片还分别与WIFI通信模块、手动控制按钮连接,还包括至少一个继电器,继电器的一端与主控芯片连接,另一端与家用电器连接;On the one hand, the present invention provides an intelligent switch, including an AC-DC power supply module, one end of the AC-DC power supply module is connected to the mains, the other end is connected to the main control chip, and the main control chip is also connected to the WIFI communication module and the manual control chip respectively. The button connection also includes at least one relay, one end of the relay is connected to the main control chip, and the other end is connected to the household appliance;
所述AC-DC电源模块用于给智能开关提供电源;The AC-DC power supply module is used to provide power to the intelligent switch;
所述手动控制按钮用于用户通过手动实现智能开关的通断或复位;The manual control button is used for the user to manually realize the on-off or reset of the intelligent switch;
所述WIFI通信模块用于接收移动终端发出的控制信号,并将该控制信号传输给主控芯片;The WIFI communication module is used to receive the control signal sent by the mobile terminal, and transmit the control signal to the main control chip;
所述主控芯片用于根据接收到的控制信号控制继电器的通断;The main control chip is used to control the on-off of the relay according to the received control signal;
所述继电器用于根据主控芯片的控制进行通断从而控制家用电器的开/关。The relay is used for switching on and off according to the control of the main control chip so as to control the on/off of the household appliances.
进一步地,所述智能开关还包括与主控芯片连接的存储器,用于进行数据存储。Further, the smart switch also includes a memory connected to the main control chip for data storage.
进一步地,所述AC-DC电源模块包括第一接头CN1,第一接头CN1的脚2一端连接市电的L端,另一端分别连接第一二极管D1的正极、第二二极管D2的负极,第一接头CN1的脚1一端连接市电的N端,另一端通过保险丝F1分别连接第三二极管D3的正极、第四二极管D4的负极,第一二极管D1的负极连接第三二极管D3的负极,第二二极管D2的正极连接第四二极管D4的正极,第一二极管D1的负极连接第一电容C1的正极,第一电容C1的负极连接第四二极管D4的正极,第一电容C1的正极通过第一电感L1连接第二电容C2的正极,第二电容C2的负极通过第二电感L2连接第一电容C1的负极,第二电容C2的负极接地,第二电容C2的正极通过第一电阻R1连接电阻R1A的一端,电阻R1A的另一端分别连接第五二极管D5的负极、第三电容C3的正极,第三电容C3的正极通过第七电容C7连接第三电容C3的负极,第三电容C3的负极接地,第二电容C2的正极通过第三电阻R3连接第二电阻R2的一端,第二电容C2的正极还通过第五电容C5连接第二电阻R2的一端,第二电阻R2的另一端连接第六二极管D6的负极,第六二极管D6的正极通过变压器T1的初级绕组连接第二电容C2的正极,第五二极管D5的正极连接第四电阻R4的一端,第四电阻R4的另一端通过变压器T1的辅助绕组连接第一芯片的脚GND,第四电阻R4的另一端还通过第五电阻R5连接第一芯片的脚FB,第一芯片的脚FB通过第六电阻R6连接第一芯片的脚GND,第一芯片的脚CDC通过第四电容C4连接第一芯片的脚GND,第一芯片的脚VCC连接第三电容C3的正极,第三电容C3的负极连接第一芯片的脚GND,第一芯片的脚CS通过第七电阻R7连接第一芯片的脚GND,第一芯片的脚CS还通过电阻R7A连接第一芯片的脚GND,第一芯片的第一脚D与第二脚D都连接第一芯片的脚GND,还包括第七二极管D7,第七二极管D7的正极通过变压器T1的次级绕组连接第六电容C6的负极,第六电容C6的正极连接第七二极管D7的负极,第六电容C6的正极通过第八电阻R8连接第六电容C6的负极,变压器T1中初级绕组与第六二极管D6的正极连接的那端、辅助绕组与第四电阻R4的另一端连接的那端、次级绕组与第七二极管D7的正极连接的那端为同名端。Further, the AC-DC power supply module includes a first connector CN1, one end of pin 2 of the first connector CN1 is connected to the L terminal of the mains, and the other end is connected to the anode of the first diode D1 and the second diode D2 respectively. One end of pin 1 of the first connector CN1 is connected to the N terminal of the mains, and the other end is respectively connected to the anode of the third diode D3, the cathode of the fourth diode D4 through the fuse F1, and the cathode of the first diode D1. The negative pole is connected to the negative pole of the third diode D3, the positive pole of the second diode D2 is connected to the positive pole of the fourth diode D4, the negative pole of the first diode D1 is connected to the positive pole of the first capacitor C1, and the positive pole of the first capacitor C1 The negative pole is connected to the positive pole of the fourth diode D4, the positive pole of the first capacitor C1 is connected to the positive pole of the second capacitor C2 through the first inductor L1, the negative pole of the second capacitor C2 is connected to the negative pole of the first capacitor C1 through the second inductor L2, and the second The negative pole of the second capacitor C2 is grounded, the positive pole of the second capacitor C2 is connected to one end of the resistor R1A through the first resistor R1, and the other end of the resistor R1A is respectively connected to the negative pole of the fifth diode D5, the positive pole of the third capacitor C3, and the third capacitor The positive pole of C3 is connected to the negative pole of the third capacitor C3 through the seventh capacitor C7, the negative pole of the third capacitor C3 is grounded, the positive pole of the second capacitor C2 is connected to one end of the second resistor R2 through the third resistor R3, and the positive pole of the second capacitor C2 is connected to the ground. One end of the second resistor R2 is connected through the fifth capacitor C5, the other end of the second resistor R2 is connected to the cathode of the sixth diode D6, and the anode of the sixth diode D6 is connected to the second capacitor C2 through the primary winding of the transformer T1 Anode, the anode of the fifth diode D5 is connected to one end of the fourth resistor R4, the other end of the fourth resistor R4 is connected to the pin GND of the first chip through the auxiliary winding of the transformer T1, and the other end of the fourth resistor R4 is also connected to the fifth The resistor R5 is connected to the pin FB of the first chip, the pin FB of the first chip is connected to the pin GND of the first chip through the sixth resistor R6, the pin CDC of the first chip is connected to the pin GND of the first chip through the fourth capacitor C4, and the first The pin VCC of the chip is connected to the positive pole of the third capacitor C3, the negative pole of the third capacitor C3 is connected to the pin GND of the first chip, the pin CS of the first chip is connected to the pin GND of the first chip through the seventh resistor R7, and the pin of the first chip CS is also connected to the pin GND of the first chip through the resistor R7A, the first pin D and the second pin D of the first chip are both connected to the pin GND of the first chip, and also includes the seventh diode D7, the seventh diode D7 The positive pole of the sixth capacitor C6 is connected to the negative pole of the sixth capacitor C6 through the secondary winding of the transformer T1, the positive pole of the sixth capacitor C6 is connected to the negative pole of the seventh diode D7, and the positive pole of the sixth capacitor C6 is connected to the sixth capacitor C6 through the eighth resistor R8 Negative pole, the end of the transformer T1 where the primary winding is connected to the anode of the sixth diode D6, the end where the auxiliary winding is connected to the other end of the fourth resistor R4, and the end where the secondary winding is connected to the anode of the seventh diode D7 That end is the end of the same name.
进一步地,所述第一芯片为SD6952S。Further, the first chip is SD6952S.
进一步地,所述主控芯片的脚Vin连接第六电容C6的正极,主控芯片的脚GND连接第六电容C6的负极,主控芯片的脚+3.3V连接WIFI通信模块。Further, the pin Vin of the main control chip is connected to the positive pole of the sixth capacitor C6, the pin GND of the main control chip is connected to the negative pole of the sixth capacitor C6, and the pin +3.3V of the main control chip is connected to the WIFI communication module.
进一步地,所述主控芯片为AMS1117-3.3。Further, the main control chip is AMS1117-3.3.
进一步地,所述WIFI通信模块包括第二芯片,第二芯片的脚GND连接第六电容C6的负极,第二芯片的脚3.3V连接主控芯片的脚+3.3V,第二芯片的脚GPIO12和脚GPIO13都连接发光二极管的正极,发光二极管的负极连接第六电容C6的负极,第二芯片的脚GPIO14连接手动控制按钮,第二芯片的脚SW1连接三极管的基极,三极管的发射极连接手动控制按钮,三极管的集电极连接继电器。Further, the WIFI communication module includes a second chip, the pin GND of the second chip is connected to the negative pole of the sixth capacitor C6, the pin 3.3V of the second chip is connected to the pin +3.3V of the main control chip, and the pin GPIO12 of the second chip is and pin GPIO13 are connected to the positive pole of the LED, the negative pole of the LED is connected to the negative pole of the sixth capacitor C6, the pin GPIO14 of the second chip is connected to the manual control button, the pin SW1 of the second chip is connected to the base of the triode, and the emitter of the triode is connected to The manual control button, the collector of the triode is connected to the relay.
进一步地,所述手动控制按钮的脚3连接脚4,手动控制按钮的脚3连接主控芯片的脚GND,手动控制按钮的脚1连接脚2,手动控制按钮的脚1连接第二芯片的脚GPIO14。Further, the pin 3 of the manual control button is connected to pin 4, the pin 3 of the manual control button is connected to the pin GND of the main control chip, the pin 1 of the manual control button is connected to pin 2, and the pin 1 of the manual control button is connected to the pin of the second chip Pin GPIO14.
进一步地,所述继电器的线圈一端连接三极管的集电极,继电器的线圈另一端连接第六电容C6的正极,继电器的常开触点一端连接第一接头CN1的脚1,继电器的常开触点另一端连接第二接头CN2的脚2,第二接头CN2的脚1连接第一接头CN1的脚2,第二接头与家用电器连接。Further, one end of the coil of the relay is connected to the collector of the triode, the other end of the coil of the relay is connected to the positive pole of the sixth capacitor C6, one end of the normally open contact of the relay is connected to pin 1 of the first connector CN1, and the normally open contact of the relay The other end is connected to pin 2 of the second connector CN2, pin 1 of the second connector CN2 is connected to pin 2 of the first connector CN1, and the second connector is connected to a household appliance.
另一方面,本发明还提供一种智能家居系统,包括至少一个所述智能开关,还包括云服务器、路由器、移动终端和家用电器;On the other hand, the present invention also provides a smart home system, including at least one smart switch, and also includes a cloud server, a router, a mobile terminal and household appliances;
所述移动终端连接云服务器和/或路由器;The mobile terminal is connected to a cloud server and/or a router;
所述云服务器通过路由器连接智能开关;The cloud server is connected to an intelligent switch through a router;
所述智能开关连接家用电器;The smart switch is connected to household appliances;
当移动终端和路由器连接时,移动终端的控制信号通过路由器直接控制智能开关的通断,从而控制家用电器的开/关;When the mobile terminal is connected to the router, the control signal of the mobile terminal directly controls the on-off of the smart switch through the router, thereby controlling the on/off of household appliances;
当移动终端不和路由器连接时,移动终端的控制信号通过云服务器经过网络通信给到路由器,再通过路由器传递数据控制智能开关的通断,从而控制家用电器的开/关。When the mobile terminal is not connected to the router, the control signal of the mobile terminal is sent to the router through the cloud server through network communication, and then the data is transmitted through the router to control the on/off of the smart switch, thereby controlling the on/off of household appliances.
与现有技术相比,本发明的有益效果如下:Compared with the prior art, the beneficial effects of the present invention are as follows:
1)、此智能家居系统所需的设备简单,只需智能开关和WIFI就能实现控制;省去复杂的设备,如:电脑,服务器,存储器等;1) The equipment required for this smart home system is simple, only need smart switch and WIFI to realize control; save complex equipment, such as: computer, server, memory, etc.;
2)、系统构成灵活,从总体上看,智能开关和智能家电一对一组合而成的。你可以根据需要,减少或者增加子系统,以满足智能家居的需求;2) The system structure is flexible. Generally speaking, it is a one-to-one combination of smart switches and smart home appliances. You can reduce or increase subsystems according to your needs to meet the needs of smart homes;
3)、操作管理便捷,智能家居控制的所有设备可以通过手机,平板电脑等常用设备添加或控制,非常方便;3) Convenient operation and management. All devices controlled by smart home can be added or controlled by common devices such as mobile phones and tablets, which is very convenient;
4)、安装调试方便,只需通过APP界面减少或者增加子系统就行,特别用无线的方式,可以快速部署系统。4) Easy installation and debugging, just reduce or add subsystems through the APP interface, especially in a wireless way, the system can be quickly deployed.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明智能开关的电路方框图;Fig. 1 is the circuit block diagram of intelligent switch of the present invention;
图2是本发明智能开关的电路原理图;Fig. 2 is the circuit schematic diagram of intelligent switch of the present invention;
图3是本发明智能家居系统的电路方框图。Fig. 3 is a circuit block diagram of the smart home system of the present invention.
具体实施方式detailed description
为使本发明的上述目的、特征和优点能够更加明显易懂,下面将结合附图和具体的实施例对本发明的技术方案进行详细说明。需要指出的是,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the above objects, features and advantages of the present invention more comprehensible, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be pointed out that the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all those skilled in the art can obtain without creative work. Other embodiments all belong to the protection scope of the present invention.
实施例1Example 1
如图1所示,本发明提供一种智能开关,包括AC-DC电源模块,AC-DC电源模块的一端与市电连接,另一端与主控芯片连接,主控芯片还分别与WIFI通信模块、手动控制按钮、存储器连接,还包括至少一个继电器,继电器的一端与主控芯片连接,另一端与家用电器连接;As shown in Figure 1, the present invention provides an intelligent switch, including an AC-DC power supply module, one end of the AC-DC power supply module is connected to the mains, the other end is connected to the main control chip, and the main control chip is also connected to the WIFI communication module respectively , a manual control button, a memory connection, and at least one relay, one end of the relay is connected to the main control chip, and the other end is connected to the household appliance;
所述AC-DC电源模块用于给智能开关提供电源;The AC-DC power supply module is used to provide power to the intelligent switch;
所述手动控制按钮用于用户通过手动实现智能开关的通断或复位;The manual control button is used for the user to manually realize the on-off or reset of the intelligent switch;
所述存储器用于进行数据存储;The memory is used for data storage;
所述WIFI通信模块用于接收移动终端发出的控制信号,并将该控制信号传输给主控芯片;The WIFI communication module is used to receive the control signal sent by the mobile terminal, and transmit the control signal to the main control chip;
所述主控芯片用于根据接收到的控制信号控制继电器的通断;The main control chip is used to control the on-off of the relay according to the received control signal;
所述继电器用于根据主控芯片的控制进行通断从而控制家用电器的开/关。The relay is used for switching on and off according to the control of the main control chip so as to control the on/off of the household appliances.
本发明以智能开关作为基础,控制其他家电,实现简单的智能家居系统,只需智能开关、WIFI和手机,就能实现远程控制。Based on the smart switch, the present invention controls other home appliances to realize a simple smart home system, and only needs smart switch, WIFI and mobile phone to realize remote control.
智能开关是集合WIFI、继电器为一体的控制开关,通过智能开关与家用电器(空调,电视,灯光,热水器,饮水机,电动窗帘等)连接,实现远程智能控制。The smart switch is a control switch that integrates WIFI and relays. It is connected with household appliances (air conditioners, TVs, lights, water heaters, water dispensers, electric curtains, etc.) through smart switches to realize remote intelligent control.
用手机、平板电脑通过家庭无线网(WIFI)连接到智能开关,在APP界面增加或者减少所需要的家电设备,就可以满足要求。Use a mobile phone or a tablet computer to connect to the smart switch through the home wireless network (WIFI), and add or reduce the required home appliances on the APP interface to meet the requirements.
如图2所示,所述AC-DC电源模块包括第一接头CN1,第一接头CN1的脚2一端连接市电的L端,另一端分别连接第一二极管D1的正极、第二二极管D2的负极,第一接头CN1的脚1一端连接市电的N端,另一端通过保险丝F1分别连接第三二极管D3的正极、第四二极管D4的负极,第一二极管D1的负极连接第三二极管D3的负极,第二二极管D2的正极连接第四二极管D4的正极,第一二极管D1的负极连接第一电容C1的正极,第一电容C1的负极连接第四二极管D4的正极,第一电容C1的正极通过第一电感L1连接第二电容C2的正极,第二电容C2的负极通过第二电感L2连接第一电容C1的负极,第二电容C2的负极接地,第二电容C2的正极通过第一电阻R1连接电阻R1A的一端,电阻R1A的另一端分别连接第五二极管D5的负极、第三电容C3的正极,第三电容C3的正极通过第七电容C7连接第三电容C3的负极,第三电容C3的负极接地,第二电容C2的正极通过第三电阻R3连接第二电阻R2的一端,第二电容C2的正极还通过第五电容C5连接第二电阻R2的一端,第二电阻R2的另一端连接第六二极管D6的负极,第六二极管D6的正极通过变压器T1的初级绕组连接第二电容C2的正极,第五二极管D5的正极连接第四电阻R4的一端,第四电阻R4的另一端通过变压器T1的辅助绕组连接第一芯片的脚GND,第四电阻R4的另一端还通过第五电阻R5连接第一芯片的脚FB,第一芯片的脚FB通过第六电阻R6连接第一芯片的脚GND,第一芯片的脚CDC通过第四电容C4连接第一芯片的脚GND,第一芯片的脚VCC连接第三电容C3的正极,第三电容C3的负极连接第一芯片的脚GND,第一芯片的脚CS通过第七电阻R7连接第一芯片的脚GND,第一芯片的脚CS还通过电阻R7A连接第一芯片的脚GND,第一芯片的第一脚D与第二脚D都连接第一芯片的脚GND,还包括第七二极管D7,第七二极管D7的正极通过变压器T1的次级绕组连接第六电容C6的负极,第六电容C6的正极连接第七二极管D7的负极,第六电容C6的正极通过第八电阻R8连接第六电容C6的负极,变压器T1中初级绕组与第六二极管D6的正极连接的那端、辅助绕组与第四电阻R4的另一端连接的那端、次级绕组与第七二极管D7的正极连接的那端为同名端。As shown in Figure 2, the AC-DC power supply module includes a first connector CN1, one end of pin 2 of the first connector CN1 is connected to the L end of the mains, and the other end is respectively connected to the anode of the first diode D1, the second two The negative pole of the pole tube D2, one end of pin 1 of the first connector CN1 is connected to the N terminal of the mains, and the other end is respectively connected to the positive pole of the third diode D3, the negative pole of the fourth diode D4, and the first two poles through the fuse F1. The cathode of the tube D1 is connected to the cathode of the third diode D3, the anode of the second diode D2 is connected to the anode of the fourth diode D4, the cathode of the first diode D1 is connected to the anode of the first capacitor C1, and the first The negative pole of the capacitor C1 is connected to the positive pole of the fourth diode D4, the positive pole of the first capacitor C1 is connected to the positive pole of the second capacitor C2 through the first inductor L1, and the negative pole of the second capacitor C2 is connected to the first capacitor C1 through the second inductor L2. The negative pole, the negative pole of the second capacitor C2 is grounded, the positive pole of the second capacitor C2 is connected to one end of the resistor R1A through the first resistor R1, and the other end of the resistor R1A is respectively connected to the negative pole of the fifth diode D5 and the positive pole of the third capacitor C3, The positive pole of the third capacitor C3 is connected to the negative pole of the third capacitor C3 through the seventh capacitor C7, the negative pole of the third capacitor C3 is grounded, the positive pole of the second capacitor C2 is connected to one end of the second resistor R2 through the third resistor R3, and the second capacitor C2 The anode of the second resistor R2 is also connected to one end of the second resistor R2 through the fifth capacitor C5, the other end of the second resistor R2 is connected to the cathode of the sixth diode D6, and the anode of the sixth diode D6 is connected to the second through the primary winding of the transformer T1. The anode of the capacitor C2, the anode of the fifth diode D5 are connected to one end of the fourth resistor R4, the other end of the fourth resistor R4 is connected to the pin GND of the first chip through the auxiliary winding of the transformer T1, and the other end of the fourth resistor R4 is also Connect the pin FB of the first chip through the fifth resistor R5, connect the pin FB of the first chip to the pin GND of the first chip through the sixth resistor R6, connect the pin CDC of the first chip to the pin GND of the first chip through the fourth capacitor C4 , the pin VCC of the first chip is connected to the positive pole of the third capacitor C3, the negative pole of the third capacitor C3 is connected to the pin GND of the first chip, the pin CS of the first chip is connected to the pin GND of the first chip through the seventh resistor R7, and the first The pin CS of the chip is also connected to the pin GND of the first chip through the resistor R7A, the first pin D and the second pin D of the first chip are connected to the pin GND of the first chip, and also includes the seventh diode D7, the seventh two The positive pole of the diode D7 is connected to the negative pole of the sixth capacitor C6 through the secondary winding of the transformer T1, the positive pole of the sixth capacitor C6 is connected to the negative pole of the seventh diode D7, and the positive pole of the sixth capacitor C6 is connected to the sixth capacitor C6 through the eighth resistor R8. The negative pole of the capacitor C6, the end of the primary winding of the transformer T1 connected to the positive pole of the sixth diode D6, the end of the auxiliary winding connected to the other end of the fourth resistor R4, the end of the secondary winding and the seventh diode D7 The end connected to the positive pole is the end with the same name.
所述第一芯片为SD6952S。The first chip is SD6952S.
所述主控芯片的脚Vin连接第六电容C6的正极,主控芯片的脚GND连接第六电容C6的负极,主控芯片的脚+3.3V连接WIFI通信模块。The pin Vin of the main control chip is connected to the positive pole of the sixth capacitor C6, the pin GND of the main control chip is connected to the negative pole of the sixth capacitor C6, and the pin +3.3V of the main control chip is connected to the WIFI communication module.
所述主控芯片为AMS1117-3.3。The main control chip is AMS1117-3.3.
所述WIFI通信模块包括第二芯片,第二芯片的脚GND连接第六电容C6的负极,第二芯片的脚3.3V连接主控芯片的脚+3.3V,第二芯片的脚GPIO12和脚GPIO13都连接发光二极管的正极,发光二极管的负极连接第六电容C6的负极,第二芯片的脚GPIO14连接手动控制按钮,第二芯片的脚SW1连接三极管的基极,三极管的发射极连接手动控制按钮,三极管的集电极连接继电器。The WIFI communication module includes a second chip, the pin GND of the second chip is connected to the negative pole of the sixth capacitor C6, the pin 3.3V of the second chip is connected to the pin +3.3V of the main control chip, the pin GPIO12 and the pin GPIO13 of the second chip Both are connected to the positive pole of the LED, the negative pole of the LED is connected to the negative pole of the sixth capacitor C6, the pin GPIO14 of the second chip is connected to the manual control button, the pin SW1 of the second chip is connected to the base of the triode, and the emitter of the triode is connected to the manual control button , The collector of the triode is connected to the relay.
所述手动控制按钮的脚3连接脚4,手动控制按钮的脚3连接主控芯片的脚GND,手动控制按钮的脚1连接脚2,手动控制按钮的脚1连接第二芯片的脚GPIO14。The pin 3 of the manual control button is connected to pin 4, the pin 3 of the manual control button is connected to the pin GND of the main control chip, the pin 1 of the manual control button is connected to pin 2, and the pin 1 of the manual control button is connected to the pin GPIO14 of the second chip.
所述继电器的线圈一端连接三极管的集电极,继电器的线圈另一端连接第六电容C6的正极,继电器的常开触点一端连接第一接头CN1的脚1,继电器的常开触点另一端连接第二接头CN2的脚2,第二接头CN2的脚1连接第一接头CN1的脚2,第二接头与家用电器连接。One end of the coil of the relay is connected to the collector of the triode, the other end of the coil of the relay is connected to the positive pole of the sixth capacitor C6, one end of the normally open contact of the relay is connected to pin 1 of the first connector CN1, and the other end of the normally open contact of the relay is connected to Pin 2 of the second connector CN2, pin 1 of the second connector CN2 is connected to pin 2 of the first connector CN1, and the second connector is connected to the household appliance.
实施例2Example 2
如图3所示,本发明还提供一种智能家居系统,包括至少一个所述智能开关,还包括云服务器、路由器、移动终端和家用电器;As shown in Figure 3, the present invention also provides a smart home system, including at least one smart switch, and also includes a cloud server, router, mobile terminal and household appliances;
所述移动终端连接云服务器和/或路由器;The mobile terminal is connected to a cloud server and/or a router;
所述云服务器通过路由器连接智能开关;The cloud server is connected to an intelligent switch through a router;
所述智能开关连接家用电器;The smart switch is connected to household appliances;
当移动终端和路由器连接时,移动终端的控制信号通过路由器直接控制智能开关的通断,从而控制家用电器的开/关;When the mobile terminal is connected to the router, the control signal of the mobile terminal directly controls the on-off of the smart switch through the router, thereby controlling the on/off of household appliances;
当移动终端不和路由器连接时,移动终端的控制信号通过云服务器经过网络通信给到路由器,再通过路由器传递数据控制智能开关的通断,从而控制家用电器的开/关。When the mobile terminal is not connected to the router, the control signal of the mobile terminal is sent to the router through the cloud server through network communication, and then the data is transmitted through the router to control the on/off of the smart switch, thereby controlling the on/off of household appliances.
智能开关内置电源给到WIFI通信模块和继电器等工作,智能开关的WIFI通信模块与10M内的路由器建立数据连接;移动终端联网(手机,平板等)登入APP页面操作对应的菜单,智能开关的WIFI通信模块做出对应功能控制继电器的开关达到智能控制家电的功能,实现电气隔离控制。移动终端与智能开关之间的通信都是通过路由器实现,区别在于:The smart switch has a built-in power supply for the WIFI communication module and relay, etc. The WIFI communication module of the smart switch establishes a data connection with the router within 10M; the mobile terminal (mobile phone, tablet, etc.) logs in to the APP page to operate the corresponding menu, and the WIFI of the smart switch The communication module makes a corresponding function to control the switch of the relay to achieve the function of intelligently controlling household appliances and realize electrical isolation control. The communication between the mobile terminal and the smart switch is realized through a router, the difference is:
①.智能开关和移动终端连接同一个路由器WIFI的时候,移动终端的控制信号通过路由器直接控制智能开关;①. When the smart switch and the mobile terminal are connected to the same router WIFI, the control signal of the mobile terminal directly controls the smart switch through the router;
②.移动终端使用的是数据连接(2,3,4G网络)或者智能开关和移动终端不是连接的同一个路由器时,需要通过云服务器经过网络通信给到智能开关连接的路由器,再通过路由器传递数据给到智能开关实现对应功能。②. When the mobile terminal uses a data connection (2, 3, 4G network) or the smart switch and the mobile terminal are not connected to the same router, it needs to communicate with the cloud server through the network to the router connected to the smart switch, and then pass it on through the router The data is sent to the smart switch to realize the corresponding function.
本发明公开了一种简单的实现电气隔离控制的无线智能控制开关,智能开关通过与路由器的数据连接,使用者可以通过移动终端联网登入APP,进入页面操作对应的菜单,智能开关通过路由器接收到对应的数据控制继电器的开关,实现家电的智能化控制。The invention discloses a simple wireless intelligent control switch that realizes electrical isolation control. Through the data connection between the intelligent switch and the router, the user can log in to the APP through the Internet through the mobile terminal, enter the corresponding menu for page operation, and the intelligent switch receives the information through the router The corresponding data controls the switch of the relay to realize the intelligent control of home appliances.
与现有技术相比,本发明的有益效果如下:Compared with the prior art, the beneficial effects of the present invention are as follows:
1)、此智能家居系统所需的设备简单,只需智能开关和WIFI就能实现控制;省去复杂的设备,如:电脑,服务器,存储器等;1) The equipment required for this smart home system is simple, only need smart switch and WIFI to realize control; save complex equipment, such as: computer, server, memory, etc.;
2)、系统构成灵活,从总体上看,智能开关和智能家电一对一组合而成的。你可以根据需要,减少或者增加子系统,以满足智能家居的需求;2) The system structure is flexible. Generally speaking, it is a one-to-one combination of smart switches and smart home appliances. You can reduce or increase subsystems according to your needs to meet the needs of smart homes;
3)、操作管理便捷,智能家居控制的所有设备可以通过手机,平板电脑等常用设备添加或控制,非常方便;3) Convenient operation and management. All devices controlled by smart home can be added or controlled by common devices such as mobile phones and tablets, which is very convenient;
4)、安装调试方便,只需通过APP界面减少或者增加子系统就行,特别用无线的方式,可以快速部署系统。4) Easy installation and debugging, just reduce or add subsystems through the APP interface, especially in a wireless way, the system can be quickly deployed.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710750863.4A CN107544445A (en) | 2017-08-28 | 2017-08-28 | A smart switch and a smart home system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710750863.4A CN107544445A (en) | 2017-08-28 | 2017-08-28 | A smart switch and a smart home system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107544445A true CN107544445A (en) | 2018-01-05 |
Family
ID=60957508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710750863.4A Pending CN107544445A (en) | 2017-08-28 | 2017-08-28 | A smart switch and a smart home system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107544445A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108107767A (en) * | 2018-02-01 | 2018-06-01 | 攀枝花学院 | Distributed Internet-of-things terminal control circuit |
CN109028508A (en) * | 2018-06-01 | 2018-12-18 | 青岛海尔空调电子有限公司 | Air-conditioning line control machine power supply communication circuit |
CN111897277A (en) * | 2020-09-18 | 2020-11-06 | 成都飞英思特科技有限公司 | Electric equipment control system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013012547A1 (en) * | 2011-06-30 | 2013-01-24 | Lutron Electronics Co., Inc. | Load control device having internet connectivity, and method of programming the same using a smart phone |
CN104898519A (en) * | 2015-05-23 | 2015-09-09 | 上海地根实业发展有限公司 | Intelligent scenario power switch |
CN105406290A (en) * | 2015-11-20 | 2016-03-16 | 普天智能照明研究院有限公司 | Light-load protection type socket |
CN106154860A (en) * | 2016-08-26 | 2016-11-23 | 深圳市新国都支付技术有限公司 | A kind of intelligent switch and apply the intelligent domestic system of this intelligent switch |
-
2017
- 2017-08-28 CN CN201710750863.4A patent/CN107544445A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013012547A1 (en) * | 2011-06-30 | 2013-01-24 | Lutron Electronics Co., Inc. | Load control device having internet connectivity, and method of programming the same using a smart phone |
CN104898519A (en) * | 2015-05-23 | 2015-09-09 | 上海地根实业发展有限公司 | Intelligent scenario power switch |
CN105406290A (en) * | 2015-11-20 | 2016-03-16 | 普天智能照明研究院有限公司 | Light-load protection type socket |
CN106154860A (en) * | 2016-08-26 | 2016-11-23 | 深圳市新国都支付技术有限公司 | A kind of intelligent switch and apply the intelligent domestic system of this intelligent switch |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108107767A (en) * | 2018-02-01 | 2018-06-01 | 攀枝花学院 | Distributed Internet-of-things terminal control circuit |
CN109028508A (en) * | 2018-06-01 | 2018-12-18 | 青岛海尔空调电子有限公司 | Air-conditioning line control machine power supply communication circuit |
CN109028508B (en) * | 2018-06-01 | 2021-03-23 | 青岛海尔空调电子有限公司 | Power supply communication circuit of air conditioner wire controller |
CN111897277A (en) * | 2020-09-18 | 2020-11-06 | 成都飞英思特科技有限公司 | Electric equipment control system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103488159B (en) | A kind of distribution box type smart home terminal and integrated protection controller | |
CN205594390U (en) | Two accuse intelligence switch of pair and control system thereof | |
CN105739398A (en) | Single-fire electric consumption intelligent switch and control system thereof | |
CN108174501B (en) | Scene linkage control intelligent wall switch | |
CN103854464A (en) | Domestic digital intelligent power distribution box | |
CN207489235U (en) | Switch device with auxiliary power unit and wireless receiving function and lamp system thereof | |
CN103208709B (en) | Wireless intelligent socket | |
CN201063196Y (en) | Controller for receiving signal of wireless numeral telecontrol power supply switch | |
CN107544445A (en) | A smart switch and a smart home system | |
CN105573282B (en) | Household power grid | |
CN105305171A (en) | Remote-controlled intelligent socket | |
CN105575096A (en) | Intelligent control switch socket panel | |
CN202975730U (en) | Single live wire control module | |
CN207969042U (en) | Scene coordinated signals Intelligent wall switch | |
CN203352866U (en) | Intelligent universal-control lamp | |
CN206096783U (en) | Intelligence house power line carrier control system | |
Giri | ReHoMation: low cost, RF based remotely home automation without microcontroller | |
CN201237834Y (en) | Power supply controller of wireless electrical appliance | |
CN204349954U (en) | The intelligent switch of a kind of wireless remote control, touch sensible mode | |
CN205378314U (en) | Single live wire switch cross complaint system based on z -wave technique | |
CN201191364Y (en) | Electric appliance control system having power supply controller | |
CN204155136U (en) | Wireless remote controlled receiver | |
CN206441947U (en) | Novel intelligent socket based on ESP8266 chips | |
CN206380144U (en) | A mutual control switch control circuit for LED light bulbs | |
CN213122647U (en) | Single live wire intelligence switch |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180105 |