CN209298478U - A wireless control smart socket based on infrared sensor - Google Patents

A wireless control smart socket based on infrared sensor Download PDF

Info

Publication number
CN209298478U
CN209298478U CN201821640472.3U CN201821640472U CN209298478U CN 209298478 U CN209298478 U CN 209298478U CN 201821640472 U CN201821640472 U CN 201821640472U CN 209298478 U CN209298478 U CN 209298478U
Authority
CN
China
Prior art keywords
infrared sensor
control board
relay
power supply
pin
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.)
Expired - Fee Related
Application number
CN201821640472.3U
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.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
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 Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN201821640472.3U priority Critical patent/CN209298478U/en
Application granted granted Critical
Publication of CN209298478U publication Critical patent/CN209298478U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

本实用新型公开了一种基于红外传感器的无线控制智能插座。该智能插座包括感应模块和插座模块,其中插座模块包括继电器、蓝牙从机、副控制板和电源配适器,感应模块包括红外传感器、蓝牙主机、主控制板和直流电源;电源配适器将交流电转化为直流电为副控制板供电;副控制板分别连接蓝牙从机和继电器,控制继电器的开合;直流电源与电源适配器相连为主控制板供电;主控制板分别连接红外传感器和蓝牙主机,红外传感器将红外信号转化为电平信号输送给主控制板,当红外信号发生变化时,蓝牙主机发送信号至蓝牙从机,蓝牙从机将信号输送至副控制板,控制继电器的合开操作,实现插座的通断电。本实用新型可以实现插座的主动式通断电,既节能又安全。

The utility model discloses a wireless control smart socket based on an infrared sensor. The smart socket includes an induction module and a socket module, wherein the socket module includes a relay, a Bluetooth slave, a sub control board and a power adapter, and the induction module includes an infrared sensor, a Bluetooth host, a main control board and a DC power supply; the power adapter will The alternating current is converted into direct current to supply power to the secondary control board; the secondary control board is respectively connected to the Bluetooth slave and the relay to control the opening and closing of the relay; the DC power supply is connected to the power adapter to supply power to the main control board; the main control board is respectively connected to the infrared sensor and the Bluetooth host, The infrared sensor converts the infrared signal into a level signal and transmits it to the main control board. When the infrared signal changes, the Bluetooth host sends a signal to the Bluetooth slave, and the Bluetooth slave transmits the signal to the sub control board to control the closing and opening operation of the relay. Realize the power on and off of the socket. The utility model can realize the active power-on and power-off of the socket, which is both energy-saving and safe.

Description

一种基于红外传感器的无线控制智能插座A wireless control smart socket based on infrared sensor

技术领域technical field

本实用新型涉及智能插座技术领域,特别是一种基于红外传感器的无线控制智能插座。The utility model relates to the technical field of smart sockets, in particular to a wireless control smart socket based on an infrared sensor.

背景技术Background technique

目前,传统的插座多采用按键式开关,通过用户手动操作进行通断电,容易造成因为遗忘关断电器而产生的用电浪费。而现存的智能型插座如定时式节能插座,通过采用机械式的定时操作,控制插座的工作时间,可以实现用电时间规律的电器的通断电,但是仍无法克服操作繁琐、灵活性不足的缺点。At present, traditional sockets mostly use push-button switches, which are switched on and off through manual operation by the user, which is likely to cause waste of electricity consumption due to forgetting to turn off the electrical appliance. The existing intelligent sockets, such as timed energy-saving sockets, can control the working time of the sockets by using mechanical timing operations, and can realize the power-on and power-off of electrical appliances with regular electricity consumption time, but they still cannot overcome the cumbersome operation and insufficient flexibility. shortcoming.

现有插座应用场合单一,难以实现如教室无人时的电源关断和对路灯的智能化照明,在浪费电能的同时还具有巨大的用电安全隐患。The existing sockets have a single application situation, and it is difficult to realize the power off and intelligent lighting of street lamps when there is no one in the classroom.

发明内容SUMMARY OF THE INVENTION

本实用新型的目的在于提供一种感应部分和供电部分独立供电的基于红外传感器的无线控制智能插座,以减少线路的连接铺设,进行快速安全的安装。The purpose of this utility model is to provide an infrared sensor-based wireless control smart socket with independent power supply for the induction part and the power supply part, so as to reduce the connection and laying of lines and perform fast and safe installation.

实现本实用新型目的的技术解决方案为:一种基于红外传感器的无线控制智能插座,其特征在于,包括感应模块和插座模块;The technical solution for realizing the purpose of the utility model is: a wireless control smart socket based on infrared sensor, which is characterized in that it includes an induction module and a socket module;

所述插座模块包括继电器、蓝牙从机、副控制板和电源配适器;所述电源配适器连接交流电源线,将交流电转化为直流电为副控制板供电;所述副控制板分别连接蓝牙从机和继电器的低压控制端,控制继电器的开合;所述继电器的控制常开端串联在插座的火线上;The socket module includes a relay, a bluetooth slave, a sub-control board and a power adapter; the power adapter is connected to an AC power cord, and converts the alternating current into direct current to supply power to the sub-control board; the sub-control boards are respectively connected to the Bluetooth The low-voltage control end of the slave and the relay controls the opening and closing of the relay; the control normally open end of the relay is connected in series with the live wire of the socket;

所述感应模块包括红外传感器、蓝牙主机、主控制板和直流电源;所述直流电源与电源适配器相连为主控制板供电;所述主控制板分别连接红外传感器和蓝牙主机;The induction module includes an infrared sensor, a Bluetooth host, a main control board and a DC power supply; the DC power supply is connected to a power adapter to supply power to the main control board; the main control board is respectively connected to the infrared sensor and the Bluetooth host;

进一步地,所述的副控制板、主控制板为Arduino Uno控制板。Further, the secondary control board and the main control board are Arduino Uno control boards.

进一步地,所述红外传感器采用热释电红外传感器PIR,型号为RE200B-P。Further, the infrared sensor adopts a pyroelectric infrared sensor PIR, and the model is RE200B-P.

进一步地,所述电源适配器接入交流电源线,将220V交流电转化为12V直流电,为副控制板供电。Further, the power adapter is connected to an AC power cord to convert 220V AC into 12V DC to supply power to the sub-control board.

进一步地,所述红外传感器的D端口为供电地端口,连接主控制板的GND1管脚;S端口为信号引脚,连接主控制板的12管脚;E端口为供电正极端口,连接主控制板的Vin 管脚。Further, the D port of the infrared sensor is the power supply ground port, which is connected to the GND1 pin of the main control board; the S port is the signal pin, which is connected to the 12 pin of the main control board; the E port is the power supply positive port, which is connected to the main control board. board's Vin pin.

进一步地,所述蓝牙从机的型号为HC-05,其中RXD、TXD、GND、Vcc管脚分别连接主控制板的PD4、PD3、GND、5V管脚。Further, the model of the Bluetooth slave is HC-05, wherein the RXD, TXD, GND, and Vcc pins are respectively connected to the PD4, PD3, GND, and 5V pins of the main control board.

进一步地,所述继电器的型号为TLP521-1,通过单刀三掷开关分别连接常闭触点CB、常开触点CK、COM端口,实现常闭-常开-普通插座三种模式的切换。Further, the model of the relay is TLP521-1, and the normally closed contact CB, the normally open contact CK, and the COM port are respectively connected to the normally closed contact CB, the normally open contact CK, and the COM port through a single-pole three-throw switch, so as to realize the switching of three modes of normally closed-normally open-common socket.

进一步地,所述副控制板的PD2管脚与继电器的IN引脚相连、PD3管脚与蓝牙从机的TXD相连,PD4管脚与蓝牙从机的RXD相连。Further, the PD2 pin of the sub-control board is connected to the IN pin of the relay, the PD3 pin is connected to the TXD of the Bluetooth slave, and the PD4 pin is connected to the RXD of the Bluetooth slave.

进一步地,所述电源适配器的Ui端为直流220V输入,Uo端为直流9V 170mA输出。Further, the Ui end of the power adapter is a DC 220V input, and the Uo end is a DC 9V 170mA output.

本实用新型与现有技术相比,其显著优点在于:(1)通过主控制板与直流电源连接,从控制板与电源适配器连接,实现了对控制板的独立供电,使控制板能够始终保持通电实现信号的控制;(2)通过蓝牙主机、蓝牙从机分别与主副控制板连接,实现了快速线路安装设置,避免了布线的麻烦;(3)只需要将红外传感器安装在电器的表面,将电器的电源线接通到插座式通断电控制模块即可,使用简单方便;(4)红外传感器在固定时间间隔内识别区域内的人体活动情况后,将信号通过蓝牙主机和蓝牙从机传输到插座断电控制模块,实现了安全环保的自动通断电;(5)可以实现插座的主动式通断电,既节能又安全。Compared with the prior art, the present utility model has significant advantages as follows: (1) The main control board is connected with the DC power supply, and the slave control board is connected with the power adapter, so as to realize the independent power supply to the control board, so that the control board can always maintain Power-on to realize signal control; (2) The Bluetooth host and Bluetooth slave are respectively connected to the main and auxiliary control boards to realize fast line installation and setup, avoiding the trouble of wiring; (3) Only need to install the infrared sensor on the surface of the electrical appliance , connect the power cord of the electrical appliance to the socket-type on-off control module, which is simple and convenient to use; (4) After the infrared sensor recognizes the human activity in the area within a fixed time interval, the signal is transmitted through the bluetooth host and the bluetooth from the The machine is transmitted to the power-off control module of the socket, which realizes the automatic power-on and power-off of safety and environmental protection; (5) the active power-on and power-off of the socket can be realized, which is both energy-saving and safe.

附图说明Description of drawings

图1为本实用新型基于红外传感器的无线控制智能插座的电子器件连接图。FIG. 1 is a connection diagram of the electronic device of the wireless control smart socket based on the infrared sensor of the present invention.

图2为本实用新型中红外感应RE200B-P的电路图。Figure 2 is a circuit diagram of the utility model mid-infrared induction RE200B-P.

图3为本实用新型中蓝牙主机HC-05的电路图。FIG. 3 is a circuit diagram of the Bluetooth host HC-05 in the utility model.

图4为本实用新型中Arduino Uno主控制板的引脚图。Fig. 4 is the pin diagram of the main control board of Arduino Uno in the utility model.

图5为本实用新型中继电器TLP521-1和光电耦合器HK3FF-DC5V-SHG的电路图。Fig. 5 is the circuit diagram of relay TLP521-1 and photoelectric coupler HK3FF-DC5V-SHG in the utility model.

图6为本实用新型中Arduino Uno从机控制板的引脚图。FIG. 6 is a pin diagram of the Arduino Uno slave control board in the utility model.

图7为本实用新型中蓝牙从机HC-05的电路图。FIG. 7 is a circuit diagram of the Bluetooth slave HC-05 in the utility model.

图8为本实用新型中电源配适器的电路图。FIG. 8 is a circuit diagram of the power adapter in the present invention.

图9为本实用新型中感应模块的整体硬件结构图。FIG. 9 is an overall hardware structure diagram of the induction module in the present invention.

图10为本实用新型的整体硬件结构图。FIG. 10 is the overall hardware structure diagram of the present invention.

具体实施方式Detailed ways

本实用新型基于红外传感器的无线控制智能插座,包括感应模块和插座模块;The utility model is a wireless control smart socket based on an infrared sensor, which comprises an induction module and a socket module;

所述插座模块包括继电器1、蓝牙从机4、副控制板3和电源配适器2;所述电源配适器2连接交流电源线9,将交流电转化为直流电为副控制板3供电;所述副控制板3分别连接蓝牙从机4和继电器1的低压控制端,控制继电器1的开合;所述继电器1的控制常开端串联在插座的火线上;The socket module includes a relay 1, a Bluetooth slave 4, a secondary control board 3 and a power adapter 2; the power adapter 2 is connected to an AC power cord 9, and converts the alternating current into direct current to supply power to the secondary control board 3; The auxiliary control board 3 is respectively connected to the bluetooth slave 4 and the low-voltage control end of the relay 1 to control the opening and closing of the relay 1; the control normally open end of the relay 1 is connected in series with the live wire of the socket;

