CN204347533U - A kind of WIFI on-off controller - Google Patents

A kind of WIFI on-off controller Download PDF

Info

Publication number
CN204347533U
CN204347533U CN201520029835.XU CN201520029835U CN204347533U CN 204347533 U CN204347533 U CN 204347533U CN 201520029835 U CN201520029835 U CN 201520029835U CN 204347533 U CN204347533 U CN 204347533U
Authority
CN
China
Prior art keywords
wifi
wifi module
chip microcomputer
interface
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
CN201520029835.XU
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201520029835.XU priority Critical patent/CN204347533U/en
Application granted granted Critical
Publication of CN204347533U publication Critical patent/CN204347533U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • Y02B60/50

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model provides a kind of WIFI on-off controller, comprise antenna, WIFI module, single-chip microcomputer, relay, described antenna is connected with described WIFI module, and described relay is connected with described single-chip microcomputer, and described single-chip microcomputer is connected with described WIFI module by power driving circuit.This WIFI on-off controller directly carrys out control apparatus by WIFI network, need not turn infrared or RF-wise controls by WIFI network, make control circuit more succinct, control more efficient; Simultaneously between single-chip microcomputer and WIFI module, be provided with switch power source driving circuit, make single-chip microcomputer optionally for WIFI module and power thus reach the object of power saving.

Description

