CN105305169A - Intelligent socket based on wireless technology - Google Patents

Intelligent socket based on wireless technology Download PDF

Info

Publication number
CN105305169A
CN105305169A CN201410798747.6A CN201410798747A CN105305169A CN 105305169 A CN105305169 A CN 105305169A CN 201410798747 A CN201410798747 A CN 201410798747A CN 105305169 A CN105305169 A CN 105305169A
Authority
CN
China
Prior art keywords
relay
communication module
control
main controller
working state
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
CN201410798747.6A
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.)
Wenzhou Polytechnic
Original Assignee
Wenzhou Polytechnic
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 Wenzhou Polytechnic filed Critical Wenzhou Polytechnic
Priority to CN201410798747.6A priority Critical patent/CN105305169A/en
Publication of CN105305169A publication Critical patent/CN105305169A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

本发明实施例公开了一种基于无线技术的智能插座,包括主控制器、以及与主控制器连接的蓝牙通讯模块、电源模块、继电器控制电路、复位模块和GSM通讯模块;GSM通讯模块可内置有用于接收用户短信的SIM卡,用于解析短信,获取第一控制指令;蓝牙通讯模块用于获取第二控制指令;主控制器用于解析第一控制指令和/或第二控制指令,输出相应的电平信号至继电器控制电路,实现控制继电器的当前工作状态;电平信号包括高低电平信号;工作状态包括导通和断开;当高电平信号时,继电器导通;当低电平信号时,继电器断开。本发明实施例,基于蓝牙和GSM技术,可节能减耗并可实时控制通断,达到增加使用寿命且降低投资成本的目的。

The embodiment of the present invention discloses a smart socket based on wireless technology, including a main controller, a Bluetooth communication module connected to the main controller, a power supply module, a relay control circuit, a reset module and a GSM communication module; the GSM communication module can be built in There is a SIM card for receiving short messages from users, which is used to analyze short messages and obtain first control instructions; the Bluetooth communication module is used to obtain second control instructions; the main controller is used to analyze first control instructions and/or second control instructions, and output corresponding The level signal is sent to the relay control circuit to realize the current working state of the control relay; the level signal includes high and low level signals; the working state includes on and off; when the signal is high, the relay is on; signal, the relay is disconnected. The embodiment of the present invention, based on Bluetooth and GSM technology, can save energy and reduce consumption, and can control on-off in real time, so as to increase the service life and reduce the investment cost.

Description

一种基于无线技术的智能插座A smart socket based on wireless technology

技术领域 technical field

本发明涉及智能插座技术领域,尤其涉及一种基于无线技术的智能插座。 The invention relates to the technical field of smart sockets, in particular to a wireless technology-based smart socket.

背景技术 Background technique

传统的插座使用手动开关来通断插座,从而控制家用电器空闲时段待机的能源浪费,但是使用起来非常麻烦,需频繁的开关插座,从而降低插座的使用寿命。为了解决上述问题,通常采用定时插座,定时插座虽然能够控制家用电器在特定时段工作,在一定程度上减少了空闲时段的能源浪费,但实际用电时段并非固定,情况一旦变化,需要重新进行设定。 The traditional socket uses a manual switch to switch the socket on and off, so as to control the energy waste of household appliances in idle time, but it is very troublesome to use, and the socket needs to be switched frequently, thereby reducing the service life of the socket. In order to solve the above problems, timing sockets are usually used. Although timing sockets can control household appliances to work at a specific time, which reduces energy waste during idle periods to a certain extent, the actual power consumption time is not fixed. Once the situation changes, it needs to be re-set. Certainly.

虽然现有技术中存在基于无线技术的红外智能插座,其不需进行设定,可通过红外控制通断,如电视遥控器一样,来控制家用电器空闲时段待机的能源浪费,但需要配置专用遥控器,且与需被控的家用电器一对一配置,一旦家用电器过多,则造成投资成本高且操作量大的问题,并在控制家用电器过程中,控制方向要与被控的红外智能插座相匹配。 Although there is an infrared smart socket based on wireless technology in the prior art, it does not need to be set, and can be turned on and off through infrared control, just like a TV remote control, to control the energy waste of household appliances in idle time, but it needs to be equipped with a dedicated remote control device, and it is configured one-to-one with the household appliances to be controlled. Once there are too many household appliances, it will cause high investment costs and a large amount of operation. In the process of controlling household appliances, the control direction must be consistent with the controlled infrared smart sockets to match.

发明内容 Contents of the invention

本发明实施例的目的在于提供一种基于蓝牙和GSM技术的智能插座,可节能减耗并可实时控制通断,达到增加使用寿命且降低投资成本的目的。 The purpose of the embodiments of the present invention is to provide a smart socket based on Bluetooth and GSM technology, which can save energy and reduce consumption, and can control on-off in real time, so as to increase the service life and reduce the investment cost.

为了解决上述技术问题,本发明实施例提供了一种基于无线技术的智能插座,其与继电器相配合来控制家用电器,包括主控制器、蓝牙通讯模块、电源模块、与所述继电器相配合的继电器控制电路、复位模块和GSM通讯模块;所述蓝牙通讯模块、电源模块、继电器控制电路、复位模块和GSM通讯模块均与所述主控制器相连;其中, In order to solve the above technical problems, the embodiment of the present invention provides a smart socket based on wireless technology, which cooperates with relays to control household appliances, including a main controller, a Bluetooth communication module, a power supply module, and a Relay control circuit, reset module and GSM communication module; The bluetooth communication module, power supply module, relay control circuit, reset module and GSM communication module are all connected to the main controller; wherein,

所述GSM通讯模块可内置有用于接收用户发送的短信的SIM卡,用于解析所述用户发送的短信,获取用户发出的第一控制指令; Described GSM communication module can be built-in the SIM card that is used to receive the note that user sends, is used for analyzing the note that described user sends, obtains the first control instruction that user sends;

所述蓝牙通讯模块,用于直接获取用户发出的第二控制指令; The bluetooth communication module is used to directly acquire the second control instruction sent by the user;

所述主控制器,用于解析用户发出的第一控制指令和/或第二控制指令,输出相应的电平信号至所述继电器控制电路,实现控制所述继电器的当前工作状态;其中,所述电平信号包括高电平信号和低电平信号;所述工作状态包括导通和断开;当所述电平信号为高电平信号时,所述继电器的当前工作状态为导通;当所述电平信号为低电平信号时,所述继电器的当前工作状态为断开。 The main controller is used to analyze the first control command and/or the second control command issued by the user, and output the corresponding level signal to the relay control circuit, so as to control the current working state of the relay; wherein, the The level signal includes a high level signal and a low level signal; the working state includes on and off; when the level signal is a high level signal, the current working state of the relay is on; When the level signal is a low level signal, the current working state of the relay is off.

其中,当所述主控制器解析到的当前第一控制指令与当前第二控制指令不相同时,则依据时间先后顺序的所述当前第一控制指令及所述当前第二控制指令,依次输出相应的电平信号至所述继电器控制电路,实现控制所述继电器的工作状态为先导通后断开或先断开后导通;当所述主控制器解析到的当前第一控制指令与当前第二控制指令相同时,则依据时间在先的所述当前第一控制指令或所述当前第二控制指令输出相应的电平信号至所述继电器控制电路,实现控制所述继电器的工作状态为导通或断开。 Wherein, when the current first control instruction parsed by the main controller is different from the current second control instruction, the current first control instruction and the current second control instruction are sequentially output according to the chronological order The corresponding level signal is sent to the relay control circuit to control the working state of the relay to be first turned on and then turned off or first turned off and then turned on; when the current first control command analyzed by the main controller is consistent with the current When the second control instructions are the same, output a corresponding level signal to the relay control circuit according to the current first control instruction or the current second control instruction earlier in time, so as to control the working state of the relay as follows: on or off.

其中,所述继电器的当前工作状态可由所述主控制器分别通过所述蓝牙通讯模块及所述GSM通讯模块发送给用户;其中,当采用所述蓝牙通讯模块时,所述继电器的当前工作状态通过Modbus报文发送给用户;当采用所述GSM通讯模块时,所述继电器的当前工作状态通过短信方式发送给用户。 Wherein, the current working state of the relay can be sent to the user by the main controller through the Bluetooth communication module and the GSM communication module respectively; wherein, when the Bluetooth communication module is used, the current working state of the relay It is sent to the user through Modbus message; when the GSM communication module is used, the current working state of the relay is sent to the user through a short message.

其中,所述主控制器的芯片采用ATmega8芯片。 Wherein, the chip of the main controller adopts ATmega8 chip.

其中,所述蓝牙通讯模块的芯片采用BlueCore4-Ext芯片。 Wherein, the chip of the Bluetooth communication module adopts the BlueCore4-Ext chip.

其中,所述GSM通讯模块的芯片采用SIM900芯片。 Wherein, the chip of the GSM communication module adopts SIM900 chip.

其中,所述复位模块采用IN4148高速开关二极管和阻容电路,实现低电压复位。 Wherein, the reset module adopts IN4148 high-speed switching diode and resistance-capacitance circuit to realize low-voltage reset.

其中,所述继电器控制电路的芯片采用ULN2823A芯片。 Wherein, the chip of the relay control circuit adopts ULN2823A chip.

其中,所述主控制器还连接有数码显示模块、输入输出模块和按键按口模块。 Wherein, the main controller is also connected with a digital display module, an input and output module and a key press module.

实施本发明实施例,具有如下有益效果: Implementing the embodiment of the present invention has the following beneficial effects:

1、在本发明实施例中,由于插座采用超低功耗的ATmega8主控制器、低功耗蓝牙通讯模块及低功耗GSM通讯模块,通过手机通讯对继电器实现通断,既满足通过手机蓝牙及手机短信直接控制或定时控制插座开关的目的,又能降低功耗、节约能源; 1. In the embodiment of the present invention, since the socket adopts an ultra-low power consumption ATmega8 main controller, a low power consumption bluetooth communication module and a low power consumption GSM communication module, the relay is turned on and off through mobile phone communication, which not only satisfies the requirements of the mobile phone bluetooth And the purpose of direct control or timing control of the socket switch by mobile phone text messages, and can reduce power consumption and save energy;

2、在本发明实施例中,由于插座集低功耗、智能化、通讯控制于一体,其可靠性高、稳定性好、抗干扰能力强、体积小、易于安装和操作,可直接替代传统的插座和定时插座,用于解决电视机、计算机、空调器、加湿器等家用电器的待机能耗问题,达到增加使用寿命且降低投资成本的目的。 2. In the embodiment of the present invention, because the socket integrates low power consumption, intelligence, and communication control, it has high reliability, good stability, strong anti-interference ability, small size, easy installation and operation, and can directly replace traditional The socket and timing socket are used to solve the problem of standby energy consumption of household appliances such as TV sets, computers, air conditioners, and humidifiers, so as to increase the service life and reduce investment costs.

附图说明 Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,根据这些附图获得其他的附图仍属于本发明的范畴。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, obtaining other drawings based on these drawings still belongs to the scope of the present invention without any creative effort.

图1为本发明实施例提供的一种基于无线技术的智能插座的系统结构示意图; FIG. 1 is a schematic structural diagram of a wireless technology-based smart socket system provided by an embodiment of the present invention;

图2为图1中主控制器的电路图; Fig. 2 is the circuit diagram of main controller in Fig. 1;

图3为图1中电源模块的电路图; Fig. 3 is a circuit diagram of the power supply module in Fig. 1;

图4为图1中GSM通讯模块的电路图; Fig. 4 is the circuit diagram of GSM communication module in Fig. 1;

图5为图1中继电器控制电路的电路图。 FIG. 5 is a circuit diagram of the relay control circuit in FIG. 1 .

具体实施方式 detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

如图1所示,为本发明实施例,提出的一种基于无线技术的智能插座,其与继电器(未图示)相配合来控制家用电器(未图示),包括主控制器1、蓝牙通讯模块2、电源模块3、与继电器相配合的继电器控制电路4、复位模块5和GSM通讯模块6;蓝牙通讯模块2、电源模块3、继电器控制电路4、复位模块5和GSM通讯模块6均与主控制器相连1;其中, As shown in Figure 1, it is an embodiment of the present invention, which proposes a smart socket based on wireless technology, which cooperates with a relay (not shown) to control household appliances (not shown), including a main controller 1, Bluetooth Communication module 2, power supply module 3, relay control circuit 4 matched with relay, reset module 5 and GSM communication module 6; bluetooth communication module 2, power supply module 3, relay control circuit 4, reset module 5 and GSM communication module 6 all Connected to the main controller 1; among them,

GSM通讯模块6可内置有用于接收用户发送的短信的SIM卡,用于解析用户发送的短信,获取用户发出的第一控制指令; GSM communication module 6 can be built-in the SIM card that is used to receive the short message that user sends, is used for parsing the short message that user sends, obtains the first control command that user sends;

蓝牙通讯模块2,用于直接获取用户发出的第二控制指令; Bluetooth communication module 2, used to directly obtain the second control instruction sent by the user;

主控制器1,用于解析用户发出的第一控制指令和/或第二控制指令,输出相应的电平信号至继电器控制电路4,实现控制继电器的当前工作状态;其中,电平信号包括高电平信号和低电平信号;工作状态包括导通和断开;当电平信号为高电平信号时,继电器的当前工作状态为导通;当电平信号为低电平信号时,继电器的当前工作状态为断开。 The main controller 1 is used to analyze the first control command and/or the second control command issued by the user, and output the corresponding level signal to the relay control circuit 4 to realize the current working state of the control relay; wherein, the level signal includes high Level signal and low level signal; the working state includes on and off; when the level signal is a high level signal, the current working state of the relay is on; when the level signal is a low level signal, the relay The current working status of is disconnected.

其中,主控制器1的芯片采用ATmega8芯片;蓝牙通讯模块2的芯片采用BlueCore4-Ext芯片;GSM通讯模块6的芯片采用SIM900芯片;复位模块5采用IN4148高速开关二极管和阻容电路,实现低电压复位;继电器控制电路4的芯片采用ULN2823A芯片。 Among them, the chip of main controller 1 adopts ATmega8 chip; the chip of bluetooth communication module 2 adopts BlueCore4-Ext chip; the chip of GSM communication module 6 adopts SIM900 chip; reset; the chip of relay control circuit 4 adopts ULN2823A chip.

可以理解的是,为了集成更多的智能化,主控制器1还连接有数码显示模块、输入输出模块和按键按口模块。 It can be understood that, in order to integrate more intelligence, the main controller 1 is also connected with a digital display module, an input and output module and a button module.

应当说明的是,继电器的当前工作状态可由主控制器1分别通过蓝牙通讯模块2及GSM通讯模块6发送给用户;其中,当采用蓝牙通讯模块2时,继电器的当前工作状态通过Modbus报文发送给用户;当采用GSM通讯模块6时,继电器的当前工作状态通过短信方式发送给用户,此时GSM通讯模块6已经内置有用于接收和发送短信的SIM卡。 It should be noted that the current working state of the relay can be sent to the user by the main controller 1 through the Bluetooth communication module 2 and the GSM communication module 6 respectively; wherein, when the Bluetooth communication module 2 is used, the current working state of the relay is sent through the Modbus message To the user; when the GSM communication module 6 is adopted, the current working state of the relay is sent to the user by means of a short message. At this moment, the GSM communication module 6 has a built-in SIM card for receiving and sending short messages.

当主控制器1解析到的当前第一控制指令与当前第二控制指令不相同时,则依据时间先后顺序的当前第一控制指令及当前第二控制指令,依次输出相应的电平信号至继电器控制电路4,实现控制继电器的工作状态为先导通后断开或先断开后导通;作为一个例子,主控制器1首先接收到手机采用蓝牙通信方式发送的Modbus报文,直接获取用户发出的当前第二控制指令(如客厅空调打开),输出高电平信号至继电器控制电路4,实现控制继电器的工作状态为导通,一段时间后,接收到手机采用GSM发送的短信,解析得到用户发出的与前述的第二控制指令不同的当前第一控制指令(如客厅空调关闭),则输出低电平信号至继电器控制电路4,实现控制继电器的工作状态为断开,即实现继电器先导通后断开。同理,可实现继电器先断开后导通。 When the current first control command analyzed by the main controller 1 is different from the current second control command, the corresponding level signals are sequentially output to the relay control according to the current first control command and the current second control command in chronological order. Circuit 4 realizes that the working state of the control relay is first turned on and then disconnected or first disconnected and then turned on; as an example, the main controller 1 first receives the Modbus message sent by the mobile phone using Bluetooth communication, and directly obtains the message sent by the user. At present, the second control command (such as turning on the air conditioner in the living room) outputs a high-level signal to the relay control circuit 4 to realize that the working state of the control relay is conduction. If the current first control command (such as turning off the air conditioner in the living room) is different from the aforementioned second control command, a low-level signal is output to the relay control circuit 4 to realize that the working state of the control relay is disconnected, that is, the relay is first turned on and then turned off. disconnect. In the same way, the relay can be turned off first and then turned on.

当主控制器解析到的当前第一控制指令与当前第二控制指令相同时,则依据时间在先的当前第一控制指令或当前第二控制指令输出相应的电平信号至继电器控制电路,实现控制继电器的工作状态为导通或断开;作为一个例子,主控制器1首先接收到手机采用蓝牙通信方式发送的Modbus报文,直接获取用户发出的当前第二控制指令(如客厅空调打开),输出高电平信号至继电器控制电路4,实现控制继电器的工作状态为导通,一段时间后,接收到手机采用GSM发送的短信,解析得到用户发出的与前述的第二控制指令相同的当前第一控制指令(如客厅空调打开),则继电器的工作状态不变,即导通。 When the current first control command parsed by the main controller is the same as the current second control command, the corresponding level signal is output to the relay control circuit according to the current first control command or the current second control command earlier in time to realize control The working state of the relay is on or off; as an example, the main controller 1 first receives the Modbus message sent by the mobile phone through Bluetooth communication, and directly obtains the current second control command issued by the user (such as turning on the air conditioner in the living room), Output a high-level signal to the relay control circuit 4 to realize that the working state of the control relay is conduction. After a period of time, the short message sent by the mobile phone using GSM is received, and the current second control command identical to the aforementioned second control command issued by the user is analyzed and obtained. A control command (such as turning on the air conditioner in the living room), the working state of the relay remains unchanged, that is, it is turned on.

应当说明的是,第一控制指令和第二控制指令中可包括但不限于继电器的ID号及其对应的控制命令参数、控制命令执行的定制时间等等。 It should be noted that the first control instruction and the second control instruction may include, but are not limited to, the ID number of the relay and its corresponding control command parameters, the custom time for executing the control command, and the like.

如图2所示,本发明实施例中,ATmega8芯片有23个可编程I/O口,可任意定义I/O的输入/输出方向;输出时为推挽输出,驱动能力强,可直接驱动LED等大电流负载:输入口可定义为三态输入,可以设定带内部上拉电阻,省去外接上拉电阻AVR单片机的核心是将32个工作寄存器和丰富的指令集联结在一起,所有的工作寄存器都与ALU(算术逻辑单元)直接相连,实现了在一个时钟周期内执行的一条指令同时访问(读写)两个独立寄存器的操作。这种结构提高了代码效率,使得大部分指令的执行时间仅为一个时钟周期。因此,ATmega8可以达到接近1MIPS/MHz的性能,运行速度比普通CISC单片机高出10倍。 As shown in Figure 2, in the embodiment of the present invention, the ATmega8 chip has 23 programmable I/O ports, and the input/output direction of I/O can be defined arbitrarily; It is a push-pull output during output, with strong drive capability and can be directly driven LED and other high-current loads: the input port can be defined as a three-state input, and can be set with an internal pull-up resistor, eliminating the need for an external pull-up resistor. The core of the AVR microcontroller is to connect 32 working registers and a rich instruction set. All working registers are directly connected to the ALU (Arithmetic Logic Unit), which realizes the operation of simultaneously accessing (reading and writing) two independent registers with one instruction executed in one clock cycle. This structure improves code efficiency, making the execution time of most instructions only one clock cycle. Therefore, ATmega8 can achieve performance close to 1MIPS/MHz, and its operating speed is 10 times higher than that of ordinary CISC microcontrollers.

如图3所示,本发明实施例中,电源模块3采用LM2596S-ADJ作为5V电源供电芯片,并通过可调电阻R2设计成3V~8V可调的供电方案。 As shown in Fig. 3, in the embodiment of the present invention, the power supply module 3 uses LM2596S-ADJ as a 5V power supply chip, and is designed as a 3V-8V adjustable power supply scheme through an adjustable resistor R2.

如图4所示,本发明实施例中,GSM通讯模块6的芯片采用SIM900芯片,SIM900芯片具有可靠的外围电路以及扩展端口。SIM900的主要功能有:短信收发、GPRS网络数据收发,其主要应用在通讯领域,如移动电话、远程数据监控、短信提醒发送、GPRSMODEN。 As shown in Fig. 4, in the embodiment of the present invention, the chip of the GSM communication module 6 adopts the SIM900 chip, and the SIM900 chip has reliable peripheral circuits and expansion ports. The main functions of SIM900 are: SMS sending and receiving, GPRS network data sending and receiving, which are mainly used in the field of communication, such as mobile phone, remote data monitoring, SMS reminder sending, GPRSMODEN.

如图5所示,本发明实施例中,继电器控制电路4的芯片采用ULN2823A芯片。 As shown in FIG. 5 , in the embodiment of the present invention, the chip of the relay control circuit 4 adopts a ULN2823A chip.

实施本发明实施例,具有如下有益效果: Implementing the embodiment of the present invention has the following beneficial effects:

1、在本发明实施例中,由于插座采用超低功耗的ATmega8主控制器、低功耗蓝牙通讯模块及低功耗GSM通讯模块,通过手机通讯对继电器实现通断,既满足通过手机蓝牙及手机短信直接控制或定时控制插座开关的目的,又能降低功耗、节约能源; 1. In the embodiment of the present invention, since the socket adopts an ultra-low power consumption ATmega8 main controller, a low power consumption bluetooth communication module and a low power consumption GSM communication module, the relay is turned on and off through mobile phone communication, which not only satisfies the requirements of the mobile phone bluetooth And the purpose of direct control or timing control of the socket switch by mobile phone text messages, and can reduce power consumption and save energy;

2、在本发明实施例中,由于插座集低功耗、智能化、通讯控制于一体,其可靠性高、稳定性好、抗干扰能力强、体积小、易于安装和操作,可直接替代传统的插座和定时插座,用于解决电视机、计算机、空调器、加湿器等家用电器的待机能耗问题,达到增加使用寿命且降低投资成本的目的。 2. In the embodiment of the present invention, because the socket integrates low power consumption, intelligence, and communication control, it has high reliability, good stability, strong anti-interference ability, small size, easy installation and operation, and can directly replace traditional The socket and timing socket are used to solve the problem of standby energy consumption of household appliances such as TV sets, computers, air conditioners, and humidifiers, so as to increase the service life and reduce investment costs.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,所述的存储介质,如ROM/RAM、磁盘、光盘等。 Those of ordinary skill in the art can understand that all or part of the steps in the method of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage Media such as ROM/RAM, magnetic disk, optical disk, etc.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (9)

