CN211786653U - Intelligent home system based on single chip microcomputer control - Google Patents

Intelligent home system based on single chip microcomputer control Download PDF

Info

Publication number
CN211786653U
CN211786653U CN201921609569.2U CN201921609569U CN211786653U CN 211786653 U CN211786653 U CN 211786653U CN 201921609569 U CN201921609569 U CN 201921609569U CN 211786653 U CN211786653 U CN 211786653U
Authority
CN
China
Prior art keywords
circuit
chip microcomputer
single chip
control
chip
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
CN201921609569.2U
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.)
Jiangsu University of Technology
Original Assignee
Jiangsu University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu University of Technology filed Critical Jiangsu University of Technology
Priority to CN201921609569.2U priority Critical patent/CN211786653U/en
Application granted granted Critical
Publication of CN211786653U publication Critical patent/CN211786653U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The utility model discloses an intelligent home systems based on single chip microcomputer control. Aiming at the requirements and the method of the intelligent home system, STC89C52 is a core controller, an HX1838 integrated chip is used as a core device, and the core controller is combined with an A/D conversion chip TLC549C to form the requirements of home equipment for medium-remote control and full-automatic intelligent control; time information is automatically generated by using a clock chip DS 1302; reading temperature data is realized by adopting DS18b 20; the conversion of the analog quantity generated by the photoresistor 5537 into a digital quantity is completed by TLC 549C; the current is amplified by using a driving chip ULN2003L so as to drive the controlled household appliance; the relay SRD-05V is used for realizing small current control and large current control, so that the STC89C52 chip is used for controlling the household appliance; the time information and the temperature information are displayed using the liquid crystal display LCD 1602.

Description