所述感应模块包括红外传感器5、蓝牙主机6、主控制板7和直流电源8;所述直流电源8与电源适配器2相连为主控制板7供电;所述主控制板7分别连接红外传感器5和蓝牙主机6;The induction module includes an infrared sensor 5, a Bluetooth host 6, a main control board 7 and a DC power supply 8; the DC power supply 8 is connected to the power adapter 2 to supply power to the main control board 7; the main control board 7 is respectively connected to the infrared sensor 5 and bluetooth host 6;

红外传感器5将红外信号转化为电平信号输送给主控制板7,当红外信号发生变化时,主控制板7控制蓝牙主机6发送通电或者断电信号至蓝牙从机4,蓝牙从机4将信号输送至副控制板3,副控制板3根据通断电信号控制继电器1的合开操作,实现插座的通断电。The infrared sensor 5 converts the infrared signal into a level signal and sends it to the main control board 7. When the infrared signal changes, the main control board 7 controls the Bluetooth host 6 to send a power-on or power-off signal to the Bluetooth slave 4, and the Bluetooth slave 4 will The signal is sent to the sub-control board 3, and the sub-control board 3 controls the closing and opening operation of the relay 1 according to the on-off signal to realize the power-on and power-off of the socket.

作为一种具体示例,所述的副控制板3、主控制板7为Arduino Uno控制板。As a specific example, the secondary control board 3 and the main control board 7 are Arduino Uno control boards.

作为一种具体示例,所述红外传感器5采用热释电红外传感器PIR,型号为RE200B-P。As a specific example, the infrared sensor 5 adopts a pyroelectric infrared sensor PIR, and the model is RE200B-P.

作为一种具体示例,所述电源适配器2接入交流电源线9,将220V交流电转化为12V直流电,为副控制板3供电。As a specific example, the power adapter 2 is connected to the AC power cord 9 to convert the 220V AC into 12V DC to supply power to the secondary control board 3 .

作为一种具体示例,所述红外传感器5的D端口为供电地端口,连接主控制板7的GND1管脚;S端口为信号引脚,连接主控制板7的12管脚;E端口为供电正极端口,连接主控制板7的Vin管脚。As a specific example, the D port of the infrared sensor 5 is the power supply ground port, which is connected to the GND1 pin of the main control board 7; the S port is the signal pin, which is connected to the 12 pin of the main control board 7; E port is the power supply The positive terminal is connected to the Vin pin of the main control board 7.

作为一种具体示例,所述蓝牙从机4的型号为HC-05,其中RXD、TXD、GND、Vcc 管脚分别连接主控制板7的PD4、PD3、GND、5V管脚。As a specific example, the model of the Bluetooth slave 4 is HC-05, wherein the RXD, TXD, GND, and Vcc pins are connected to the PD4, PD3, GND, and 5V pins of the main control board 7, respectively.

作为一种具体示例,所述继电器1的型号为TLP521-1,通过单刀三掷开关分别连接常闭触点CB、常开触点CK、COM端口,实现常闭-常开-普通插座三种模式的切换。As a specific example, the model of the relay 1 is TLP521-1, which is connected to the normally closed contact CB, the normally open contact CK, and the COM port respectively through a single-pole three-throw switch, so as to realize three types of normally closed, normally open and ordinary sockets. mode switching.

作为一种具体示例,所述副控制板3的PD2管脚与继电器1的IN引脚相连、PD3管脚与蓝牙从机4的TXD相连,PD4管脚与蓝牙从机4的RXD相连。As a specific example, the PD2 pin of the sub-control board 3 is connected to the IN pin of the relay 1 , the PD3 pin is connected to the TXD of the Bluetooth slave 4 , and the PD4 pin is connected to the RXD of the Bluetooth slave 4 .

作为一种具体示例,所述电源适配器2的Ui端为直流220V输入,Uo端为直流9V170mA输出。As a specific example, the Ui end of the power adapter 2 is a DC 220V input, and the Uo end is a DC 9V170mA output.

下面结合附图及具体实施例对本实用新型做进一步详细说明。The present utility model will be described in further detail below with reference to the accompanying drawings and specific embodiments.

实施例Example

结合图1,本实用新型基于红外传感器的无线控制智能插座,包括感应模块和插座模块;1, the wireless control smart socket based on the infrared sensor of the present invention includes an induction module and a socket module;

所述插座模块包括继电器1、蓝牙从机4、副控制板3和电源配适器2;所述电源配适器2连接交流电源线9,将交流电转化为直流电为副控制板3供电;所述副控制板3分别连接蓝牙从机4和继电器1的低压控制端,控制继电器1的开合;所述继电器1的控制常开端串联在插座的火线上;The socket module includes a relay 1, a bluetooth slave 4, a secondary control board 3 and a power adapter 2; the power adapter 2 is connected to an AC power cord 9, and converts the alternating current into direct current to supply power to the secondary control board 3; The auxiliary control board 3 is respectively connected to the low-voltage control terminal of the Bluetooth slave 4 and the relay 1 to control the opening and closing of the relay 1; the control normally open terminal of the relay 1 is connected in series with the live wire of the socket;

所述感应模块包括红外传感器5、蓝牙主机6、主控制板7和直流电源8;所述直流电源8与电源适配器2相连为主控制板7供电;所述主控制板7分别连接红外传感器5和蓝牙主机6;The induction module includes an infrared sensor 5, a Bluetooth host 6, a main control board 7 and a DC power supply 8; the DC power supply 8 is connected to the power adapter 2 to supply power to the main control board 7; the main control board 7 is respectively connected to the infrared sensor 5 and bluetooth host 6;

红外传感器5将红外信号转化为电平信号输送给主控制板7,当红外信号发生变化时,主控制板7控制蓝牙主机6发送通电或者断电信号至蓝牙从机4,蓝牙从机4将信号输送至副控制板3,副控制板3根据通断电信号控制继电器1的合开操作,实现插座的通断电。The infrared sensor 5 converts the infrared signal into a level signal and sends it to the main control board 7. When the infrared signal changes, the main control board 7 controls the Bluetooth host 6 to send a power-on or power-off signal to the Bluetooth slave 4, and the Bluetooth slave 4 will The signal is sent to the sub-control board 3, and the sub-control board 3 controls the closing and opening operation of the relay 1 according to the on-off signal to realize the power-on and power-off of the socket.

图2为红外传感器5电路图,采用型号为RE200B-P,其中D端口即为供电地端口,连接Arduino主控制板7的GND1管脚;其中S端口即为信号引脚,连接Arduino主控制板7的 12管脚;E端口为供电正极端口,连接Arduino主控制板7的Vin管脚。Figure 2 is the circuit diagram of the infrared sensor 5. The model is RE200B-P. The D port is the power supply ground port, which is connected to the GND1 pin of the Arduino main control board 7; the S port is the signal pin, which is connected to the Arduino main control board 7. 12 pins of Arduino; E port is the positive power supply port, which is connected to the Vin pin of Arduino main control board 7.

图3为蓝牙主机4电路图,采用型号为HC-05,其中RXD、TXD、GND、Vcc管脚分别连接Arduino主控制板7的PD4、PD3、GND、5V管脚,蓝牙模块通信需要一对两只蓝牙模块互联,先用AT指令设置好共同的用户名与密码,实现配对的唯一性与稳定性。Figure 3 is the circuit diagram of the Bluetooth host 4. The model is HC-05. The RXD, TXD, GND, and Vcc pins are connected to the PD4, PD3, GND, and 5V pins of the Arduino main control board 7, respectively. Bluetooth module communication requires a pair of two Only the Bluetooth module is interconnected. First, use the AT command to set a common user name and password to achieve the uniqueness and stability of the pairing.

图4为Arduino主控制板7主机引脚图,采用型号为Arduino Uno,Arduino主控制板7 体型较小,可减小智能插座的体积,有充足引脚供使用,可借助代码实现休眠功能与正常工作功能的切换,便于产品自身的休眠与唤醒。Arduino主控制板7的GND1、12、Vin 管脚分别与红外传感器5的D、S、E引脚相连,控制板的PD3、PD4管脚分别与蓝牙主机 4的TXD、RXD相连。Figure 4 is the pin diagram of the Arduino main control board 7. The model is Arduino Uno. The Arduino main control board 7 is small in size, which can reduce the size of the smart socket. There are sufficient pins for use, and the sleep function and The switching of normal working functions is convenient for the sleep and wake-up of the product itself. The GND1, 12 and Vin pins of the Arduino main control board 7 are respectively connected to the D, S, E pins of the infrared sensor 5, and the PD3 and PD4 pins of the control board are respectively connected to the TXD and RXD of the Bluetooth host 4.

图5为继电器1的电路图,继电器采用型号为TLP521-1,光电耦合器采用 HK3FF-DC5V-SHG,左侧为继电器1的控制端,5V引脚为继电器1自身提供电源支持, GND是继电器1的接地端,IN是继电器1控制端的信号输入。右侧是继电器1的受控制端,继电器1的COM引脚与控制插座的接地端相连,CB是继电器1的常闭触点,CK是继电,1 的常开触点,COM引脚连接受控插座火线的一端,火线的另一端通过单刀三掷开关分别连接CB、CK、COM端口,实现常闭-常开-普通插座三种模式的切换。Figure 5 is the circuit diagram of relay 1, the relay adopts the model TLP521-1, the photocoupler adopts HK3FF-DC5V-SHG, the left side is the control terminal of relay 1, the 5V pin provides power support for relay 1 itself, and GND is relay 1 The ground terminal, IN is the signal input of the control terminal of relay 1. The right side is the controlled terminal of relay 1, the COM pin of relay 1 is connected to the ground terminal of the control socket, CB is the normally closed contact of relay 1, CK is the normally open contact of relay 1, and the COM pin is connected One end of the live wire of the controlled socket and the other end of the live wire are respectively connected to the CB, CK, and COM ports through a single-pole, three-throw switch to realize the switching of three modes of normally closed-normally open-common socket.

图6为Arduino副控制板3的引脚图,采用型号为Arduino Uno,Arduino副控制板4的 PD2管脚与继电器1的IN引脚相连,Arduino副控制板3的PD3管脚与蓝牙从机4的TXD相连,Arduino副控制板3的PD4管脚与蓝牙从机4的RXD相连。Figure 6 is the pin diagram of the Arduino sub-control board 3. The model is Arduino Uno. The PD2 pin of the Arduino sub-control board 4 is connected to the IN pin of the relay 1. The PD3 pin of the Arduino sub-control board 3 is connected to the Bluetooth slave. TXD of 4 is connected, PD4 pin of Arduino sub-control board 3 is connected to RXD of Bluetooth slave 4.

图7为蓝牙从机4的电路图,采用型号为HC-05。其中RXD,TXD,GND,Vcc管脚分别连接Arduino主控制板7的PD4、PD3、GND、5V管脚,通过TXD与RXD与外界进行通信。蓝牙模块具有价格低廉、能耗低的优点,其连接距离完全能够满足室内节能插座的要求。蓝牙模块通信需要一对两只蓝牙模块互联,先用AT指令设置好共同的用户名与密码,实现配对的唯一性与稳定性。两只蓝牙模块分别与两个Arduino控制板的PD3、 PD4引脚相连。Figure 7 is the circuit diagram of the Bluetooth slave 4, the model is HC-05. The RXD, TXD, GND, and Vcc pins are respectively connected to the PD4, PD3, GND, and 5V pins of the Arduino main control board 7, and communicate with the outside world through TXD and RXD. The Bluetooth module has the advantages of low price and low energy consumption, and its connection distance can fully meet the requirements of indoor energy-saving sockets. Bluetooth module communication requires a pair of Bluetooth modules to be interconnected. First, use AT commands to set a common user name and password to achieve uniqueness and stability of pairing. The two Bluetooth modules are respectively connected to the PD3 and PD4 pins of the two Arduino control boards.

图8为电源适配器2的电路图。电源适配器2对电源功率的转换,通过主电路和控制电路来完成,其中左侧Ui端为直流220V输入,右侧Uo端为直流9V 170mA输出。FIG. 8 is a circuit diagram of the power adapter 2 . The conversion of the power supply by the power adapter 2 is completed by the main circuit and the control circuit. The left Ui terminal is DC 220V input, and the right Uo terminal is DC 9V 170mA output.

图9为感应模块的硬件结构图,包括红外传感器5、蓝牙主机6、主控制板7和直流电源8。直流电源8固定安装在主控制板7一侧,通过接线与主控制板7相连;红外传感器5 位于主控制板7左侧,伸出外壳部分用于检测。FIG. 9 is a hardware structure diagram of the induction module, including an infrared sensor 5 , a Bluetooth host 6 , a main control board 7 and a DC power supply 8 . The DC power supply 8 is fixedly installed on one side of the main control board 7 and connected to the main control board 7 through wiring; the infrared sensor 5 is located on the left side of the main control board 7 and extends out of the casing for detection.

图10为插座模块的硬件结构,包括常闭-常开-普通模式三态切换开关11、指示灯12、 Arduino副控制板3、恒流稳压模块13、继电器1、光电耦合器14、三孔插座15和二孔插座组成16。Figure 10 shows the hardware structure of the socket module, including a normally closed-normally open-normal mode three-state switch 11, an indicator light 12, an Arduino sub-control board 3, a constant current voltage regulator module 13, a relay 1, a photocoupler 14, and three The hole socket 15 and the two-hole socket constitute 16 .

工作过程:work process:

(1)接入市电电源并将与通信单元相连的红外传感器布置于检测位置,在受控插口接入外围用电电器;(1) Connect to the mains power supply and arrange the infrared sensor connected with the communication unit at the detection position, and connect the peripheral electrical appliances to the controlled socket;

(2)打开红外传感器的独立电源,红外传感器将当前范围检测到的有无人的判断信号传递给通信单元,通信单元将信号传递给开关控制单元。(2) Turn on the independent power supply of the infrared sensor, and the infrared sensor transmits the judgment signal of the presence or absence detected in the current range to the communication unit, and the communication unit transmits the signal to the switch control unit.

(3)当检测到人的判断信号时,开关控制单元发出指令,控制受控插口通电;当设定时间内检测不到有人的判断信号时,开关控制单元发出指令,控制受控插口断电,使外围用电电器断电。(3) When the judgment signal of a person is detected, the switch control unit issues an instruction to control the power-on of the controlled socket; when the judgment signal of a person cannot be detected within the set time, the switch control unit issues an instruction to control the power-off of the controlled socket , so that the peripheral electrical appliances are powered off.

Claims (9)

1. a kind of wireless control intelligent socket based on infrared sensor, which is characterized in that including induction module and jack module;
The jack module includes relay (1), bluetooth slave (4), sub-control plate (3) and power supply adaptor (2);The power supply It is sub-control plate (3) power supply that AC conversion is direct current by adapter (2) connection AC power cord (9);The sub-control plate (3) it is separately connected the low voltage control end of bluetooth slave (4) and relay (1), controls the folding of relay (1);The relay (1) control normally open end is connected on the firewire of socket;
The induction module includes infrared sensor (5), bluetooth host (6), master board (7) and DC power supply (8);It is described straight Galvanic electricity source (8) and power supply adaptor (2) are connected to master board (7) power supply;The master board (7) is separately connected infrared sensing Device (5) and bluetooth host (6).
2. the wireless control intelligent socket according to claim 1 based on infrared sensor, which is characterized in that the pair Control panel (3), master board (7) are Arduino Uno control panel.
3. the wireless control intelligent socket according to claim 2 based on infrared sensor, which is characterized in that described infrared Sensor (5) uses pyroelectric infrared sensor PIR, model RE200B-P.
4. the wireless control intelligent socket according to claim 1,2 or 3 based on infrared sensor, which is characterized in that institute Power supply adaptor (2) access AC power cord (9) is stated, is 12V DC electricity by 220V AC conversion, is supplied for sub-control plate (3) Electricity.
5. the wireless control intelligent socket according to claim 3 based on infrared sensor, which is characterized in that described infrared The port D of sensor (5) is power supply ground port, connects the GND1 pin of master board (7);The port S is signal pins, connection master 12 pins of control panel (7);The port E is the positive port that powers, and connects the Vin pin of master board (7).
6. the wireless control intelligent socket according to claim 2 based on infrared sensor, which is characterized in that the bluetooth The model HC-05 of slave (4), wherein RXD, TXD, GND, Vcc pin be separately connected PD4, PD3 of master board (7), GND, 5V pin.
7. the wireless control intelligent socket according to claim 6 based on infrared sensor, which is characterized in that the relay The model TLP521-1 of device (1) is separately connected normally-closed contact CB, normally opened contact CK, COM port by single-pole three-throw switch, Realize the switching of normally closed-normally opened-common socket Three models.
8. the wireless control intelligent socket according to claim 7 based on infrared sensor, which is characterized in that the secondary control The PD2 pin of making sheet (3) is connected with the IN pin of relay (1), PD3 pin is connected with the TXD of bluetooth slave (4), PD4 pin It is connected with the RXD of bluetooth slave (4).
9. the wireless control intelligent socket according to claim 1 based on infrared sensor, which is characterized in that the power supply The end Ui of adapter (2) is direct current 220V input, and the end Uo is direct current 9V 170mA output.
CN201821640472.3U 2018-10-10 2018-10-10 A wireless control smart socket based on infrared sensor Expired - Fee Related CN209298478U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821640472.3U CN209298478U (en) 2018-10-10 2018-10-10 A wireless control smart socket based on infrared sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821640472.3U CN209298478U (en) 2018-10-10 2018-10-10 A wireless control smart socket based on infrared sensor

Publications (1)

Publication Number Publication Date
CN209298478U true CN209298478U (en) 2019-08-23

Family

ID=67653729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821640472.3U Expired - Fee Related CN209298478U (en) 2018-10-10 2018-10-10 A wireless control smart socket based on infrared sensor

Country Status (1)

Country Link
CN (1) CN209298478U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109301609A (en) * 2018-10-10 2019-02-01 南京理工大学 A wireless control smart socket based on infrared sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109301609A (en) * 2018-10-10 2019-02-01 南京理工大学 A wireless control smart socket based on infrared sensor

Similar Documents

Publication Publication Date Title
WO2010094215A1 (en) Power supply control device and ventilating device using same
CN203707489U (en) Intelligent energy-saving socket
CN105610011B (en) A kind of Intelligent energy-saving socket and method by terminal device Bluetooth control
CN101938070A (en) An intelligent energy-saving socket and its working method
CN101938071B (en) Energy-saving socket for printer and operating method thereof
CN209298478U (en) A wireless control smart socket based on infrared sensor
CN203085882U (en) Intelligent remote control socket
CN201319448Y (en) AC/DC output power supply energy-saving socket
CN109301609A (en) A wireless control smart socket based on infrared sensor
CN203398457U (en) Intelligent household electrical appliance standby energy-saving socket
CN206890663U (en) A kind of switching mode room thermostat with dual control function
CN211718744U (en) Dry contact switch based on HPLC communication
CN204374703U (en) A kind of intelligent controlling device being applied to socket
CN204118399U (en) A kind of energy-saving socket with WIFI hot spot function
CN101771187A (en) Wireless Control Energy Saver
CN108711926A (en) A kind of solar charging device, system and method
CN108429663A (en) A kind of intelligence with human-computer interaction interface energy managing device
CN104283071A (en) Energy-saving socket with WIFI hot spot function
CN208367898U (en) A kind of linked switch of intelligent closestool control
CN206864783U (en) A kind of intelligent infrared switch socket
CN201060392Y (en) Smart Battery Saver
CN207183695U (en) A kind of Intelligent extension socket
CN202882624U (en) Automatic light turn-off type hinge switch
CN2914561Y (en) Intelligent illumination control system
CN223260062U (en) Automatic start and stop device for fire equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190823

Termination date: 20211010

CF01 Termination of patent right due to non-payment of annual fee