A kind of WIFI on-off controller
Technical field
The utility model relates to switch control rule field, specifically a kind of WIFI on-off controller.
Background technology
A lot of people had such experience, finds that parlor lamp does not close, just can open air-conditioning and slowly wait for refrigerant arrival after can only arriving sultry room the summer of sweltering heat in the quilt that Cold Winter is warm, went hungry could open electric cooker after getting home and start to cook.Along with the raising of technical progress and people's life level, the Smart Home controlling all has become the dream that more and more people thirsts for.
The fast development of WiFi technology is with universal, and making to carry out control by WIFI network to various household electrical appliances becomes possibility.By ripe and increasingly universal WIFI network, utilize various access terminals to carry out controlled in wireless to switch electric appliances product (as: light fixture, curtain, air-conditioning, electric cooker etc.), the basic function of Smart Home can be realized easily.
But existing wireless switch controller is turn infrared by WIFI network or the mode of radio frequency carrys out control apparatus mostly, the advantage of WIFI network can not be given full play to so on the one hand, make whole circuit more complicated on the other hand.
Utility model content
The technical problems to be solved in the utility model is, a kind of WIFI on-off controller is provided, comprise antenna, WIFI module, single-chip microcomputer, relay, described antenna is connected with described WIFI module, described relay is connected with described single-chip microcomputer, and described single-chip microcomputer is connected with described WIFI module by power driving circuit.This WIFI on-off controller directly carrys out control apparatus by WIFI network, need not turn infrared or RF-wise controls by WIFI network, make control circuit more succinct, control more efficient; Simultaneously between single-chip microcomputer and WIFI module, be provided with switch power source driving circuit, make single-chip microcomputer optionally for WIFI module and power thus reach the object of power saving.
In order to reach above-mentioned technique effect, the concrete technical scheme that the utility model provides is:
A kind of WIFI on-off controller, comprise antenna, WIFI module, single-chip microcomputer, relay, described WIFI module comprises antenna end, feeder ear, earth terminal, data signal end, clock end, command signal end; Described single-chip microcomputer comprises power drives end, data signal end, clock end, command signal end, relay end; Described antenna is connected with the antenna end of described WIFI module, the data signal end of described WIFI module is connected with the data signal end of described single-chip microcomputer, the clock end of described WIFI module is connected with the clock end of described single-chip microcomputer, the command signal end of described WIFI module is connected with the command signal end of described single-chip microcomputer, the earth terminal ground connection of described WIFI module, the relay end of described single-chip microcomputer is connected with described relay, and the feeder ear of described WIFI module is connected with the power drives end of described single-chip microcomputer by switch power source driving circuit; Described switch power source driving circuit comprises resistance 12, resistance 13, triode one, triode two, one end of described resistance 12 and one end of resistance 13 are connected to form link one, the other end of described resistance 12 is connected with the base stage of triode one, the other end of described resistance 13 is connected with the base stage of triode two, the collector of described triode one and the collector of triode two are connected to form link two, and the emitter of described triode one is connected power supply respectively with the emitter of triode two; Described link one is connected with the power drives end of described single-chip microcomputer, and described link two is connected with the feeder ear of described WIFI module.
Preferred as such scheme, described WIFI module also comprises WIFI interface, described WIFI interface comprises power supply interface, ground interface, data signal interfaces, command signal interface, clock interface, described power supply interface is connected with the feeder ear of described WIFI module, described ground interface ground connection, described data signal interfaces is connected with the data signal end of described WIFI module, described command signal interface is connected with the command signal end of described WIFI module, described clock interface is connected with the clock end of described WIFI module, described single-chip microcomputer is connected with described WIFI module by corresponding interface.
Preferred as such scheme, described relay comprises photoelectrical coupler, the single-pole double-throw switch (SPDT) of electrical connection, and one end of described photoelectrical coupler is connected with the relay end of described single-chip microcomputer.
Preferred as such scheme, also comprise networking status indicator lamp, described networking state index lamp is located between the feeder ear of described WIFI module and described switch power source driving circuit.
Preferred as such scheme, described WIFI module also comprises filtering end, and described filtering end is connected with filtering circuit, and described filtering circuit is made up of shunt capacitance.
Preferred as such scheme, described single-chip microcomputer also wraps vibration end, reset terminal, download start-up circuit end, redials end, and described vibration end is connected with crystal oscillator oscillatory circuit, and described reset terminal is connected with reset circuit, described download start-up circuit end is connected with start-up circuit, described in redial end and be connected with and redial circuit.
Preferred as such scheme, described single-chip microcomputer also comprises execution and arranges end, and described execution arranges end and is connected with keyboard, and described keyboard comprises and adds key, on & off switch, mode key, options button, subtracts key.
Accompanying drawing explanation
Fig. 1 is the circuit diagram of the WIFI module in a kind of WIFI on-off controller of providing of the utility model;
Fig. 2 is the circuit diagram of the single-chip microcomputer in a kind of WIFI on-off controller of providing of the utility model;
Fig. 3 is the circuit diagram of the relay in a kind of WIFI on-off controller of providing of the utility model;
Fig. 4 is the schematic diagram of WIFI interface.
Embodiment
Be described below in detail embodiment of the present utility model, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the utility model, and can not being interpreted as restriction of the present utility model.
In description of the present utility model, it will be appreciated that, orientation or the position relationship of the instruction such as term " " center ", " on ", D score, "front", "rear", "left", "right", " vertically ", " level ", " top ", " end " " interior ", " outward " they be based on orientation shown in the drawings or position relationship; be only the utility model and simplified characterization for convenience of description; instead of instruction or imply the device of indication or element must have specific orientation, with specific azimuth configuration and operation, therefore can not be interpreted as restriction of the present utility model.
In description of the present utility model, it should be noted that, unless otherwise clearly defined and limited, term " installation ", " being connected ", " setting " should be interpreted broadly, and such as, can be fixedly linked, arrange, also can be removably connect, arrange, or connect integratedly, arrange.For the ordinary skill in the art, concrete condition the concrete meaning of above-mentioned term in the utility model can be understood.
As shown in Figure 1-Figure 3, the utility model provides a kind of WIFI on-off controller, comprises
(1) antenna, described antenna employing model is the ceramic antenna (hereinafter referred to as AN-9520) of AN-9520;
(2) WIFI module, the model of described WIFI module is USI-WIFI-MR89, described model is that the WIFI module (think and be called for short USI-WIFI-MR89) of USI-WIFI-MR89 has 36 pins, be respectively pin one ~ pin 36, wherein pin pin two is antenna end, pin 16 is feeder ear, pin one, three, eight, 19,26 is earth terminal, pin five, 12,21,22 is data signal end, pin 14 is clock end, pin 20 is command signal end, and pin 27,28 is filtering end; Pin one, three, eight, 19,26 ground connection; Pin two is connected by resistance R18 and AN-9520, and the two ends of described resistance R18 are connected with one end of electric capacity C11, C12 respectively, and the other end of electric capacity C11, C12 is connected and ground connection; Pin nine, by electric capacity C13 ground connection, accesses 3.3V voltage between described pin nine and electric capacity C13; Pin 17 is by electric capacity C4 ground connection; Pin 18 is by electric capacity C15 ground connection; Pin 23 is by resistance R22 ground connection; Pin 24 is by resistance R21 ground connection; Pin 25 is connected with one end of electric capacity 16,17 respectively, the other end ground connection of electric capacity 16,17; Electrochemical capacitor EC1 is in parallel with electric capacity 18 forms filtering circuit, and the connected end that pin 27,28 is connected to form is connected with one end of described filtering circuit, the other end ground connection of described filtering circuit; Pin 31 connect with resistance 20, resistance 23, LED D4 after ground connection;
(3) single-chip microcomputer, the model of described single-chip microcomputer is STM32F103RET6, described model is that the single-chip microcomputer (hereinafter referred to as STM32F103RET6) of STM32F103RET6 has 64 pins, be respectively pin one ~ pin 64, wherein pin 33 is power drives end, pin 39, 40, 51, 52 is data signal end, pin 53 is clock end, pin 54 is command signal end, pin 20 is relay end, pin five, six is vibration end, pin seven is reset terminal, pin 60 is for downloading start-up circuit end, pin 35 is for redialing end, pin five-way crosses electric capacity C1 ground connection, and pin six is by electric capacity C2 ground connection, and one end of crystal oscillator Y1 is connected with pin five, the other end is connected with pin six, and described electric capacity C1, electric capacity C2, crystal oscillator Y1 form crystal oscillator oscillatory circuit, pin 60 is by resistance R1 ground connection, and one end of switch S 1 is connected with pin 60, the other end passes through resistance R2 ground connection, and resistance R1, switch S 1, resistance R2 form start-up circuit, pin seven is by resistance R3 ground connection, and one end of electric capacity C3 is connected with pin seven, other end ground connection, and one end of switch S 2 is connected with pin seven, other end ground connection, and resistance R3, electric capacity C3, switch S 2 form reset circuit, pin one connects 3.3V voltage, pin 32,48,64,19 connects 3.3V voltage, pin 31,47,63,18 ground connection, one end of electric capacity C6, C7, C8, C9 is connected with pin 32,48,64,19 respectively, the other end ground connection respectively of electric capacity C6, C7, C8, C9, one termination 3.3V voltage of pin 13, pin 12 ground connection, one end of electric capacity C4, C5 is connected with pin 13 respectively, the other end ground connection of electric capacity C4, C5, pin 30 five-way is crossed resistance R11 and is connect 3.3V voltage, and pin 30 five-way crosses switch S 3 ground connection, and resistance R11 and switch S 3 form and redial circuit,
(4) relay, described relay comprises the PC817 photoelectrical coupler (hereinafter referred to as PC817) of electrical connection, single-pole double-throw switch (SPDT) K1, the pin one of described PC817 connects 5V voltage by resistance R15, the pin two of described PC817 is by LED D1, the pin 20 of resistance R14 and STM32F103RET6 is connected, the pin three of described PC817 is connected with one end of single-pole double-throw switch (SPDT) K1 by resistance R17, one end of electric capacity C10 is connected with one end of single-pole double-throw switch (SPDT) K1, other end ground connection, the negative pole of diode D2 is connected with one end of single-pole double-throw switch (SPDT) K1, the other end is connected with the other end of single-pole double-throw switch (SPDT) K1, the pin four of described PC817 is connected with the base stage of triode Q3 by resistance R16, the grounded emitter of described triode Q3, the collector of described triode Q3 is connected with the other end of single-pole double-throw switch (SPDT) K1,
The pin five of described USI-WIFI-MR89 is connected with the pin 40 of described STM32F103RET6, the pin 12 of described USI-WIFI-MR89 is connected with the pin 52 of described STM32F103RET6, the pin 14 of described USI-WIFI-MR89 is connected with the pin 53 of described STM32F103RET6, the pin 20 of described USI-WIFI-MR89 is connected with the pin 54 of described STM32F103RET6, the pin 21 of described USI-WIFI-MR89 is connected with the pin 39 of described STM32F103RET6, the pin 22 of described USI-WIFI-MR89 is connected with the pin 51 of described STM32F103RET6, the pin 16 of USI-WIFI-MR89 is connected with the pin 33 of described STM32F103RET6 by switch power source driving circuit, described switch power source driving circuit comprises resistance 12 R12, resistance 13 R13, triode one Q1, triode two Q2, one end of described resistance 12 R12 and one end of resistance 13 R13 are connected to form link one, the other end of described resistance 12 R12 is connected with the base stage of triode one Q1, the other end of described resistance 13 R13 is connected with the base stage of triode two Q2, the collector of described triode one Q1 and the collector of triode two Q2 are connected to form link two, the emitter of described triode one Q1 is connected 3.3V voltage respectively with the emitter of triode two Q2, described link one is connected with the pin 33 of described STM32F103RET6, and described link two is connected with the pin 16 of described USI-WIFI-MR89.
The WIFI on-off controller that the utility model provides directly carrys out control apparatus by WIFI network, need not turn infrared or RF-wise controls by WIFI network, make control circuit more succinct, control more efficient; Simultaneously between single-chip microcomputer and WIFI module, be provided with switch power source driving circuit, make single-chip microcomputer optionally for WIFI module and power thus reach the object of power saving.
Further, described WIFI module also comprises WIFI interface, as shown in Figure 4, this WIFI interface comprises ten interfaces, is respectively interface one ~ interface ten, and described interface one, interface two, interface seven, interface eight are data signal interfaces, described interface three, interface six, interface ten are ground interface, described interface four is clock interface, and described interface five is power supply interface, and described interface nine is command signal interface, described interface one is connected with the pin five of described USI-WIFI-MR89, described interface two is connected with the pin 21 of described USI-WIFI-MR89, described interface three, interface six, interface ten ground connection, described interface four is connected with the pin 14 of described USI-WIFI-MR89, described interface nine is connected with the pin 20 of described USI-WIFI-MR89, described interface eight is connected with 12 of described USI-WIFI-MR89, described interface seven is connected with the pin 22 of described USI-WIFI-MR89, described STM32F103RET6 is connected with described USI-WIFI-MR89 by corresponding interface, as as described in STM32F103RET6 pin 40 by the interface one of WIFI module with as described in the pin five of USI-WIFI-MR89 be connected.By arranging WIFI interface, can grafting more easily with replacing for being connected the line between STM32F103RET6 and USI-WIFI-MR89.
Further, the pin 16 of described USI-WIFI-MR89 is connected with networking status indicator lamp D3, the pin 16 of described USI-WIFI-MR89 is connected with the link two of described switch power source driving circuit by resistance R19, LED D3.
Further, described STM32F103RET6 also comprises pin nine, ten, 11,24,25, pin nine, ten, 11,24,25 is that the execution of single-chip microcomputer arranges end, be specially: pin nine is used for that setting adds, pin ten is used for arranging switch, pin 12 is used for the pattern that arranges, pin 24 is used for arranging selection, pin 25 is used for setting and subtracts, pin nine, ten, 11,24,25 and corresponding keyboard connect, and keyboard should be mutually add key, on & off switch, mode key, options button, subtract key.
Although illustrate and described embodiment of the present utility model, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present utility model and aim, scope of the present utility model is by claim and equivalents thereof.

