CN204966869U - Intelligent socket - Google Patents

Intelligent socket Download PDF

Info

Publication number
CN204966869U
CN204966869U CN201520654266.8U CN201520654266U CN204966869U CN 204966869 U CN204966869 U CN 204966869U CN 201520654266 U CN201520654266 U CN 201520654266U CN 204966869 U CN204966869 U CN 204966869U
Authority
CN
China
Prior art keywords
module
arduino
infrared
mouth
smart jack
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.)
Active
Application number
CN201520654266.8U
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.)
Uniontech Software Technology Co Ltd
Original Assignee
WUHAN CHENGMAI TECHNOLOGY Co Ltd
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 WUHAN CHENGMAI TECHNOLOGY Co Ltd filed Critical WUHAN CHENGMAI TECHNOLOGY Co Ltd
Priority to CN201520654266.8U priority Critical patent/CN204966869U/en
Application granted granted Critical
Publication of CN204966869U publication Critical patent/CN204966869U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The utility model belongs to intelligence house field provides an intelligent socket, including arduino board, serial ports wifi module, relay module, infrared transmission module, infrared receiver module, the exchangeable module of electric current, LED lamp, sound wave ranging module and light sensor, serial port connection is passed through with the arduinio board to serial ports wifi module, relay module is connected with arduino plate number word IO mouth, infrared transmission module is connected with arduino plate number word IO mouth, infrared receiver module is connected with arduino plate number word IO mouth, the exchangeable module of electric current is planned the IO mouth with the arduino matrix and is connected, the LED lamp is connected with arduino plate number word IO mouth, sound wave ranging module is connected with arduino board IIC mouth, light sensor links to each other with arduino board IIC mouth. This practical cardiovascular intelligent socket function is abundant, and plug -and -play is convenient high -efficient.

Description

A kind of smart jack
Technical field
The utility model belongs to Smart Home field, is specifically related to a kind of smart jack.
Background technology
WiFi smart jack make use of the WiFi network in existing family, allows smart mobile phone or panel computer etc. under networking condition, opens or close the electrical equipment of specifying by App operation.
Smart jack breaches the consistent complication system image of Smart Home, coordinates the smart mobile phone of staff one and independent APP, can allow your electrical equipment in any one local remote control home of the whole world, and plug and play is easy to use.
Be different from conventional socket, the basic function of smart jack is exactly " Long-distance Control+regularly ", it can help us to solve a lot of problems in life, such as kettle is filled water access smart jack, no matter want to drink hot water or warm water, the operating time of the time setting smart jack can got up according to oneself completely.
But also there is following problem in current smart jack:
(1) smart jack control apparatus switch just " disposable ", the "on" position before namely cannot returning to after power-off, and also do not support the equipment that TV, air-conditioning etc. need secondary to open.
(2) timing function can control electrical appliance in specific time period work, decreases the energy waste of idle period to a certain extent, but actual electricity consumption period on-fixed, situation, once change, needs to re-start setting, uses inconvenience.
(3) security breaches, except owner, other cellphone subscribers also can connect smart jack, or after mobile phone loss, other people can continue to control smart jack with mobile phone, do not have enough safeguard protections.
(4) function is more single.
Summary of the invention
The utility model is exactly for the weak point in above-mentioned background technology, and the smart jack of a kind of feature richness proposed, plug and play, convenience and high-efficiency.
The purpose of this utility model is achieved by the following technical measures: a kind of smart jack, comprise Arduino plate, serial ports wifi module, relay module, infrared transmission module, infrared receiving module, Current Mutual Inductance module, LED, sound ranging module and optical sensor, described serial ports wifi module is connected by serial ports with Arduinio plate, described relay module is connected with Arduino plate digital I/O port, described infrared transmission module is connected with Arduino plate digital I/O port, described infrared receiving module is connected with Arduino plate digital I/O port, described Current Mutual Inductance module and Arduino template die are intended I/O port and are connected, described LED is connected with arduino plate digital I/O port, described sound ranging module is connected with arduino plate IIC mouth, described optical sensor is connected with arduino plate IIC mouth.
In technique scheme, all connect infrared transmission module in the different angles of smart jack, launched together by multiple infrared transmission module when launching infrared command.
The method of work of smart jack of the present utility model, comprises the following steps:
(1) send AT order by serial ports to serial ports wifi module, arrange its mode of operation, when not arranging router link information or link information is unavailable, acquiescence wifi is in ap mode, arranges link information after connecting for mobile phone wifi; When arranging router link information, connection route device, afterwards connection server, with server communication;
(2) low and high level by controlling the pin be connected with relay module controls the energising power-off of forceful electric power;
(3) low and high level by controlling the pin be connected with infrared transmission module launches infrared signal, realizes when controlling low and high level by timer, and infrared emission is that to realize the function of remote controller, its flow process is as follows in order to send guidance command to equipment:
(3-1), when mobile phone A PP end is selected to launch infrared command, count value corresponding for this infrared command is sent to smart jack;
If (3-2) use APP at outer net, then this order is forwarded by server; If use APP in Intranet, then this order is directly sent to smart jack;
(3-3) after receiving transmitting infrared command, be multiplied by 50ms signal interval time according to count value, after interval time, control infrared transmission module change low and high level state, reach the effect of launching infrared signal;
(4) by reading the low and high level of the pin be connected with infrared receiving module, and record the interval time of infrared signal, be stored as the initial data of infrared signal, it is to copy User Defined infrared command that infrared command receives, such as user buys air-conditioning, but the order of not this air-conditioning in server database, so user can press the button air-conditioning remote control facing to smart jack, smart jack is by this function study infrared command, in order to support more infrared equipment, adopt the mode of preserving infrared initial data herein, its flow process is as follows:
(4-1) when needs receive infrared command, timer reads the pin of infrared receiving module value every 50ms is started;
(4-2) when infrared receiving module pin value is unchanged, counting adds 1, when counting exceedes 5 seconds infrared command normal interval time, when approximately counting up to 100, if do not receive effective infrared data, counts and returns 0, if there are infrared valid data, terminates to receive;
(4-3) when infrared receiving module pin value changes, preserve this counting, and counting is returned 0, carry out the reception of next signal data;
(4-4) at the end of IR signal reception, all count values are sent to mobile phone terminal and preserve;
(5) magnitude of voltage by reading the pin be connected with Current Mutual Inductance module obtains current current value; Read the electric current in Current Mutual Inductance module acquisition forceful electric power, acquiescence 220V voltage, is multiplied with current electric current and draws power, obtain power consumption by integration; Obtain the live wire of forceful electric power and the electric current of zero line respectively, when current differential reaches certain value i.e. 10 MAHs, think and get an electric shock, by cut-off power supply; Judge that now whether electrical equipment is just standby by power, power thinks standby lower than 1W, starts intelligent power down function time standby, by relay, this appliances power source is cut off, and this function is for the high-power electrical equipment that is of little use of family expenses;
(6) low and high level by controlling the pin be connected with LED controls the light on and off of LED; Current distance is obtained by the value reading the pin be connected with sound ranging module; Current luminous intensity is obtained by the value reading the pin be connected with optical sensor; Obtain current light intensity by optical sensor, obtained the distance of current barrier by sound ranging module, when night, nearest obstacle distance changed, lightening LED lamp.Should
In sum, the function that realizes of the utility model smart jack and to realize principle as follows:
(1) omnipotent function of infrared remote control: integrated infrared emission/receiver module on intelligent switch, is obtained the infrared command that will copy, send infrared command by transmitter module by receiver module.This function can control great majority and support the equipment of infrared remote control, the problem of state before cannot returning to after solving power-off, during energising next time after a loss of power, can by infrared remote control equipment make equipment recover before the state of work.Wherein infrared reception/emission function only records initial data, namely infrared interval time, does not do encoding and decoding, can support more equipment like this in realizing.
(2) power consumption statistical function: use the electric current in Current Mutual Inductance module acquisition forceful electric power, acquiescence 220V voltage, is multiplied with current electric current and draws power, obtain power consumption by integration.There is the problem of precision and range when obtaining electric current, adopting the parallel connection of multiple small-range high precision current transformer to realize the demand of precision and range.
(3) electroshock-proof function: obtain the live wire of forceful electric power and the electric current of zero line respectively, when current differential reaches certain value, think and get an electric shock, now by cut-off power supply.
(4) intelligent power down function: the electrical equipment used in family normal use and standby time power gap comparatively large, by power, intelligent switch can judge that now electrical equipment is just standby, when starting intelligent power down function, this appliances power source is cut off in meeting.
(5) cipher protection function: the control operation for some sensitivities can arrange cryptoguard, needs through password authentification, can protect intelligent switch, avoid by other people crack control and bring loss before transmission control command.
(6) night-light function: when opening automatic night-light function, obtains current light intensity by optical sensor, is obtained the distance of current barrier by sound ranging module, when night, nearest obstacle distance changed, and lightening LED lamp.
(7) damage security function: when intelligent object hardware or software anomaly, acquiescence Power resumption state, even if now intelligent object damages, also can not bring loss because of power-off, can be used as common socket and use.
(8) intelligent switch long-range/local control, connection server after intelligent switch connection route device, realizes Long-distance Control by server, when not having outer net, controls by local area network (LAN).
The utility model its advantage compared with current smart jack is:
1. feature richness, can spend less cost price to be supplied to the abundanter more intimate service of user, and such as: infrared remote control, night-light, power consumption is added up, and the functions such as intelligent power-off, perform to the effect of switch ultimate attainment.
2. provide safety assurance, for user authority management, Electrical Safety is unexpected, and switch hardware and software failure provides safeguard measure.
figure of description
Fig. 1 is signal wiring figure of the present utility model.
Fig. 2 is use scenes structure chart of the present utility model.
Initial bind flow chart of steps when Fig. 3 is the utility model use.
Infrared command receiving step flow chart when Fig. 4 is the utility model use.
Infrared command step of transmitting flow chart when Fig. 5 is the utility model use.
Fig. 6 is the utility model control program overall flow figure.
Embodiment
Below in conjunction with drawings and Examples, the utility model will be further described.
As shown in Figure 1, the utility model for core, realizes concrete function by controlling other hardware modules with Arduino plate, hardware module connect and operation principle as follows:
(1) serial ports wifi module, is connected by serial ports with Arduinio, sends AT order, arrange its mode of operation by serial ports to wifi module.When not arranging link information or link information is unavailable, acquiescence wifi goes out ap mode, arranges link information after connecting for mobile phone wifi; When arranging link information, connection route device, afterwards connection server, with server communication.
(2) relay module, is connected with Arduino digital I/O port, is controlled the energising power-off of forceful electric power by the low and high level controlling pin.
(3) infrared transmission module, is connected with Arduino digital I/O port, launches infrared signal, realize, realize the interval time of infrared signal by infrared initial data when controlling low and high level by timer by the low and high level controlling pin.In order to reach better control effects, all connecting infrared transmission module in the different angles of smart jack, being launched together by multiple infrared transmission module when launching infrared command, improve the efficient of transmitting.
(4) infrared receiving module, is connected with Arduino digital I/O port, reads the low and high level of pin, and records the interval time of infrared signal, be stored as the initial data of infrared signal.
(5) Current Mutual Inductance module, is connected with Arduino Simulation with I O mouth, obtains current current value by the magnitude of voltage reading pin.
(6) LED, is connected with arduino digital I/O port, is controlled the light on and off of LED by the low and high level controlling pin.
(7) sound ranging module, is connected with arduinoIIC mouth, obtains current distance.
(8) optical sensor, is connected with arduinoIIC mouth, obtains current luminous intensity.
As shown in Figure 2, use scenes of the present utility model is divided into outer net and Intranet, and when outer net uses, overall structure is as follows:
(1) connection server after smart jack connection route device.
(2) connection server after mobile phone A PP client terminal start-up, APP end needs all to be forwarded by server when controlling and obtain outlet information.
For outer net use scenes, need first to bind before normal use, binding flow process is shown in Fig. 3.
When Intranet uses, overall structure is as follows:
(1) smart jack starts rear connection route device.
(2) scan the smart jack in local area network (LAN) after mobile phone A PP client terminal start-up, be connected with it after finding.
As shown in Figure 3, the utility model needs to carry out initial setting up work before first time uses, mainly in order to arrange router link information, and APP binding information and password protected information, its initial setting up flow process is as follows:
(1), after smart jack starts, arranging wifi is ap mode.
(2) mobile phone connects the AP of smart jack.
(3) open mobile phone A PP, SSID and the password of connection route device are set.
(4) socket protective password is set.
(5) click binding, now smart jack can get user ID, can report user bound ID during next connection server, can not bind when there is user bound ID again, eliminates binding information by rest key.
As shown in Figure 4, in the utility model, infrared command receives is to copy User Defined infrared command, such as user buys air-conditioning, but the order of not this air-conditioning in server database, so user can press the button air-conditioning remote control facing to smart jack, and smart jack learns infrared command, in order to support more infrared equipment by this function, adopt the mode of preserving infrared initial data herein, its flow process realized is as follows:
(1) when needs receive infrared command, start timer reads the pin of infrared receiving module value every 50ms, the effect of interval 50ms herein reduces record value to obtain size, be equivalent to the multiple of record 50ms instead of record concrete interval time, the space of preserving infrared signal and using can be reduced like this.
(2) when infrared receiving module pin value is unchanged, counting adds 1, when counting exceedes infrared command normal interval time 5s, if do not receive effective infrared data, counts and returns 0, if there are infrared valid data, terminates to receive.
(3) when infrared receiving module pin value changes, preserve this counting, and counting is returned 0, carry out the reception of next signal data.
(4) at the end of IR signal reception, all count values are sent to mobile phone terminal and preserve.
As shown in Figure 5, in the utility model, infrared emission is that to realize the function of remote controller, this functional utilization wifi imports smart jack into infrared command data in order to send guidance command to equipment, smart jack reads infrared command Data Concurrent and penetrates infrared command, and its main flow is as follows:
(1), when mobile phone A PP end is selected to launch infrared command, count value corresponding for this infrared command can be sent to smart jack.
(2) if use APP at outer net, then this order is forwarded by server; If use APP in Intranet, then this order is directly sent to smart jack.
(3) after receiving transmitting infrared command, be multiplied by 50ms signal interval time according to count value, after interval time, control infrared transmission module change low and high level state, reach the effect of launching infrared signal.
As shown in Figure 6, the overall flow figure of the utility model control program is as follows:
(1) initialization apparatus, closes LED, relay power etc.
(2) check whether router link information is set, if arranged router link information, then connection route device, connection server after successful connection; If do not arrange router link information, then arranging wifi module is ap mode, and wait for the connection of cell-phone customer terminal and the setting of route-map, after user arranges link information, equipment is restarted.
Circulate from serial ports wifi module and receive order, and eradication order does the action of specifying, such as relay power power-off, the reception of infrared signal is launched, the actions such as the switch of LED.

Claims (2)

1. a smart jack, comprise Arduino plate, serial ports wifi module, relay module, infrared transmission module, infrared receiving module, Current Mutual Inductance module, LED, sound ranging module and optical sensor, it is characterized in that: described serial ports wifi module is connected by serial ports with Arduinio plate, described relay module is connected with Arduino plate digital I/O port, described infrared transmission module is connected with Arduino plate digital I/O port, described infrared receiving module is connected with Arduino plate digital I/O port, described Current Mutual Inductance module and Arduino template die are intended I/O port and are connected, described LED is connected with Arduino plate digital I/O port, described sound ranging module is connected with Arduino plate IIC mouth, described optical sensor is connected with Arduino plate IIC mouth.
2. smart jack according to claim 1, is characterized in that: all connect infrared transmission module in the different angles of smart jack.
CN201520654266.8U 2015-08-27 2015-08-27 Intelligent socket Active CN204966869U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520654266.8U CN204966869U (en) 2015-08-27 2015-08-27 Intelligent socket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520654266.8U CN204966869U (en) 2015-08-27 2015-08-27 Intelligent socket

Publications (1)

Publication Number Publication Date
CN204966869U true CN204966869U (en) 2016-01-13

Family

ID=55061910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520654266.8U Active CN204966869U (en) 2015-08-27 2015-08-27 Intelligent socket

Country Status (1)

Country Link
CN (1) CN204966869U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114498210A (en) * 2022-01-27 2022-05-13 广东浩博特科技有限公司 Intelligent socket integrating electric energy measurement and WIFI signal enhancement functions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114498210A (en) * 2022-01-27 2022-05-13 广东浩博特科技有限公司 Intelligent socket integrating electric energy measurement and WIFI signal enhancement functions

Similar Documents

Publication Publication Date Title
CN106946108B (en) A kind of elevator control system and method
CN204241946U (en) A kind of control system using signal light control intelligent appliance based on high in the clouds Internet of Things
CN106774210A (en) A kind of smart jack, appliance control system and smart jack control method
CN203259864U (en) Remote smart home system
CN105487516A (en) Smart home access method and smart home access device
CN204925670U (en) Intelligence household electrical appliances control system based on singlechip and bluetooth of mobile phone communication
CN205790749U (en) A kind of smart jack speech control system
CN108810061A (en) A kind of intelligent domestic system
CN105182775A (en) Internet-of-things-based intelligent household mobile phone APP control system
WO2017198061A1 (en) Smart socket remote control system and method
CN107104958A (en) Manage the method, private clound and public cloud equipment and storage device of private clound equipment
CN105527952A (en) Smart home control device and electric appliance matching system and method
CN204538384U (en) A kind of Intelligent safety socket
CN201167332Y (en) Intelligent household network control system
CN204966869U (en) Intelligent socket
CN105204455A (en) Intelligent household system based on Internet of Things
CN201527580U (en) Global ultra-distance control and monitoring system
CN103728934A (en) Intelligent home system
CN103472801A (en) Remote family guard system and family guard device
CN103199894A (en) High-speed power line carrier device used for transmitting digital signals
CN104834962A (en) Hotel guest room management control system
CN209280785U (en) A kind of device that can indoors indicate current step price in real time
CN103217938A (en) Control system for achieving voice frequency remote access and playback
CN103197616A (en) Player terminal applied to audio remote access and play system
CN1464695A (en) Digital home controlling network system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 430079 13 / F and 14 / F, building 4, North A5, phase I, Longshan Innovation Park, future science and Technology City, 999 Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee after: Wuhan Tongxin Software Technology Co.,Ltd.

Address before: 4-5 / F, building A2, optical valley software park, No.1 Guanshan Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province, 430074

Patentee before: ARCHERMIND TECHNOLOGY (WUHAN) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230919

Address after: 100176 18th floor, building 12, courtyard 10, KEGU 1st Street, Beijing Economic and Technological Development Zone, Daxing District, Beijing

Patentee after: Tongxin Software Technology Co.,Ltd.

Address before: 430079 13 / F and 14 / F, building 4, North A5, phase I, Longshan Innovation Park, future science and Technology City, 999 Gaoxin Avenue, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee before: Wuhan Tongxin Software Technology Co.,Ltd.