1.一种基于无线技术的智能插座,其通过继电器控制家用电器,其特征在于,包括主控制器、蓝牙通讯模块、电源模块、与所述继电器相配合的继电器控制电路、复位模块和GSM通讯模块;所述蓝牙通讯模块、电源模块、继电器控制电路、复位模块和GSM通讯模块均与所述主控制器相连;其中, 1. A smart socket based on wireless technology, which controls household appliances through relays, is characterized in that it includes a main controller, a bluetooth communication module, a power supply module, a relay control circuit matched with the relay, a reset module and a GSM communication module; the bluetooth communication module, power supply module, relay control circuit, reset module and GSM communication module are all connected to the main controller; wherein, 所述GSM通讯模块可内置有用于接收用户发送的短信的SIM卡,用于解析所述用户发送的短信,获取用户发出的第一控制指令; Described GSM communication module can be built-in the SIM card that is used to receive the note that user sends, is used for analyzing the note that described user sends, obtains the first control instruction that user sends; 所述蓝牙通讯模块,用于直接获取用户发出的第二控制指令; The bluetooth communication module is used to directly acquire the second control instruction sent by the user; 所述主控制器,用于解析用户发出的第一控制指令和/或第二控制指令,输出相应的电平信号至所述继电器控制电路,实现控制所述继电器的当前工作状态;其中,所述电平信号包括高电平信号和低电平信号;所述工作状态包括导通和断开;当所述电平信号为高电平信号时,所述继电器的当前工作状态为导通;当所述电平信号为低电平信号时,所述继电器的当前工作状态为断开。 The main controller is used to analyze the first control command and/or the second control command issued by the user, and output the corresponding level signal to the relay control circuit, so as to control the current working state of the relay; wherein, the The level signal includes a high level signal and a low level signal; the working state includes on and off; when the level signal is a high level signal, the current working state of the relay is on; When the level signal is a low level signal, the current working state of the relay is off. 2.如权利要求1所述的基于无线技术的智能插座,其特征在于,当所述主控制器解析到的当前第一控制指令与当前第二控制指令不相同时,则依据时间先后顺序的所述当前第一控制指令及所述当前第二控制指令,依次输出相应的电平信号至所述继电器控制电路,实现控制所述继电器的工作状态为先导通后断开或先断开后导通;当所述主控制器解析到的当前第一控制指令与当前第二控制指令相同时,则依据时间在先的所述当前第一控制指令或所述当前第二控制指令输出相应的电平信号至所述继电器控制电路,实现控制所述继电器的工作状态为导通或断开。 2. The smart socket based on wireless technology according to claim 1, wherein when the current first control instruction parsed by the main controller is different from the current second control instruction, the The current first control command and the current second control command output corresponding level signals to the relay control circuit in sequence, so as to control the working state of the relay to be first turned on and then disconnected or first disconnected and then turned on. pass; when the current first control instruction analyzed by the main controller is the same as the current second control instruction, then output the corresponding electrical The flat signal is sent to the relay control circuit to control the working state of the relay to be on or off. 3.如权利要求1所述的基于无线技术的智能插座,其特征在于,所述继电器的当前工作状态可由所述主控制器分别通过所述蓝牙通讯模块及所述GSM通讯模块发送给用户;其中,当采用所述蓝牙通讯模块时,所述继电器的当前工作状态通过Modbus报文发送给用户;当采用所述GSM通讯模块时,所述继电器的当前工作状态通过短信方式发送给用户。 3. The smart socket based on wireless technology according to claim 1, wherein the current working state of the relay can be sent to the user by the main controller through the Bluetooth communication module and the GSM communication module respectively; Wherein, when the Bluetooth communication module is used, the current working state of the relay is sent to the user through a Modbus message; when the GSM communication module is used, the current working state of the relay is sent to the user through a short message. 4.如权利要求1所述的基于无线技术的智能插座,其特征在于,所述主控制器的芯片采用ATmega8芯片。 4. The intelligent socket based on wireless technology as claimed in claim 1, wherein the chip of the main controller adopts an ATmega8 chip. 5.如权利要求1所述的基于无线技术的智能插座,其特征在于,所述蓝牙通讯模块的芯片采用BlueCore4-Ext芯片。 5. The smart socket based on wireless technology according to claim 1, wherein the chip of the Bluetooth communication module adopts a BlueCore4-Ext chip. 6.如权利要求1所述的基于无线技术的智能插座,其特征在于,所述GSM通讯模块的芯片采用SIM900芯片。 6. The smart socket based on wireless technology according to claim 1, wherein the chip of the GSM communication module adopts a SIM900 chip. 7.如权利要求1所述的基于无线技术的智能插座,其特征在于,所述复位模块采用IN4148高速开关二极管和阻容电路,实现低电压复位。 7. The smart socket based on wireless technology according to claim 1, wherein the reset module adopts IN4148 high-speed switching diode and resistance-capacitance circuit to realize low-voltage reset. 8.如权利要求1所述的基于无线技术的智能插座,其特征在于,所述继电器控制电路的芯片采用ULN2823A芯片。 8. The smart socket based on wireless technology according to claim 1, wherein the chip of the relay control circuit adopts a ULN2823A chip. 9.如权利要求1所述的基于无线技术的智能插座,其特征在于,所述主控制器还连接有数码显示模块、输入输出模块和按键按口模块。 9. The smart socket based on wireless technology according to claim 1, wherein the main controller is also connected with a digital display module, an input and output module and a button module.
CN201410798747.6A 2014-12-19 2014-12-19 Intelligent socket based on wireless technology Pending CN105305169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410798747.6A CN105305169A (en) 2014-12-19 2014-12-19 Intelligent socket based on wireless technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410798747.6A CN105305169A (en) 2014-12-19 2014-12-19 Intelligent socket based on wireless technology

Publications (1)

Publication Number Publication Date
CN105305169A true CN105305169A (en) 2016-02-03

Family

ID=55202113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410798747.6A Pending CN105305169A (en) 2014-12-19 2014-12-19 Intelligent socket based on wireless technology

Country Status (1)

Country Link
CN (1) CN105305169A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111082882A (en) * 2019-12-31 2020-04-28 温州职业技术学院 A method for displaying promotional information in a shoe cabinet and an intelligent shoe cabinet
CN111290308A (en) * 2018-12-10 2020-06-16 深圳市云海物联科技有限公司 Control circuit and socket of forceful electric power output

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2294569A (en) * 1994-10-17 1996-05-01 Flecon Multi System Pte Ltd Wireless control systems
CN201917799U (en) * 2010-10-20 2011-08-03 黄端 Smart home controller with multi-channel control
CN102299833A (en) * 2010-06-25 2011-12-28 Tcl集团股份有限公司 Intelligent remote household control system and method
CN102856741A (en) * 2012-09-08 2013-01-02 陕西理工学院 Multi-channel remote control switch socket
CN203482225U (en) * 2013-10-18 2014-03-12 温州职业技术学院 Multifunctional Home Appliance Remote Control System
CN104022406A (en) * 2014-06-12 2014-09-03 南京晓庄学院 Energy-saving Bluetooth intelligent socket system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2294569A (en) * 1994-10-17 1996-05-01 Flecon Multi System Pte Ltd Wireless control systems
CN102299833A (en) * 2010-06-25 2011-12-28 Tcl集团股份有限公司 Intelligent remote household control system and method
CN201917799U (en) * 2010-10-20 2011-08-03 黄端 Smart home controller with multi-channel control
CN102856741A (en) * 2012-09-08 2013-01-02 陕西理工学院 Multi-channel remote control switch socket
CN203482225U (en) * 2013-10-18 2014-03-12 温州职业技术学院 Multifunctional Home Appliance Remote Control System
CN104022406A (en) * 2014-06-12 2014-09-03 南京晓庄学院 Energy-saving Bluetooth intelligent socket system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111290308A (en) * 2018-12-10 2020-06-16 深圳市云海物联科技有限公司 Control circuit and socket of forceful electric power output
CN111082882A (en) * 2019-12-31 2020-04-28 温州职业技术学院 A method for displaying promotional information in a shoe cabinet and an intelligent shoe cabinet
CN111082882B (en) * 2019-12-31 2022-02-08 温州职业技术学院 Method for shoe cabinet to display promotion information and intelligent shoe cabinet

Similar Documents

Publication Publication Date Title
CN106879151B (en) Intelligent single live wire switch circuit
CN202134753U (en) A remote programmable timing switch socket
CN104022406A (en) Energy-saving Bluetooth intelligent socket system
CN100499766C (en) Quick starting TV set capable of implementing standby low power dissipation
CN105305169A (en) Intelligent socket based on wireless technology
CN212259376U (en) Intelligent switch and intelligent lighting system
CN202102280U (en) Remote intelligent timing control switch based on global system for mobile communication (GSM) network
CN204389931U (en) Non-leakage single live wire switch system
CN101719964B (en) Mobile terminal and Power management method thereof
CN203838888U (en) Intelligent built-in central control module for all-in-one multimedia machine
CN204156739U (en) A kind of DC fan circuit of low standby power loss
CN202583757U (en) Wireless intelligent control switch
CN114690689A (en) Multi-mode configurable Internet of things module
CN202565389U (en) Low-power-consumption digital television power supply unit
CN205378314U (en) Single live wire switch cross complaint system based on z -wave technique
CN202179044U (en) Aquaculture automatic feeding device based on short message platform
CN104601059A (en) Direct-current motor controller and method
CN206441947U (en) Novel intelligent socket based on ESP8266 chips
CN209343168U (en) A kind of controller energy-saving control circuit based on pulse signal
CN204576173U (en) Device controller
CN202512398U (en) Wireless intelligent control switch
CN203896561U (en) Self-organizing networking remote controller for public lighting
CN203164742U (en) Magnetic Latching Control System
CN104423293A (en) Self-timing power switch
CN204633057U (en) A smart socket

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 325000 Zhejiang, Ouhai, South East Road, No. 38, Wenzhou National University Science Park Incubator

Applicant after: Wenzhou Vocational & Technical College

Address before: Dasan Ouhai District 325000 Zhejiang province Wenzhou Higher Education Park

Applicant before: Wenzhou Vocational & Technical College

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication

Application publication date: 20160203

RJ01 Rejection of invention patent application after publication