Claims (7)

1. a WIFI on-off controller, is characterized in that, comprises antenna, WIFI module, single-chip microcomputer, relay, and described WIFI module comprises antenna end, feeder ear, earth terminal, data signal end, clock end, command signal end; Described single-chip microcomputer comprises power drives end, data signal end, clock end, command signal end, relay end; Described antenna is connected with the antenna end of described WIFI module, the data signal end of described WIFI module is connected with the data signal end of described single-chip microcomputer, the clock end of described WIFI module is connected with the clock end of described single-chip microcomputer, the command signal end of described WIFI module is connected with the command signal end of described single-chip microcomputer, the earth terminal ground connection of described WIFI module, the relay end of described single-chip microcomputer is connected with described relay, and the feeder ear of described WIFI module is connected with the power drives end of described single-chip microcomputer by switch power source driving circuit; Described switch power source driving circuit comprises resistance 12, resistance 13, triode one, triode two, one end of described resistance 12 and one end of resistance 13 are connected to form link one, the other end of described resistance 12 is connected with the base stage of triode one, the other end of described resistance 13 is connected with the base stage of triode two, the collector of described triode one and the collector of triode two are connected to form link two, and the emitter of described triode one is connected power supply respectively with the emitter of triode two; Described link one is connected with the power drives end of described single-chip microcomputer, and described link two is connected with the feeder ear of described WIFI module.
2. WIFI on-off controller according to claim 1, it is characterized in that, described WIFI module also comprises WIFI interface, described WIFI interface comprises power supply interface, ground interface, data signal interfaces, command signal interface, clock interface, described power supply interface is connected with the feeder ear of described WIFI module, described ground interface ground connection, described data signal interfaces is connected with the data signal end of described WIFI module, described command signal interface is connected with the command signal end of described WIFI module, described clock interface is connected with the clock end of described WIFI module, described single-chip microcomputer is connected with described WIFI module by corresponding interface.
3. WIFI on-off controller according to claim 1 and 2, is characterized in that, described relay comprises photoelectrical coupler, the single-pole double-throw switch (SPDT) of electrical connection, and one end of described photoelectrical coupler is connected with the relay end of described single-chip microcomputer.
4. WIFI on-off controller according to claim 3, is characterized in that, also comprises networking status indicator lamp, and described networking state index lamp is located between the feeder ear of described WIFI module and described switch power source driving circuit.
5. WIFI on-off controller according to claim 3, is characterized in that, described WIFI module also comprises filtering end, and described filtering end is connected with filtering circuit, and described filtering circuit is made up of shunt capacitance.
6. the WIFI on-off controller according to claim 4 or 5, it is characterized in that, described single-chip microcomputer also wraps vibration end, reset terminal, download start-up circuit end, redials end, described vibration end is connected with crystal oscillator oscillatory circuit, described reset terminal is connected with reset circuit, described download start-up circuit end is connected with start-up circuit, described in redial end and be connected with and redial circuit.
7. WIFI on-off controller according to claim 6, is characterized in that, described single-chip microcomputer also comprises execution and arranges end, and described execution arranges end and is connected with keyboard, and described keyboard comprises and adds key, on & off switch, mode key, options button, subtracts key.
CN201520029835.XU 2015-01-16 2015-01-16 A kind of WIFI on-off controller Expired - Fee Related CN204347533U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201520029835.XU CN204347533U (en) 2015-01-16 2015-01-16 A kind of WIFI on-off controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201520029835.XU CN204347533U (en) 2015-01-16 2015-01-16 A kind of WIFI on-off controller

Publications (1)

Publication Number Publication Date
CN204347533U true CN204347533U (en) 2015-05-20

Family

ID=53230791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201520029835.XU Expired - Fee Related CN204347533U (en) 2015-01-16 2015-01-16 A kind of WIFI on-off controller

Country Status (1)

Country Link
CN (1) CN204347533U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388803A (en) * 2015-10-19 2016-03-09 上海应用技术学院 Double-control switch
RU184073U1 (en) * 2017-04-18 2018-10-15 Айыысхан Иванович Алексеев ROOM AUTOMATION SYSTEM (OPTIONS)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388803A (en) * 2015-10-19 2016-03-09 上海应用技术学院 Double-control switch
RU184073U1 (en) * 2017-04-18 2018-10-15 Айыысхан Иванович Алексеев ROOM AUTOMATION SYSTEM (OPTIONS)

Similar Documents

Publication Publication Date Title
CN201698189U (en) Intelligent household power supply controller
CN204215190U (en) A kind of intelligence singly opens double control switch device
CN103208709B (en) Wireless intelligent socket
CN104407542A (en) Intelligent single-switching double-control switch apparatus and application method thereof
CN204347533U (en) A kind of WIFI on-off controller
CN203101989U (en) Wireless network-based on-off control system
CN103019208A (en) Electronic equipment double control module in smart home
CN207867255U (en) A kind of intelligent things home control device of traditional home appliance
CN108011788A (en) A kind of switch display system based on smart home
CN204141855U (en) A kind of Intelligent controller of electrothermal water heater based on Bluetooth communication
CN210120685U (en) Wireless dimming and color mixing driving circuit compatible with WIFI and Bluetooth functions
CN205809633U (en) Intelligent touch switch
CN207625577U (en) Radio transmission control system based on bluetooth
CN210536961U (en) Mobile phone control type heat control circuit of self-heating outdoor sports wear
CN2901453Y (en) Radio remote switch device for bedside cupboard
CN202995304U (en) Intelligent wall switch
CN205983060U (en) Intelligence cross complaint switch
CN204576140U (en) A kind of three ground gauge tap
CN203242852U (en) Wireless intelligent socket
CN106681215A (en) Intelligent switching control system
CN206639015U (en) A kind of scene controller
CN207854235U (en) Multi-parameter can inquire intelligent light source device
CN204539533U (en) A kind of lamp decoration controlled by smart mobile phone
CN203086433U (en) Radio frequency technology-based intelligent switch
CN104848414A (en) Intelligent temperature controller powered by single live wire

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150520

Termination date: 20160116

EXPY Termination of patent right or utility model