CN218161096U - Socket control circuit module - Google Patents

Socket control circuit module Download PDF

Info

Publication number
CN218161096U
CN218161096U CN202221804272.3U CN202221804272U CN218161096U CN 218161096 U CN218161096 U CN 218161096U CN 202221804272 U CN202221804272 U CN 202221804272U CN 218161096 U CN218161096 U CN 218161096U
Authority
CN
China
Prior art keywords
module
socket
control circuit
single chip
chip microcomputer
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
CN202221804272.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.)
Meizhou Maker Workshop Technology Co ltd
Original Assignee
Meizhou Maker Workshop 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 Meizhou Maker Workshop Technology Co ltd filed Critical Meizhou Maker Workshop Technology Co ltd
Priority to CN202221804272.3U priority Critical patent/CN218161096U/en
Application granted granted Critical
Publication of CN218161096U publication Critical patent/CN218161096U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The utility model provides a socket control circuit module, which comprises a singlechip module, a Bluetooth module, a data acquisition module, a key module and a first relay; it carries out data acquisition through the TTL serial ports communication that adopts data acquisition module of socket control circuit module in this application, adopts single chip module to carry out data processing, adopts OLED to carry out data display and realizes that external equipment (cell-phone) link to each other with the socket through bluetooth module, realizes opening and closing of control relay to the realization is to the control of whole socket circuit, also can realize controlling the circuit break-make of socket promptly under no network environment.

Description

Socket control circuit module
Technical Field
The utility model relates to an intelligent socket technical field, concretely relates to socket control circuit module.
Background
In the aspect of safety, the number of electrical appliances in each household is increased, and a plurality of electrical appliances simultaneously work to cause a large burden on household circuits, so that the safety problems such as open circuit, short circuit and the like are easily caused; in the aspect of energy consumption, when the power supply of the electric appliance is not completely turned off in time, standby power consumption is wasted, and the like, so that the consumption of household energy is increased rapidly, and a large amount of energy is wasted. In addition, the service life of the electric appliance is greatly shortened, and certain economic loss and waste are brought to users.
With the development of times trend, intelligent sockets based on the internet of things technology, such as small-tube house intelligent sockets, science brand intelligent sockets, bo-Bi intelligent sockets and other brand sockets, appear in the market. The intelligent socket is generally controlled by an intelligent chip based on WIFI and external equipment (terminals such as mobile phones), as long as a wireless router is arranged around a user, the socket can automatically find a network and can be used by connecting with the WiFi, the user only needs to input a connection password and controls the socket to be powered on or off through the mobile phone. However, in some usage environments where there is no network or a network failure, the socket cannot be effectively controlled.
Disclosure of Invention
To the defect that exists among the prior art, the utility model aims to provide a socket control circuit module aims at solving the problem that current socket can't link to each other with external equipment under no network environment.
In order to solve the technical problem, the technical scheme adopted by the application is as follows:
the embodiment of the application provides a socket control circuit module, control circuit module sets up on the socket, control circuit module includes:
the single chip microcomputer module comprises four eight-bit parallel I/O ports, and the four I/O ports are P1, P2, P3 and P4 ports;
the Bluetooth module is connected with the single chip microcomputer module;
the data acquisition module is electrically connected with the single chip microcomputer module and used for sending acquired load parameter signals into the single chip microcomputer module, wherein the load parameters are an alternating current voltage value, an alternating current value and an electric power value on a socket line;
the key module is electrically connected with the P2 port in the singlechip module and is used for adjusting the parameter value in the singlechip module;
the first relay is arranged in a circuit of the socket and is electrically connected with a P3 port in the single chip microcomputer module.
Furthermore, the control circuit module still includes the OLED display screen, the OLED display screen with P2 mouth electrical property in the single chip module links to each other for to the load parameter that data acquisition module gathered shows.
Furthermore, the control circuit module further comprises a second relay, the second relay is electrically connected with the plug circuit of the socket, and the second relay is electrically connected with the P3 port in the single chip microcomputer module.
Furthermore, the control circuit module further comprises a buzzer, and the buzzer is electrically connected with the P1 port of the single chip microcomputer module.
The utility model has the advantages that: it carries out data acquisition through the TTL serial ports communication that adopts data acquisition module to socket control circuit module in this application, adopts single chip module to carry out data processing, adopts OLED to carry out data display and realizes through bluetooth module that external equipment (cell-phone) links to each other with the socket, realizes opening and closing of control relay to the realization is to the control of whole socket circuit, also can realize controlling the circuit break-make of socket promptly under no network environment.
Drawings
Fig. 1 is a block diagram illustrating a structural principle of a socket control circuit module in an embodiment of the present application.
Fig. 2 is a schematic diagram of a single chip module package in the embodiment of the present application.
Fig. 3 is a schematic diagram of an OLED display panel package in an embodiment of the present application.
Fig. 4 is a schematic diagram of an OLED display screen connected to a single chip module in the embodiment of the present application.
Fig. 5 is a functional schematic diagram of a data acquisition module in an embodiment of the present application.
Fig. 6 is a schematic diagram of a first relay package in an embodiment of the present application.
Fig. 7 is a schematic diagram of a second relay package in the embodiment of the present application.
Fig. 8 is a schematic structural diagram of the connection between the first relay and the second relay and the single chip module in the embodiment of the present application.
Fig. 9 is a schematic structural diagram of a key module in an embodiment of the present application.
Fig. 10 is a schematic structural diagram of the connection between the key module and the single chip microcomputer module in the embodiment of the present application.
Fig. 11 is a schematic structural diagram of the connection between the buzzer and the single chip microcomputer module in the embodiment of the application.
Fig. 12 is a schematic structural diagram of the connection between the bluetooth module and the single chip module in the embodiment of the present application.
In the figure:
1-single chip microcomputer module, 2-Bluetooth module, 3-data acquisition module, 4-first relay, 5-key module, 6-second relay, 7-OLED display screen, 8-buzzer.
Detailed Description
The present invention will be described in further detail with reference to the drawings and the following detailed description.
Referring to fig. 1, an embodiment of the present application provides a socket control circuit module, where the socket control circuit module is disposed on a socket and is used for implementing control connection between an external device (a mobile phone) and the socket.
Socket control current module in this application embodiment includes single chip module 1, bluetooth module 2, data acquisition module 3, button module 5, first relay 4, second relay 6, bee calling organ 8 and OLED display screen 7.
Referring to fig. 2, the single chip microcomputer module 1 in the embodiment of the present application is a single chip microcomputer with the model of STC12C5a60S 2. The STC12C5A60S2 singlechip is a singlechip with a single clock/machine period (1T), and the STC12C5A60S2 singlechip has 4 parallel I/0 ports with 8 bits, almost all of the I/0 ports are multifunctional I/O ports, namely P0, P1, P2 and P3, and each port has 8 corresponding pins; the scattered P4 port has 8 pins, so that the total number of the pins is 40, namely 38I/O ports and two pins of VCC and GND, wherein each I/O can be used as an input or an output independently.
The STC12C5A60S2 single chip microcomputer comprises a Central Processing Unit (CPU), a program memory (Flash), a data memory (SRAM), a timing/counter, a UART serial port, a serial port 2, an I/O interface, high-speed A/D conversion, an SPI interface, PCA, a watchdog, an on-chip R/C oscillator, an external crystal oscillation circuit and other modules.
Referring to fig. 3 and 4, in the embodiment of the present application, the OLED display panel 7, an OLED, i.e., an organic light emitting diode, is also called an organic electroluminescence display. The MOSI data pin of the OLED is named as LCD SDA, the clock pin is named as LCD SCL, the reset pin is named as LCD RST, and the design is provided with a pin LCD DC (in ICC mode, the DC pin is just used for switching write data and commands). Respectively connected with P2.0, P2.1, P2.2 and P2.3 of an STC12C5A60S2 singlechip.
Referring to fig. 5, in the data acquisition module 3 (also called as ac voltage/current power acquisition module) in the embodiment of the present invention, since the data acquisition module 3 in the embodiment is only used for acquiring the circuit load data on the socket, an off-the-shelf ac voltage/current power factor frequency power data acquisition module 3 is used for acquiring data of three measurement values.
Referring to fig. 6 to 8, in the embodiment of the present application, the first relay 4 and the second relay 6 have the same structure, and are isolated by a patch optical coupler, and the maximum load of a normally open interface is ac 250V/10A and dc 30V/10A.
The first relay 4 is connected in the circuit as an analog switch, and when the real-time metering value is equal to or exceeds the set upper limit value, the analog switch of the first relay 4 can be automatically switched off; when in the Bluetooth mode, the relay analog switch can be controlled to be switched off through the mobile phone APP.
The second relay 6 is used for switching, and is connected with the second relay 6 at the position of switching the voltage and current output to charge the mobile phone.
The first relay 4 and the second relay 6 are connected with the STC12C5A60S2 single chip microcomputer in the same way, one VCC is connected with GND, the other VCC is connected with an I/O port, and the VCC and GND are connected with the I/O port and are respectively connected with P3.4 and P3.5 of the STC12C5A60S2 single chip microcomputer.
Referring to fig. 9 and 10, in the embodiment of the present application, the key module 5 employs four independent keys, which employ a common tact switch, and have a model number of B3F4055 and a square-headed pillar appearance. The four keys are arranged in a shape of a Chinese character 'yi', and are sequentially arranged from left to right in a 'setting', 'adding', 'subtracting' and 'switching' mode. The anodes of the four keys are respectively connected with four ports of P2.4, P2.5, P2.6 and P2.7 of the main chip STC12C5A60S2, and the cathodes are grounded.
Referring to fig. 11, the buzzer 8 in the embodiment of the present application is equivalent to an alarm device, and when the detected real-time data value is equal to or exceeds the upper limit value set by the key module 5, an alarm occurs, that is, the buzzer 8 sounds; the buzzer 8 is connected to the P1.0 port of the main chip STC12C5a60S 2.
The positive electrode of the buzzer 8 is connected to a VCC power supply, the emitter E of the triode is connected with the negative electrode of the buzzer 8, and the base B of the triode is controlled to pass through a current-limiting resistor R5 by a pin of a P1.0 port of the singlechip STC12C5A60S 2. When the level output by P1.0 is high, the transistor T1 is turned off, and no current flows through the coil, and the buzzer 8 does not sound. When the level of the P1.0 output is low, the triode is conducted, the current forms a loop, and the buzzer 8 sounds. In the design, the sound production of the buzzer 8 is controlled by the high-low level of the P1.0 output of the STC12C5A60S 2.
Referring to fig. 12, the bluetooth module 2 in the embodiment of the present application is one of the channels through which the circuit of the entire smart socket hardware communicates with the outside, and human-home interaction is achieved.
The singlechip module 1 receives and transmits instructions and data with a Bluetooth regulation serial port assistant on the Android mobile phone through the Bluetooth module 2. The module leads out VCC, GND, TXD, RXD, the 4 pins. The Bluetooth module 2 is provided with an indicator light, and the light is always on after the Bluetooth module is successfully connected with the mobile phone.
It will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (4)

1. A socket control circuit module, the control circuit module being disposed on a socket, the control circuit module comprising:
the single chip microcomputer module comprises four eight-bit parallel I/O ports, and the four I/O ports are P1, P2, P3 and P4 ports;
the Bluetooth module is connected with the single chip microcomputer module;
the data acquisition module is electrically connected with the single chip microcomputer module and used for sending acquired load parameter signals into the single chip microcomputer module, wherein the load parameters are an alternating voltage value, an alternating current value and an electric power value on a socket line;
the key module is electrically connected with the P2 port in the singlechip module and is used for adjusting the parameter value in the singlechip module;
the first relay is arranged in a circuit of the socket and is electrically connected with a P3 port in the single chip microcomputer module.
2. The socket control circuit module of claim 1, further comprising an OLED display screen electrically connected to the P2 port of the single-chip microcomputer module for displaying the load parameters collected by the data collection module.
3. The socket control circuit module according to claim 1 or 2, further comprising a second relay electrically connected to the plug circuit of the socket, the second relay being electrically connected to the P3 port in the single chip module.
4. The socket control circuit module according to claim 3, wherein the control circuit module further comprises a buzzer, and the buzzer is electrically connected with the P1 port of the single chip microcomputer module.
CN202221804272.3U 2022-07-13 2022-07-13 Socket control circuit module Active CN218161096U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202221804272.3U CN218161096U (en) 2022-07-13 2022-07-13 Socket control circuit module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202221804272.3U CN218161096U (en) 2022-07-13 2022-07-13 Socket control circuit module

Publications (1)

Publication Number Publication Date
CN218161096U true CN218161096U (en) 2022-12-27

Family

ID=84593706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202221804272.3U Active CN218161096U (en) 2022-07-13 2022-07-13 Socket control circuit module

Country Status (1)

Country Link
CN (1) CN218161096U (en)

Similar Documents

Publication Publication Date Title
CN105790356B (en) A kind of data line with charging circuit
CN103683348B (en) There is the electronic installation of power consumption detecting function
CN102856741A (en) Multi-channel remote control switch socket
CN106647316A (en) Smart home control system and control method thereof
WO2020103096A1 (en) Charge detection method, charger, and storage medium
CN201142133Y (en) Intelligent switch
CN208384454U (en) Power supply power consumption control circuit and wearable electronic
CN218161096U (en) Socket control circuit module
CN107085379A (en) A kind of intelligent home control system and control method
CN207234790U (en) PoE power supply units
WO2024119709A1 (en) Method for single-chip charging compartment circuit supporting two-way communication of tws earbuds, and device
CN209615525U (en) Intelligent interactive toy robot control system based on STM32 microcontroller
CN217935592U (en) Power failure memory type counting relay
CN206863939U (en) A kind of general bimodulus remote control with self-learning function
CN205232189U (en) Touch circuit
CN212304097U (en) Intelligent power line plug
CN212965358U (en) Broken line detection circuit with load access automatic wake-up function and power bank
CN207337389U (en) A kind of computer monitoring circuit and desktop computer
CN203965892U (en) A kind of appliance switch control device
CN207768914U (en) A kind of muscle electric stimulation weight reducing equipment
CN204256449U (en) A kind of online programming of Intelligent capacitor and debug circuit
CN207232950U (en) Time-sharing multiplex is connected in series circuit
CN100590555C (en) Terminal intelligent control device of domestic background musical system
CN212135517U (en) CC 2530-based intelligent umbrella lock control system circuit
CN217427765U (en) Connection structure of intelligence switch controller and control panel

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant