CN110649431A - Socket capable of controlling time-delay switch and using method thereof - Google Patents

Socket capable of controlling time-delay switch and using method thereof Download PDF

Info

Publication number
CN110649431A
CN110649431A CN201910753480.1A CN201910753480A CN110649431A CN 110649431 A CN110649431 A CN 110649431A CN 201910753480 A CN201910753480 A CN 201910753480A CN 110649431 A CN110649431 A CN 110649431A
Authority
CN
China
Prior art keywords
time
chip
atmega
socket
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910753480.1A
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.)
Tongren University
Original Assignee
Tongren University
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 Tongren University filed Critical Tongren University
Priority to CN201910753480.1A priority Critical patent/CN110649431A/en
Publication of CN110649431A publication Critical patent/CN110649431A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6691Structural association with built-in electrical component with built-in electronic circuit with built-in signalling means

Abstract

The invention discloses a socket capable of controlling a time switch, which comprises a mains supply (1) connected with a voltage reduction module (2), wherein the voltage reduction module (2) is connected with an Atmega-328p chip (3), the Atmega-328p chip (3) is connected with a 1602 liquid crystal panel (4), a DS1302 real-time clock module (5) and a connection button (6), the socket also comprises a relay (7), one end of the right side of the mains supply (1) is connected with the Atmega-328p chip (3), the other end of the right side of the mains supply (1) is connected with a socket (8), and pins 9 and 10 of the Atmega-328p chip (3) are connected with a minimum system circuit (9) to ensure that the chip can normally work, so that a complete circuit is formed. The invention utilizes the advantages of Atmega-328p (3) and DS1302 real-time clock module (5), thus adjusting the working time and state of the socket according to the requirements of people, having the advantages of low cost, simple structure, simple use method and the like, achieving intellectualization and energy conservation, and providing great convenience for people.

Description

Socket capable of controlling time-delay switch and using method thereof
Technical Field
The invention relates to the technical field of sockets, in particular to a socket capable of controlling a time switch and a using method thereof.
Background
Along with the continuous development of science and information technology, the improvement of the living standard of people is greatly promoted, and the clothes, food, live and walk of people gradually do not leave the intelligent environment, so that people begin to pay more attention to the intelligent environment and the automation of houses when people design houses, the sockets which are designed by my have the functions of intellectualization and automation by being turned on at regular time and turned off at delayed time, such as charging a mobile phone at night, when people sleep, people forget to pull out the mobile phone, for example, the mobile phone is charged, and if the mobile phone is charged all the time, the mobile phone battery is damaged, the time-delay closing function of the socket can be used for timing closing, and after going out for example, the socket can be used for supplying power to an electric appliance at regular time by using the function of opening the socket at regular time, and therefore, a socket capable of controlling a time delay switch at regular time is provided for solving the problem.
Disclosure of Invention
The invention aims to solve the defects in the prior art and provides a socket capable of controlling a time switch and a using method thereof.
In order to achieve the purpose, the invention adopts the following technical scheme:
a socket capable of controlling a time switch is designed, and comprises a mains supply 1, wherein the mains supply 1 is connected with a voltage reduction module 2, the voltage reduction module 2 is connected with an Atmega-328p chip 3, the Atmega-328p chip 3 is connected with a 1602 liquid crystal panel 4, a DS1302 real-time clock module 5 and a connection button 6, the socket further comprises a relay 7, one end of the right side of the mains supply 1 is connected with the Atmega-328p chip 3, the other end of the mains supply 1 is connected with a socket 8, and pins 9 and 10 of the Atmega-328p chip are connected with a minimum system circuit (9), so that the chips can normally work, and a complete circuit is formed.
The invention also provides a use method of the socket design capable of controlling the time switch, which comprises the following steps:
1) and electrifying: the voltage-reducing module is connected to a mains supply 1 through a plug, and then the voltage of 220V is reduced to a 5V direct-current power supply, and then the chip is powered;
2) and timing on: firstly, pressing a button to enable the DS1302 real-time clock module 5 to enter a timing on state, then entering a minute and hour adjusting state according to requirements, if a socket needs to be opened in a short time, pressing the button for a long time to enable the DS1302 real-time clock module 5 to enter the minute adjusting state, then pressing the button for a short time for one minute, accumulating in the way, if the socket needs to be opened in a long time, pressing the button for a long time again to enable the DS1302 real-time clock module 5 to enter the hour adjusting state, and then pressing the button for a short time for one hour, and accumulating in the way;
3) and time delay closing: sometimes, the preset time is up, but the expectation is not reached, the time needs to be delayed, at the moment, two buttons are pressed down continuously to enable the DS1302 real-time clock module 5 to enter a delayed closing state, the state is entered into a minute and hour state according to the requirement, and the time is modulated by pressing the buttons after the state is entered into the hour or minute state;
4) and outputting a signal: the Atmega-328p chip 3 adjusts time through a button according to the requirements of people, and then a signal received by the Atmega-328p chip 3 is sent to the relay 7;
5) receiving signals: the relay 7 judges the on and off of the socket by receiving the signal sent by the Atmega-328p chip 3.
The invention provides a socket capable of controlling a time switch and a using method thereof, which has the advantages that: the invention utilizes the advantages of the Atmega-328p chip 3 and the DS1302 real-time clock module 5, so that the working time and state of the socket can be adjusted according to the requirements of people, and the invention has the advantages of low cost, simple structure, simple use method and the like, achieves the intellectualization and energy conservation, and provides great convenience for people.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic structural diagram of a socket capable of performing timed on-off delay switch control according to the present invention.
In the figure: 1-is commercial power, 2-is a voltage reduction module, 3-is an Atmega-328p chip, 4-is a 1602 liquid crystal panel, 5-is a DS1302 real-time clock module, 6-is a button, 7-is a relay, 8-is a socket and 9-is a minimum system circuit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
The structural features of the present invention will now be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a socket capable of controlling a time switch, comprising a mains supply 1, a voltage reducing module 2 connected with the mains supply 1, a Atmega-328p chip 3 connected with the voltage reducing module 2, a 1602 liquid crystal panel 3 connected with the Atmega-328p chip 3, a DS1302 real-time clock module 5, a connection button 6, a relay 7, a minimum system circuit (9) connected with pins 9 and 10 of the Atmega-328p chip 3 and a socket 8 at the other end of the Atmega-328p chip, wherein the chip can work normally, so that a complete circuit is formed.
In the invention, the voltage reduction module 2 converts the common voltage 220V into a 5V direct current power supply to supply power to the Atmega-328p chip 3, at the moment, the Atmega-328p chip 3 can supply power to the 1602 liquid crystal panel 4, the DS1302 real-time clock module 5 and the button 6, the time is adjusted by the button 6 according to the requirements of people, the liquid crystal panel 1602 displays the adjusted time, the DS1302 real-time clock module 5 sends a signal to the Atmega-328p chip 3 after the time is adjusted by the button 6 and then is timed, and the Atmega-328p chip 3 sends a signal to the relay 7, and the relay 7 realizes the on-off of the socket through the sent signal.
Wherein, the Atmega-328p chip 3 is connected with the 1602 liquid crystal panel 4, the DS1302 real-time clock module 5 and the button 6 to form a control circuit.
The invention also provides a use method of the socket design capable of controlling the time switch, which comprises the following steps:
1. electrifying: the voltage-reducing module is connected to a mains supply 1 through a plug, and then the voltage of 220V is reduced to a 5V direct-current power supply, and then the chip is powered;
2. timing on: firstly, pressing a button to enable the DS1302 real-time clock module 5 to enter a timing on state, then entering a minute and hour adjusting state according to requirements, if a socket needs to be opened in a short time, pressing the button for a long time to enable the DS1302 real-time clock module 5 to enter the minute adjusting state, then pressing the button for a short time for one minute, accumulating in the way, if the socket needs to be opened in a long time, pressing the button for a long time again to enable the DS1302 real-time clock module 5 to enter the hour adjusting state, and then pressing the button for a short time for one hour, and accumulating in the way;
3. and (3) delayed closing: sometimes, the preset time is up, but the expectation is not reached, the time needs to be delayed, at the moment, two buttons are pressed down to enable the DS1302 real-time clock module 5 to enter a delayed closing state, the state enters a minute and hour state according to the requirement, and the time is modulated by pressing the buttons after the state enters the hour or minute state;
4. outputting a signal: the Atmega-328p chip 3 adjusts time through a button according to the requirements of people, and then a signal received by the Atmega-328p chip 3 is sent to the relay 7;
5. receiving signals: the relay 7 judges the on and off of the socket by receiving the signal sent by the Atmega-328p chip 3.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (2)

1. The utility model provides a socket that can carry out time switch time delay switch control, including commercial power (1), its characterized in that, commercial power (1) is connected step-down module (2), Atmega-328p chip (3) is connected in step-down module (2), Atmega-328p chip (3) are connected 1602 liquid crystal board (4), DS1302 real-time clock module (5) and connection button (6), still include a relay (7), Atmega-328p chip (3) are connected to commercial power (1) right side one end, socket (8) are connected to the other end, 9 of Atmega-328p chip (3), minimum system circuit (9) are connected to No. 10 pin, guarantee that the chip can normal work, just so constituted complete circuit.
2. The invention discloses a use method of a socket design capable of controlling a time switch delay switch according to claim 1, which is characterized by comprising the following steps:
1) and electrifying: the voltage-reducing module is connected to a mains supply through a plug, and then the voltage of 220V is reduced to a 5V direct-current power supply, and then the chip is supplied with power;
2) and timing on: firstly, pressing a button to enable a DS1302 real-time clock module (5) to enter a timing on state, then entering a minute and hour adjusting state according to requirements, if a socket needs to be opened in a short time, pressing the button for a long time to enable the DS1302 real-time clock module (5) to enter the minute adjusting state, then pressing the button for a short time for one minute, accumulating in the way, if the socket needs to be opened in a long time, pressing the button for a long time again to enable the DS1302 real-time clock module (5) to enter the hour adjusting state, and then pressing the button for a short time for one hour, and accumulating in the way;
3) and time delay closing: sometimes, the preset time is up, but the expectation is not reached, the time is needed to be delayed, at the moment, two buttons are pressed down continuously to enable the DS1302 real-time clock module to enter a delayed closing state, the DS1302 real-time clock module enters a minute and hour state according to requirements, and the time is modulated by pressing the buttons after the DS1302 real-time clock module enters the hour or minute state;
4) and outputting a signal: the Atmega-328p chip (3) adjusts time through a button according to the requirements of people, and then signals received by the Atmega-328p chip (3) are sent to the relay (7);
5) receiving signals: the relay (7) judges the on and off of the socket by receiving a signal sent by the Atmega-328p chip (3).
CN201910753480.1A 2019-08-15 2019-08-15 Socket capable of controlling time-delay switch and using method thereof Pending CN110649431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910753480.1A CN110649431A (en) 2019-08-15 2019-08-15 Socket capable of controlling time-delay switch and using method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910753480.1A CN110649431A (en) 2019-08-15 2019-08-15 Socket capable of controlling time-delay switch and using method thereof

Publications (1)

Publication Number Publication Date
CN110649431A true CN110649431A (en) 2020-01-03

Family

ID=69009642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910753480.1A Pending CN110649431A (en) 2019-08-15 2019-08-15 Socket capable of controlling time-delay switch and using method thereof

Country Status (1)

Country Link
CN (1) CN110649431A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111634175A (en) * 2020-05-19 2020-09-08 铜仁学院 Design method for realizing temperature control and demisting system in vehicle by utilizing single chip microcomputer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130091410A (en) * 2012-02-08 2013-08-19 경기과학기술대학교 산학협력단 Plug receptacle for saving electric power
CN109361209A (en) * 2018-10-24 2019-02-19 国网天津市电力公司电力科学研究院 A kind of device and method being automatically stopped office electricity consumption
CN208568846U (en) * 2018-07-17 2019-03-01 广州新益检验认证技术有限公司 A kind of on-off system suitable for household electrical appliance detection

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130091410A (en) * 2012-02-08 2013-08-19 경기과학기술대학교 산학협력단 Plug receptacle for saving electric power
CN208568846U (en) * 2018-07-17 2019-03-01 广州新益检验认证技术有限公司 A kind of on-off system suitable for household electrical appliance detection
CN109361209A (en) * 2018-10-24 2019-02-19 国网天津市电力公司电力科学研究院 A kind of device and method being automatically stopped office electricity consumption

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
成玉梅: "基于ATMEGA8单片机的智能定时节能插座的设计", 《新课程研究(中旬刊)》 *
魏宁宇: "基于AT89S52单片机控制的电器定时插座的设计", 《信息通信》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111634175A (en) * 2020-05-19 2020-09-08 铜仁学院 Design method for realizing temperature control and demisting system in vehicle by utilizing single chip microcomputer

Similar Documents

Publication Publication Date Title
CN201307685Y (en) Intelligent power socket based on short message service (SMS) control
CN105610011B (en) A kind of Intelligent energy-saving socket and method by terminal device Bluetooth control
CN106948670A (en) A kind of method powered based on mobile phone standard OTG functions to door lock
CN202183906U (en) Automatic load judging circuit of lamp remote controlled receiving controller
CN203258794U (en) Low-standby-power-consumption air conditioner intelligent control system
CN110649431A (en) Socket capable of controlling time-delay switch and using method thereof
CN105305171A (en) Remote-controlled intelligent socket
CN204205197U (en) A kind of supply socket with long-distance intelligent control
CN201860002U (en) Intelligent socket
CN202678646U (en) Intelligent socket
CN106707891B (en) A kind of remote control reception and key response circuit of extremely low power dissipation
CN104320117A (en) Infrared induction air-conditioning switch control device
CN202333342U (en) Intelligent energy-saving socket
CN202710980U (en) Energy-saving infrared remote control and manual dual-purpose switch
CN104124766A (en) Wireless power transmission system, receiving end, transmitting end and wake method thereof
CN202034805U (en) Charging time controller system of electric vehicle
CN111969985A (en) Intelligent single-live-wire switch power-on method based on delay reset
CN207164696U (en) A kind of low-power dissipation power supply
CN212064463U (en) Illumination control energy-saving device based on network and WIFI signal transmission
CN205355430U (en) Intelligent socket
CN212061424U (en) Circuit control system based on wireless communication
CN204680869U (en) A kind of intelligent power socket
CN204046875U (en) Intelligent lighting purifying control system
CN110212380B (en) Low-energy-consumption intelligent socket
CN204011991U (en) Remote control terminal block

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200103

RJ01 Rejection of invention patent application after publication