Intelligent home system based on single chip microcomputer control
Technical Field
The utility model relates to a carry out long-range infrared remote control to household equipment.
Background
With the rapid development of science and technology and the continuous improvement of the living standard of people, a series of applications using a single chip microcomputer as a control core also continuously enter our lives. Therefore, the smart home system based on the single chip microcomputer control is produced. Based on the 51 single chip microcomputer, the infrared remote control device and the modularized device, the design and the manufacture of the multifunctional and high-performance electronic product are not complicated any more. The utility model discloses use 51 singlechips as main core processor, infrared receiving circuit adopts external clock chip to provide time information for remote end receiving control ware, and the while system carries on a plurality of sensors and still carries on there is LCD.
SUMMERY OF THE UTILITY MODEL
An object of the utility model is to provide an intelligent home systems based on single chip microcomputer control aims at solving and has a large amount of household electrical appliances in the house to the problem of the unable time switch of many, the remote controller of switch, individuality household electrical appliances.
The utility model discloses an intelligent home systems based on single chip microcomputer control, including 51 single chip microcomputer circuit, power supply circuit, infrared receiving circuit, clock circuit, illumination detection circuitry, temperature detection circuitry, AD converting circuit, drive circuit and liquid crystal display circuit: the 51 single chip microcomputer circuit is connected with the power supply circuit and the clock circuit, the infrared receiving circuit is connected with the 51 single chip microcomputer circuit, the illumination detection circuit is connected with the A/D conversion circuit, the temperature detection circuit is connected with the 51 single chip microcomputer circuit, the driving circuit is connected with the 51 single chip microcomputer circuit, and the liquid crystal display circuit is connected with the 51 single chip microcomputer circuit; the 51 single chip microcomputer circuit is connected with a drive chip ULN2003L by STC89C52 to amplify current, and is connected with a relay SRD-05V to realize small current control and large current control; the luminosity acquisition module acquires luminosity analog quantity by using the photoresistor 5537, converts the luminosity analog quantity into digital quantity by using an A/D conversion circuit TLC549C chip and transmits the digital quantity to STC89C 52; the R4 resistor and the photoresistor are connected in parallel to divide voltage, and the obtained analog signal is transmitted to an analog signal input end port of the chip; a capacitor C1 connected between the power supply and the ground filters noise of the power supply; the diode D1 is connected between the TLC549C chip port 2 and a power supply, and the diode D2 is connected between the TLC549C chip port 2 and the ground to serve as a reverse connection protection device.
Furthermore, the infrared remote control system is divided into a transmitting part and a receiving part; the remote control device is composed of a 38KHZ remote controller and an infrared receiving head HX 1838.
Furthermore, the temperature detection circuit adopts a temperature sensor DS18b20 to read temperature data and transmit the temperature data to STC89C 52.
Further, the clock circuit automatically generates time information using the clock chip DS1302 to transmit to the STC89C 52.
Further, the device also comprises a liquid crystal display circuit connected with the 51 singlechip circuit, and displays time information and temperature information by using a Liquid Crystal Display (LCD) 1602.
Furthermore, the power circuit is connected with the 51 singlechip circuit.
The utility model adopts STC89C52 as a core controller, HX1838 integrated chip as a core device, and is combined with an A/D conversion chip TLC549C, and a drive chip ULN2003L is utilized to amplify the current so as to drive the controlled household appliance; the relay SRD-05V is used for realizing small current control and large current control, so that the STC89C52 chip is used for controlling the household appliance; the time information and the temperature information are displayed using the liquid crystal display LCD 1602.
Drawings
FIG. 1 is a general schematic diagram of the design of a 51-chip microcomputer software system.
FIG. 2 is a flow chart of the design of a 51-chip microcomputer software system.
Fig. 3 is a schematic diagram of a 51-chip microcomputer minimum system.
Fig. 4 is a schematic diagram of the infrared remote control principle.
Fig. 5 is a schematic diagram of an infrared receiving circuit.
Fig. 6 is a schematic diagram of a photometric acquisition circuit.
Fig. 7 is a schematic diagram of a relay circuit.
Fig. 8 is a clock circuit schematic.
Fig. 9 is a schematic design diagram of a smart home system based on single-chip microcomputer control.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the following detailed description refers to the accompanying drawings and examples.
FIG. 1 is a general schematic diagram of the design of a 51-chip microcomputer software system. In the whole system, the main controller STC89C52 plays a key role, and the functions of decoding infrared signals, state switching control of household equipment, display interface updating and the like are all completed by the main controller STC89C 52. The design of the STC89C52 software system is mainly divided into five modules: the first is a key mode selection module, and the system can be selected to work in a manual mode or an automatic mode through keys; the second is decoding infrared signals, and a remote control device is formed by a 38KHZ remote controller and an HX1838 infrared receiving head and is used for transmitting and receiving the infrared signals so as to achieve medium and long distance control; the third is a luminosity acquisition module, which acquires luminosity analog quantity by using a photoresistor 5537, converts the luminosity analog quantity into digital quantity by using a chip TLC549C and transmits the digital quantity to STC89C 52; the fourth step is temperature data acquisition, namely, a temperature sensor DS18b20 is utilized to read temperature data and transmit the temperature data to STC89C 52; the fifth step is time information reading, and second, minute, hour, day, week, month and year time information is automatically generated by using a clock chip DS1302 and is transmitted to the singlechip; the sixth is a display module, which displays time information and temperature information by using a Liquid Crystal Display (LCD) 1602; and the seventh module is a household equipment module, a drive chip ULN2003L is used for amplifying current so as to drive the controlled household equipment, and a relay SRD-05V is used for realizing small current control and large current control so as to control the household equipment by a main controller STC89C 52. FIG. 2 is a flow chart of the design of a 51-chip microcomputer software system. The main tasks of the STC89C52 are decoding of infrared signals, state switching control of household equipment, reading of temperature and luminosity information and updating of display interfaces. First, STC89C52 needs to complete the initialization of the system, then read the time, temperature, luminosity and other information, and display the temperature information and the time information on the main interface display. The system then scans the keys for a determination of whether the keys have been pressed. When the manual mode key is pressed, the program starts to read the signal in the infrared receiving circuit, the equipment performs corresponding operation according to the received corresponding infrared signal, and returns to perform cycle operation after the operation is completed. When the automatic mode key is pressed, the working or non-working of the equipment is controlled by judging whether the read temperature information and luminosity information reach the corresponding threshold values, and finally, the equipment returns to carry out the circulating operation after the working or non-working is finished.
Fig. 3 is a schematic diagram of a 51-chip microcomputer minimum system. The main task of the 51-singlechip minimum system is to provide peripheral circuits required by normal work of the chip STC89C 52. Wherein a crystal oscillator of 12MHZ is used to provide the basic clock signal for the system. The independent keys and the resistor and the capacitor are used for forming a reset circuit, so that the circuit can realize power-on reset and key reset.
Fig. 4 is a schematic diagram of the infrared remote control principle. The infrared remote control system is divided into a transmitting part and a receiving part. A remote control device is composed of a 38KHZ remote controller and an HX1838 infrared receiving head. The main component of the infrared emitting part is an infrared light emitting diode. The remote controller mainly comprises a key circuit, a coding system, a modulation circuit, an amplifying circuit, a transmitting circuit and the like. When a certain key is pressed by the remote controller, the coding circuit can generate a corresponding coding signal, then modulation and power amplification are carried out, and finally, the transmitting circuit transmits the signal outwards. The main element of the receiving section is a photodiode. The infrared receiving circuit mainly comprises a receiving circuit, an amplifying circuit, a modulating circuit, a decoding circuit and the like. The receiving circuit modulates and demodulates the signal emitted by the infrared remote controller to restore the signal into the original code emitted by the remote controller, and finally transmits the original code to the singlechip
Fig. 5 is a schematic diagram of an infrared receiving circuit. The main chip of the infrared receiving circuit adopts HX1838, the maximum receiving distance can be about 18 m, and the peripheral circuit of the receiving circuit consists of an R5 current-limiting resistor, an R6 pull-up resistor and a filter capacitor connected between the power supply and the ground.
Fig. 6 is a schematic diagram of a photometric acquisition circuit. The luminosity acquisition circuit mainly selects TLC549C as a chip, the circuit is composed of a photoresistor and an AD conversion chip, and analog signals acquired by the photoresistor are converted into digital signals through the AD converter and sent to the singlechip. The resistor R4 is used to divide the voltage with the light sensitive resistor, and the resulting analog signal is transmitted to the ANLGIN (analog signal input) port of the chip. The capacitor C1 connected between the power supply and ground is used to filter out noise of the power supply and smooth the pulsating dc voltage. Two diodes as reverse connection protection device
Fig. 7 is a schematic diagram of a relay circuit. The relay SRD-05V is adopted to realize small current control and large current control, and further realize that the STC89C52 chip controls the household appliance. It can be seen that there are 3 terminals at Ps, where the 1, 2 ends are normally closed ends and the 1, 3 ends are normally open ends. When the control end of the singlechip supplies high level to the B pole of the triode, the triode Q1 is conducted, the light emitting diode LED1 works, meanwhile, the coil is electrified to generate electromagnetic effect, the relay is attracted, and the 1 end and the 3 end are connected; when the control end of the single chip microcomputer sends low level to the B pole of the triode, the triode Q1 is cut off, no current flows through the coil, no electromagnetic effect is generated, and the 1 end and the 3 end are restored to be in a normally open state. Wherein the D3 diode is also called a depletion diode. When the relay works normally, the diode does not work, a strong reverse electromotive force can be generated on a coil at the moment when the relay is powered off, if the diode is not added, the reverse electromotive force can directly act on the triode, the triode is easy to burn, and the diode is reversely connected in parallel at two ends of the coil to consume the reverse electromotive force.
Fig. 8 is a clock circuit schematic. The clock circuit main chip selects the DS1302, and the chip can automatically generate time information of second, minute, hour, day, week, month and year, and then the time information is read and transmitted by the main control chip STC89C52 to be displayed on the display circuit LCD 1602. The chip is a serial interface real-time clock chip from Dallas corporation, usa. It has two power supplies, one being a main power supply and the other being a backup power supply. Meanwhile, a crystal oscillator of 32.768KHz is externally connected as an external oscillation source of the chip.
Fig. 9 is a schematic design diagram of a smart home system based on single-chip microcomputer control. It mainly introduces some chips needed by system design, and the connection mode between chips and their peripheral circuit construction.

Claims (6)

1. The utility model provides an intelligent home systems based on single chip microcomputer control which characterized in that, includes 51 single chip microcomputer circuit, power supply circuit, infrared receiving circuit, clock circuit, illumination detection circuitry, temperature detection circuitry, AD converting circuit, drive circuit and liquid crystal display circuit: the 51 single chip microcomputer circuit is connected with the power supply circuit and the clock circuit, the infrared receiving circuit is connected with the 51 single chip microcomputer circuit, the illumination detection circuit is connected with the A/D conversion circuit, the temperature detection circuit is connected with the 51 single chip microcomputer circuit, the driving circuit is connected with the 51 single chip microcomputer circuit, and the liquid crystal display circuit is connected with the 51 single chip microcomputer circuit; the 51 single chip microcomputer circuit is connected with a drive chip ULN2003L by STC89C52 to amplify current, and is connected with a relay SRD-05V to realize small current control and large current control; the luminosity acquisition module acquires luminosity analog quantity by using the photoresistor 5537, converts the luminosity analog quantity into digital quantity by using an A/D conversion circuit TLC549C chip and transmits the digital quantity to STC89C 52; the R4 resistor and the photoresistor are connected in parallel to divide voltage, and the obtained analog signal is transmitted to an analog signal input end port of the chip; a capacitor C1 connected between the power supply and the ground filters noise of the power supply; the diode D1 is connected between the TLC549C chip port 2 and a power supply, and the diode D2 is connected between the TLC549C chip port 2 and the ground to serve as a reverse connection protection device.
2. The smart home system based on the single chip microcomputer control according to claim 1, wherein the infrared remote control system is divided into a transmitting part and a receiving part; the remote control device is composed of a 38KHZ remote controller and an infrared receiving head HX 1838.
3. The smart home system based on single-chip microcomputer control of claim 1, wherein the temperature detection circuit reads temperature data by using a temperature sensor DS18b20 and transmits the temperature data to STC89C 52.
4. The smart home system based on single chip microcomputer control of claim 1, wherein the clock circuit automatically generates time information by using the clock chip DS1302 and transmits the time information to the STC89C 52.
5. The smart home system based on single chip microcomputer control of claim 1, further comprising a liquid crystal display circuit connected to the 51 single chip microcomputer circuit, and displaying time information and temperature information using a liquid crystal display LCD 1602.
6. The smart home system based on single-chip microcomputer control of claim 1, wherein the power circuit is connected with a 51-chip microcomputer circuit.
CN201921609569.2U 2019-09-25 2019-09-25 Intelligent home system based on single chip microcomputer control Active CN211786653U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201921609569.2U CN211786653U (en) 2019-09-25 2019-09-25 Intelligent home system based on single chip microcomputer control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201921609569.2U CN211786653U (en) 2019-09-25 2019-09-25 Intelligent home system based on single chip microcomputer control

Publications (1)

Publication Number Publication Date
CN211786653U true CN211786653U (en) 2020-10-27

Family

ID=72934762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201921609569.2U Active CN211786653U (en) 2019-09-25 2019-09-25 Intelligent home system based on single chip microcomputer control

Country Status (1)

Country Link
CN (1) CN211786653U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110568796A (en) * 2019-09-25 2019-12-13 江苏理工学院 Intelligent home system based on single chip microcomputer control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110568796A (en) * 2019-09-25 2019-12-13 江苏理工学院 Intelligent home system based on single chip microcomputer control

Similar Documents

Publication Publication Date Title
CN202134747U (en) Intelligent socket
CN206250502U (en) A kind of smart jack
US9480117B2 (en) Control system for controlling a load via power-line communications
CN201986216U (en) Intelligent LED (light-emitting diode) lighting control device
CN104124692A (en) System and method for controlling off-peak parameter adjustment of electric heating
CN104302052A (en) Family lamplight control panel
CN103542491A (en) Controller of intelligent air-conditioner
CN211786653U (en) Intelligent home system based on single chip microcomputer control
CN102542777A (en) Infrared remote control system and lighting system
CN102800182B (en) Wireless transceiving module and inverter system thereof
CN204948413U (en) Utilize the intelligent illuminating system of sensing technology
CN103645656A (en) Intelligent curtain remote control apparatus
CN205193644U (en) Plant factory control system
CN202709381U (en) Intelligent air-conditioner controller
CN216216526U (en) Display box circuit of sensor module
CN103441753A (en) Wireless card plug-in and power-on device for a room
CN110568796A (en) Intelligent home system based on single chip microcomputer control
CN203870734U (en) Ward calling system
CN202027411U (en) Intelligent electric kettle control device
CN204741115U (en) Row is inserted to intelligent modularization based on time control
CN210954700U (en) Control device of wireless remote control intelligent switch
CN203191518U (en) Key detection circuit combining LED driving and infrared remote control receiving functions
CN203552457U (en) Infrared learning and transmitting module
CN202713717U (en) Master-slave type remote controlled dimmable lamp
CN203249325U (en) Low-power-consumption indoor-temperature controller

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant