CN211509346U - Intelligence lamp control circuit based on singlechip - Google Patents

Intelligence lamp control circuit based on singlechip Download PDF

Info

Publication number
CN211509346U
CN211509346U CN201922066539.8U CN201922066539U CN211509346U CN 211509346 U CN211509346 U CN 211509346U CN 201922066539 U CN201922066539 U CN 201922066539U CN 211509346 U CN211509346 U CN 211509346U
Authority
CN
China
Prior art keywords
pin
resistor
lamp control
control circuit
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.)
Expired - Fee Related
Application number
CN201922066539.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.)
Nanning University
Original Assignee
Nanning 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 Nanning University filed Critical Nanning University
Priority to CN201922066539.8U priority Critical patent/CN211509346U/en
Application granted granted Critical
Publication of CN211509346U publication Critical patent/CN211509346U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The utility model discloses an intelligence lamp control circuit based on singlechip, including power supply circuit, central control module, AD collection module, keying circuit, lamp control circuit, power supply circuit and central control module, AD collection module, keying circuit, lamp control circuit are connected respectively, and central control module and AD collection module, keying circuit, lamp control circuit are connected respectively, have improved controller accuracy and reliability, and control circuit simple structure, the reliability is high, and the application is strong; the software program has wide application range, can realize functions by only changing corresponding functions for different computing formulas, and better simulates the state control of the intelligent lamp during working.

Description

Intelligence lamp control circuit based on singlechip
Technical Field
The utility model relates to an intelligence lamp control circuit based on singlechip.
Background
Along with the development of the times, a series of topics such as energy conservation, environmental protection and health are increasingly concerned by people, and lighting is an essential part of life of people, the annual power consumption of China is 5185.9 gigawatts, wherein the lighting accounts for 12% of the total power consumption, and the annual power consumption continuously increases at a speed of 3.44%, how to better save energy as lighting and the loss of lighting lamps, how to discard residual materials, and how to cause environmental pollution, how to make lighting more environment-friendly? According to statistics, 39.3% of people in China have different degrees of vision problems, and due to the fact that the number of myopia people accounts for about 30% of the total number of myopia people due to incorrect eye using mode, eye using health is more and more emphasized by people.
SUMMERY OF THE UTILITY MODEL
In order to solve the technical problem, the utility model provides an intelligence lamp control circuit based on singlechip.
The utility model discloses a following technical scheme can realize.
The utility model provides a pair of intelligent lamp control circuit based on singlechip, including power supply circuit, central control module, AD collection module, key circuit, lamp control circuit, power supply circuit and central control module, AD collection module, key circuit, lamp control circuit are connected respectively, and central control module is connected respectively with AD collection module, key circuit, lamp control circuit.
The power supply circuit comprises a DC interface DC1, a switch SW1, a resistor R5 and a light emitting diode LED6, wherein a pin 2 and a pin 3 of the DC interface DC1 are grounded after being short-circuited, a pin 1 of the DC interface DC1 is connected with a pin 2 of a switch SW1, a pin 3 of the switch SW1 is connected with one end of the resistor R5, the other end of the resistor R5 is connected with the anode of the light emitting diode LED6, the cathode of the light emitting diode LED6 is grounded, and the pin 3 of the switch SW1 outputs a power supply VCC.
The central control module comprises a single chip microcomputer U3, a resistor R2, capacitors C1-C3, a crystal oscillator Y1, a switch S3 and a download interface JD1, wherein pins 18 and 19 of the single chip microcomputer U3 are respectively connected with two ends of the crystal oscillator Y1, two ends of the crystal oscillator Y1 are respectively connected with one end of a capacitor C1 and one end of a capacitor C2, the other end of the capacitor C68628 and the other end of the capacitor C2 are respectively grounded, pins 10 and 11 of the single chip microcomputer U3 are respectively connected with pins 1 and 2 of the download interface JD1, a pin 3 of the download interface JD 6353 is grounded, a pin 9 of the single chip microcomputer U3 is respectively connected with one end of a switch S3 and one end of a resistor R2, the other end of the switch S3 is connected with a power supply VCC, the other end of the resistor R2 is grounded, two ends of the capacitor C2 are respectively connected with two ends of the switch S2 in parallel.
The A/D acquisition module comprises an A/D acquisition chip U1, a resistor R3 and a photoresistor RG1, wherein a pin 1 of the A/D acquisition chip U1 is connected with a pin 21 of a singlechip U3, a pin 2 of the A/D acquisition chip U1 is connected with one end of a resistor R3 and one end of the photoresistor RG1 respectively, the other end of the resistor R3 is connected with a power supply VCC, the other end of the photoresistor RG1 is grounded, a pin 5 and a pin 6 of the A/D acquisition chip U1 are connected with a pin 24 of the singlechip U3 after being in short circuit, and a pin 7 of the A/D acquisition chip U1 is connected with a pin 23 of the singlechip U3.
The lamp control circuit comprises Light Emitting Diodes (LED) 2-LED 5, a triode Q1 and a resistor R4, wherein the Light Emitting Diodes (LED) 2-LED 5 share an anode, the anode is connected with a power supply VCC, the Light Emitting Diodes (LED) 2-LED 5 share a cathode, the cathode is connected with an emitter of the triode Q1, a collector of the triode Q1 is grounded, a base of the triode Q1 is connected with one end of the resistor R4, and the other end of the resistor R4 is connected with a pin 15 of a single chip microcomputer U3.
The key circuit comprises light touch keys S1-S4, one ends of the light touch keys S1-S4 are in short circuit and are grounded, and the other ends of the light touch keys S1-S4 are respectively connected with pins 27-25 of the single chip microcomputer U3.
The illumination detection circuit comprises a resistor R1 and a light emitting diode LED1, wherein a pin 5 of a single chip microcomputer U3 is connected with a cathode of the light emitting diode LED1, an anode of the light emitting diode LED1 is connected with one end of a resistor R1, and the other end of the resistor R1 is connected with a power supply VCC.
The model of the single chip microcomputer U3 is STC89C52, and the model of the A/D acquisition chip U1 is ADC 0832.
The beneficial effects of the utility model reside in that: the circuit adopts a 51-singlechip high-precision controller as a side circuit central control chip, improves the precision and the reliability of the controller, and has simple structure, high reliability and strong applicability; the software program has wide application range, can realize functions by only changing corresponding functions for different computing formulas, and better simulates the state control of the intelligent lamp during working.
Drawings
Fig. 1 is a schematic circuit diagram of the present invention;
fig. 2 is a power supply circuit diagram of the present invention.
Detailed Description
The technical solution of the present invention is further described below, but the scope of the claimed invention is not limited to the described.
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The utility model provides an intelligence lamp control circuit based on singlechip, includes power supply circuit, central control module, AD collection module, key circuit, lamp control circuit, and power supply circuit is connected respectively with central control module, AD collection module, key circuit, lamp control circuit, and central control module is connected respectively with AD collection module, key circuit, lamp control circuit.
The power supply circuit comprises a DC interface DC1, a switch SW1, a resistor R5 and a light-emitting diode LED6, wherein a pin 2 and a pin 3 of the DC interface DC1 are grounded after being short-circuited, a pin 1 of the DC interface DC1 is connected with a pin 2 of a switch SW1, a pin 3 of the switch SW1 is connected with one end of the resistor R5, the other end of the resistor R5 is connected with the anode of the light-emitting diode LED6, the cathode of the light-emitting diode LED6 is grounded, and the pin 3 of the switch SW1 outputs a power supply VCC.
The central control module comprises a single chip microcomputer U3, a resistor R2, capacitors C1-C3, a crystal oscillator Y1, a switch S3 and a download interface JD1, wherein pins 18 and 19 of the single chip microcomputer U3 are respectively connected with two ends of the crystal oscillator Y1, two ends of the crystal oscillator Y1 are respectively connected with one end of a capacitor C1 and one end of a capacitor C2, the other end of the capacitor C28 and the other end of a capacitor C2 are respectively grounded, pins 10 and 11 of the single chip microcomputer U3 are respectively connected with pins 1 and 2 of the download interface JD1, pin 3 of the download interface JD1 is grounded, pin 9 of the single chip microcomputer U3 is respectively connected with one end of a switch S3 and one end of a resistor R2, the other end of the switch S3 is connected with a power supply VCC, the other end of the resistor R2 is grounded, two ends of the capacitor C2 are respectively connected with two ends of the switch S2 in parallel, and.
The A/D acquisition module comprises an A/D acquisition chip U1, a resistor R3 and a photoresistor RG1, wherein a pin 1 of the A/D acquisition chip U1 is connected with a pin 21 of a singlechip U3, a pin 2 of the A/D acquisition chip U1 is connected with one end of a resistor R3 and one end of a photoresistor RG1 respectively, the other end of the resistor R3 is connected with a power supply VCC, the other end of the photoresistor RG1 is grounded, a pin 5 and a pin 6 of the A/D acquisition chip U1 are connected with a pin 24 of the singlechip U3 after being short-circuited, a pin 7 of the A/D acquisition chip U1 is connected with a pin 23 of the singlechip U3, the model of the A/D acquisition chip U1 is ADC0832, the ADC0832 is an A/D conversion chip with 8-bit resolution, the highest resolution can reach 256 levels, and can. Multiplexing of internal power input and reference voltage, analog voltage input of a chip is enabled to be between 0V and 5V, conversion time of the chip is only 32 muS, data verification can be achieved through double data output, data errors are reduced, conversion speed is high, stability is high, independent chip enable input is achieved, connection of multiple devices and control of a processor become more convenient, channel function selection can be achieved easily through a DI data input end, ADC0832 in the application has the function that analog signals output by a dust sensor are converted into digital signals, then the signals are sent into a single chip microcomputer to be processed, and ADC0832 selects an analog input channel 0, namely CH0 as a signal acquisition port.
The lamp control circuit comprises Light Emitting Diodes (LEDs) 2-LED 5, a triode Q1 and a resistor R4, wherein the Light Emitting Diodes (LEDs) 2-LED 5 share an anode, the anode is connected with a power supply VCC, the Light Emitting Diodes (LEDs) 2-LED 5 share a cathode, the cathode is connected with an emitter of the triode Q1, a collector of the triode Q1 is grounded, a base of the triode Q1 is connected with one end of the resistor R4, the other end of the resistor R4 is connected with a pin 15 of a singlechip U3, the light emitting diodes are semiconductor diodes and can convert electric energy into light energy, the light emitting diodes are composed of a PN junction like common diodes and also have one-way conductivity, the resistor R4 plays a current limiting role and protects the LED lamp, and as long as a control pin of the singlechip is pulled low, the LED lamp is.
The key circuit comprises light touch keys S1-S4, one ends of the light touch keys S1-S4 are in short circuit and are grounded, and the other ends of the light touch keys S1-S4 are respectively connected with pins 27-25 of the single chip microcomputer U3.
Illumination detection circuitry includes resistance R1, emitting diode LED1, and singlechip U3's 5 feet are connected with emitting diode LED1 negative pole, and emitting diode LED1 positive pole is connected with resistance R1 one end, and the resistance R1 other end is connected with the power VCC, in this application, through the partial pressure that series resistance R1 realized the photo resistance, the resistance is divider resistance, also protects photo resistance simultaneously.
The working principle of the invention is as follows:
the LED lamp control system is composed of an STC89C51 single chip microcomputer central control module, an A/D acquisition module, a key circuit, a lamp control circuit and a power circuit, wherein the power module supplies working current to start the single chip microcomputer to initialize an I/O port, the key circuit is scanned, the A/D signal acquisition module acquires a signal light source and transmits the analog quantity of the signal light source to the single chip microcomputer, and the single chip microcomputer processes signals and outputs digital signals to control the LED lamp circuit to complete control.

Claims (7)

1. The utility model provides an intelligent lamp control circuit based on singlechip which characterized in that: the LED lamp comprises a power circuit, a central control module, an A/D acquisition module, a key circuit and a lamp control circuit, wherein the power circuit is respectively connected with the central control module, the A/D acquisition module, the key circuit and the lamp control circuit, and the central control module is respectively connected with the A/D acquisition module, the key circuit and the lamp control circuit.
2. The intelligent lamp control circuit based on the single chip microcomputer according to claim 1, wherein: the power supply circuit comprises a DC interface DC1, a switch SW1, a resistor R5 and a light emitting diode LED6, wherein a pin 2 and a pin 3 of the DC interface DC1 are grounded after being short-circuited, a pin 1 of the DC interface DC1 is connected with a pin 2 of a switch SW1, a pin 3 of the switch SW1 is connected with one end of the resistor R5, the other end of the resistor R5 is connected with the anode of the light emitting diode LED6, the cathode of the light emitting diode LED6 is grounded, and the pin 3 of the switch SW1 outputs a power supply VCC.
3. The intelligent lamp control circuit based on the single chip microcomputer according to claim 1, wherein: the central control module comprises a single chip microcomputer U3, a resistor R2, capacitors C1-C3, a crystal oscillator Y1, a switch S3 and a download interface JD1, wherein pins 18 and 19 of the single chip microcomputer U3 are respectively connected with two ends of the crystal oscillator Y1, two ends of the crystal oscillator Y1 are respectively connected with one end of a capacitor C1 and one end of a capacitor C2, the other end of the capacitor C68628 and the other end of the capacitor C2 are respectively grounded, pins 10 and 11 of the single chip microcomputer U3 are respectively connected with pins 1 and 2 of the download interface JD1, a pin 3 of the download interface JD 6353 is grounded, a pin 9 of the single chip microcomputer U3 is respectively connected with one end of a switch S3 and one end of a resistor R2, the other end of the switch S3 is connected with a power supply VCC, the other end of the resistor R2 is grounded, two ends of the capacitor C2 are respectively connected with two ends of the switch S2 in parallel.
4. The intelligent lamp control circuit based on the single chip microcomputer according to claim 1, wherein: the A/D acquisition module comprises an A/D acquisition chip U1, a resistor R3 and a photoresistor RG1, wherein a pin 1 of the A/D acquisition chip U1 is connected with a pin 21 of a singlechip U3, a pin 2 of the A/D acquisition chip U1 is connected with one end of a resistor R3 and one end of the photoresistor RG1 respectively, the other end of the resistor R3 is connected with a power supply VCC, the other end of the photoresistor RG1 is grounded, a pin 5 and a pin 6 of the A/D acquisition chip U1 are connected with a pin 24 of the singlechip U3 after being in short circuit, and a pin 7 of the A/D acquisition chip U1 is connected with a pin 23 of the singlechip U3.
5. The intelligent lamp control circuit based on the single chip microcomputer according to claim 1, wherein: the lamp control circuit comprises Light Emitting Diodes (LED) 2-LED 5, a triode Q1 and a resistor R4, wherein the Light Emitting Diodes (LED) 2-LED 5 share an anode, the anode is connected with a power supply VCC, the Light Emitting Diodes (LED) 2-LED 5 share a cathode, the cathode is connected with an emitter of the triode Q1, a collector of the triode Q1 is grounded, a base of the triode Q1 is connected with one end of the resistor R4, and the other end of the resistor R4 is connected with a pin 15 of a single chip microcomputer U3.
6. The intelligent lamp control circuit based on the single chip microcomputer according to claim 1, wherein: the key circuit comprises light touch keys S1-S4, one ends of the light touch keys S1-S4 are in short circuit and are grounded, and the other ends of the light touch keys S1-S4 are respectively connected with pins 27-25 of the single chip microcomputer U3.
7. An intelligent lamp control circuit based on a single chip microcomputer according to any one of claims 1 to 6, wherein: the model of the single chip microcomputer U3 is STC89C52, and the model of the A/D acquisition chip U1 is ADC 0832.
CN201922066539.8U 2019-11-26 2019-11-26 Intelligence lamp control circuit based on singlechip Expired - Fee Related CN211509346U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201922066539.8U CN211509346U (en) 2019-11-26 2019-11-26 Intelligence lamp control circuit based on singlechip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201922066539.8U CN211509346U (en) 2019-11-26 2019-11-26 Intelligence lamp control circuit based on singlechip

Publications (1)

Publication Number Publication Date
CN211509346U true CN211509346U (en) 2020-09-15

Family

ID=72411277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201922066539.8U Expired - Fee Related CN211509346U (en) 2019-11-26 2019-11-26 Intelligence lamp control circuit based on singlechip

Country Status (1)

Country Link
CN (1) CN211509346U (en)

Similar Documents

Publication Publication Date Title
CN204028258U (en) A kind of LED light source load detecting circuit of electric ballast
CN211509346U (en) Intelligence lamp control circuit based on singlechip
CN211047297U (en) L ED lamp based on photoresistor
CN103091634A (en) Battery level indicating circuit and indicating device and lamp
CN108990202A (en) A kind of constant flow high pressure LED drive chip circuit
CN207340247U (en) A kind of LED illumination drive dynamic control device
CN203288882U (en) Computer zero power consumption type intelligent power socket
CN204408674U (en) A kind of LED stage lamp circuit of adjustable distance of reaction
CN207924538U (en) A kind of dual control thermosistor with upper and lower limit function
CN207678047U (en) The LED light of light can be controlled in high precision
CN219248117U (en) Three-in-one dimming switching controller
CN203167390U (en) Control circuit of light-controlled illuminator
CN206620336U (en) A kind of intelligent illuminating system
CN207024065U (en) A kind of heartbeat indicating circuit for electronic auscultation device
CN202095148U (en) Infrared induction LED energy saving lamp circuit
CN206490875U (en) A kind of photoelectric detection system
CN219456779U (en) Medical equipment water level detection circuit
CN205454140U (en) Anti -interference photovoltaic LED lighting lamp circuit
CN213148088U (en) Christmas lamp brightness detection circuit
CN211015057U (en) Small-sized lamplight electronic timer
CN205179461U (en) Light -operated LED light of single bond
CN216981560U (en) Circuit for displaying four sections of electric quantity
CN207263299U (en) A kind of infrared remote control detector
CN203761624U (en) Touch delay switch
CN209344758U (en) Drive chip overvoltage protection circuit and switching power supply circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200915

Termination date: 20211126

CF01 Termination of patent right due to non-payment of annual fee