CN207039943U - A kind of flowing water circuit for lamp - Google Patents
A kind of flowing water circuit for lamp Download PDFInfo
- Publication number
- CN207039943U CN207039943U CN201720652718.8U CN201720652718U CN207039943U CN 207039943 U CN207039943 U CN 207039943U CN 201720652718 U CN201720652718 U CN 201720652718U CN 207039943 U CN207039943 U CN 207039943U
- Authority
- CN
- China
- Prior art keywords
- circuit
- light emitting
- emitting diode
- flowing water
- 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
Links
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The utility model discloses a kind of flowing water circuit for lamp, the circuit is made up of single-chip microcomputer and eight light emitting diodes (D1~D8), pin P3.0~P3.7 is defined on the single-chip microcomputer, the negative electrode of the light emitting diode is connected by triode (Q1~Q8) with the single-chip microcomputer pin P3.0~P3.7 respectively, and the anode of the light emitting diode connects circuit power;Negative electrode of the colelctor electrode of the triode (Q1~Q8) respectively with the light emitting diode (D1~D8) is connected, and base stage is connected with the single-chip microcomputer pin P3.0~P3.7 respectively, and emitter stage with connecing circuit respectively.Flowing water circuit for lamp provided by the utility model improves the driving force of circuit, is both applicable low power LED, is applicable large-power light-emitting diodes again, solves the situation for causing control chip to burn because LED power is larger;With preferably stability and accuracy.
Description
Technical field
The utility model belongs to control field, more particularly, to a kind of flowing water circuit for lamp.
Background technology
Light emitting diode is connected directly to the pin of control chip in existing flowing water circuit for lamp, by writing control chip
In control program change the low and high level exported on each pin and realize running lamp function, but problem be present is control
Chip I/O port driving force is smaller, can not the larger light emitting diode of driving power, when electric needed for the light emitting diode loaded
When flowing larger, both can not normal point brighten the hair optical diode, also exist and burn the situation of control chip.
Utility model content
In order to solve the above technical problems, the purpose of this utility model is to provide a kind of flowing water circuit for lamp, circuit tool
Have stronger driving force, both be applicable low power LED, again be applicable large-power light-emitting diodes, can effectively avoid because
The situation that LED power is larger and causes control chip to burn.
It is luminous by single-chip microcomputer and eight in a kind of flowing water circuit for lamp that this is provided in order to realize the purpose of this utility model
Diode (D1~D8) is formed, and pin P3.0~P3.7, the negative electrode difference of the light emitting diode are defined on the single-chip microcomputer
It is connected by triode (Q1~Q8) with the single-chip microcomputer pin P3.0~P3.7, the anode of the light emitting diode connects circuit electricity
Source;Negative electrode of the colelctor electrode of the triode (Q1~Q8) respectively with the light emitting diode (D1~D8) is connected, base stage difference
It is connected with the single-chip microcomputer pin P3.0~P3.7, emitter stage with connecing circuit respectively.The circuit light emitting diode and monolithic power traction
Connected between pin by triode, because triode has Current amplifier function, only need to input less electric current with regard to energy in base stage
It is enough that larger electric current is exported in colelctor electrode, so as to improve the driving force of circuit, low power LED is both applicable, is fitted again
With large-power light-emitting diodes, solves the situation for causing control chip to burn because LED power is larger.
Further, the anode of described light emitting diode connects circuit power by resistance R1 respectively.It is real by resistance R1
Show metering function, avoid the situation crossed ambassador's light emitting diode because flowing through LED current and burnt out.
Further, the circuit also includes the reset electricity being made up of resistance R2, resistance R3, electrochemical capacitor C3 and switch S
Road, one end of the resistance R2 are connected with the monolithic processor resetting pin RST, another termination circuit;Reset pin RST also with
Electrochemical capacitor C3 negative pole connection, electrochemical capacitor C3 negative pole also pass sequentially through switch S and resistance R3 and are connected to circuit power;Institute
The positive pole for stating electrochemical capacitor C3 is connected to circuit power.It can be incited somebody to action by reset circuit when program execution error occurs in single-chip microcomputer
It resets, and ensure that the stability of circuit work.
Further, the circuit also includes the clock circuit being made up of electric capacity C1, electric capacity C2 and crystal oscillator X1, the electric capacity C1
The Singlechip clock pin XTAL1 and clock pins XTAL2, the other end are respectively connecting to electric capacity C2 one end to be respectively connected to
Circuit;The crystal oscillator X1 is connected between clock pins XTAL1 and clock pins XTAL2.Improve the accurate of circuit work
Property.
Specifically, described single-chip microcomputer is AT89C52;Described light emitting diode wavelength is 400~750nm;Described
Triode is 9013NPN triodes.
Compared with prior art, the beneficial effects of the utility model are:The driving force of circuit is improved, is both applicable small work(
Rate light emitting diode, large-power light-emitting diodes is applicable again, solve causes control chip because LED power is larger
Situation about burning;With preferably stability and accuracy.
Brief description of the drawings
Fig. 1 is the circuit theory diagrams of flowing water circuit for lamp provided by the utility model.
Embodiment
Further details of theory is made to flowing water circuit for lamp provided herein with reference to the drawings and specific embodiments herein
It is bright.
【Embodiment one】
As shown in figure 1, flowing water circuit for lamp provided by the utility model is by single-chip microcomputer and eight light emitting diodes (D1~D8)
Form, pin P3.0~P3.7 for connecting eight light emitting diodes is defined on single-chip microcomputer;Light emitting diode (D1~D8)
Negative electrode pin P3.0~P3.7 is then connected to by triode (Q1~Q8) respectively, and the anode of every light emitting diode connects
Circuit power, form eight road light emitting diodes;Tool between single-chip microcomputer, light emitting diode (D1~D8) and triode (Q1~Q8)
Body connected mode is:The colelctor electrode of triode (Q1~Q8) is respectively connecting to light emitting diode (D1~D8) negative electrode, base stage point
It is not connected with single-chip microcomputer pin P3.0~P3.7, emitter stage with connecing circuit respectively.
【Embodiment two】
The flowing water circuit for lamp that present embodiment is provided is by single-chip microcomputer, eight light emitting diodes (D1~D8) and reset circuit
Form, the connected mode between single-chip microcomputer and eight light emitting diodes (D1~D8) is identical with embodiment one.It is wherein multiple
The electric routing resistance R2 in position, resistance R3, electrochemical capacitor C3 and switch S are formed, and are additionally provided with this embodiment on single-chip microcomputer
Reset pin RST, resistance R2 one end are connected with reset pin RST, another termination circuit;In addition, reset pin RST also with
Electrochemical capacitor C3 negative pole connection, electrochemical capacitor C3 negative pole also pass sequentially through hand switch S and resistance R3 and are connected to circuit electricity
Source;Electrochemical capacitor C3 positive pole is connected to circuit power.
Wherein used resistance R2 is 10K, and resistance R3 is 1K, and electrochemical capacitor C3 is IuF.
【Embodiment three】
The flowing water circuit for lamp that present embodiment is provided is by single-chip microcomputer, eight light emitting diodes (D1~D8) and clock circuit
Form, the connected mode between single-chip microcomputer and eight light emitting diodes (D1~D8) is identical with embodiment one.When wherein
Clock electricity routing capacitance C1, electric capacity C2 and crystal oscillator X1 are formed, and are provided with this single-chip microcomputer and are drawn for connecting the clock of clock circuit
Pin XTAL1 and clock pins XTAL2, electric capacity C1 and electric capacity C2 one end are respectively connecting to clock pins XTAL1 and clock pins
XTAL2, the other end is with being respectively connected to circuit;And crystal oscillator X1 is connected between clock pins XTAL1 and clock pins XTAL2.
Wherein electric capacity C1 and electric capacity C2 is 22pF, and crystal oscillator X1 is 12M.
【Embodiment four】
The flowing water circuit for lamp that present embodiment is provided is by single-chip microcomputer, eight light emitting diodes (D1~D8), reset circuits
Formed with clock circuit, the connected mode between the single-chip microcomputer and eight light emitting diodes (D1~D8) is a kind of with embodiment
It is identical;It is identical in reset circuit structure and its connected mode and embodiment two between single-chip microcomputer;Clock circuit structure
It is and identical in its connected mode and embodiment three between single-chip microcomputer.
Described light emitting diode in embodiment one, embodiment two, embodiment three and/or embodiment four
Current-limiting resistance R1 is additionally provided between the anode and circuit power of (D1~D8), resistance R1 resistance is 1K, 2K or 5K.Remembered
The single-chip microcomputer of load is AT89C52;Described light emitting diode can be using wavelength as 580nm (yellow light-emitting diode), 470nm
(blue LED), 620nm (orange luminescence diode) or 700nm (red light emitting diodes);Can also be 510nm
(green LED) and 420nm (violet light emitting diodes) are combined, so as to form mixed luminescence diode.
In addition, described triode is NPN triode, such as 9013.The work of flowing water circuit for lamp provided herein
Power supply can be button cell or lithium battery, can also be solar cell;The voltage provided is direct current 5V.
Realization of the present utility model is not subject to the restrictions described above, if employ methodology of the present utility model and
Technical scheme carry out various improvement, or it is not improved by it is of the present utility model design and technical scheme directly apply to other fields
Close, in the scope of protection of the utility model.
Claims (9)
- A kind of 1. flowing water circuit for lamp, it is characterised in that:The circuit is made up of single-chip microcomputer and eight light emitting diode D1~D8, in institute State and pin P3.0~P3.7 is defined on single-chip microcomputer, the negative electrode of the light emitting diode passes through triode Q1~Q8 and the list respectively Piece power traction pin P3.0~P3.7 connections, the anode of the light emitting diode connect circuit power;The current collection of the triode Q1~Q8 Negative electrode of the pole respectively with the light emitting diode D1~D2 is connected, and base stage connects with the single-chip microcomputer pin P3.0~P3.7 respectively Connect, emitter stage with connecing circuit respectively.
- A kind of 2. flowing water circuit for lamp according to claim 1, it is characterised in that:The anode difference of described light emitting diode Circuit power is connect by resistance R1.
- A kind of 3. flowing water circuit for lamp according to claim 1 or 2, it is characterised in that:The circuit also includes by resistance R2, electricity Hinder the reset circuit that R3, electrochemical capacitor C3 and switch S are formed, one end of the resistance R2 and the monolithic processor resetting pin RST connections, another termination circuit;Negative poles of the reset pin RST also with electrochemical capacitor C3 is connected, and electrochemical capacitor C3 negative pole is also Pass sequentially through switch S and resistance R3 and be connected to circuit power;The positive pole of the electrochemical capacitor C3 is connected to circuit power.
- A kind of 4. flowing water circuit for lamp according to claim 1 or 2, it is characterised in that:The circuit also includes by electric capacity C1, electricity Hold the clock circuit that C2 and crystal oscillator X1 is formed, one end of the electric capacity C1 and electric capacity C2 are respectively connecting to the Singlechip clock and drawn Pin XTAL1 and clock pins XTAL2, the other end is with being respectively connected to circuit;The crystal oscillator X1 be connected to clock pins XTAL1 and when Between clock pin XTAL2.
- A kind of 5. flowing water circuit for lamp according to claim 3, it is characterised in that:The circuit also includes by electric capacity C1, electric capacity The clock circuit that C2 and crystal oscillator X1 is formed, one end of the electric capacity C1 and electric capacity C2 are respectively connecting to the Singlechip clock pin XTAL1 and clock pins XTAL2, the other end is with being respectively connected to circuit;The crystal oscillator X1 is connected to clock pins XTAL1 and clock Between pin XTAL2.
- A kind of 6. flowing water circuit for lamp according to claim 1 or 2, it is characterised in that:Described single-chip microcomputer is AT89C52; Described light emitting diode wavelength is 400~750nm;Described triode is 9013NPN triodes.
- A kind of 7. flowing water circuit for lamp according to claim 3, it is characterised in that:Described single-chip microcomputer is AT89C52;It is described Light emitting diode wavelength be 400~750nm;Described triode is 9013NPN triodes.
- A kind of 8. flowing water circuit for lamp according to claim 4, it is characterised in that:Described single-chip microcomputer is AT89C52;It is described Light emitting diode wavelength be 400~750nm;Described triode is 9013NPN triodes.
- A kind of 9. flowing water circuit for lamp according to claim 5, it is characterised in that:Described single-chip microcomputer is AT89C52;It is described Light emitting diode wavelength be 400~750nm;Described triode is 9013NPN triodes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720652718.8U CN207039943U (en) | 2017-05-24 | 2017-05-24 | A kind of flowing water circuit for lamp |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201720652718.8U CN207039943U (en) | 2017-05-24 | 2017-05-24 | A kind of flowing water circuit for lamp |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207039943U true CN207039943U (en) | 2018-02-23 |
Family
ID=61471159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201720652718.8U Expired - Fee Related CN207039943U (en) | 2017-05-24 | 2017-05-24 | A kind of flowing water circuit for lamp |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207039943U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108364599A (en) * | 2018-02-27 | 2018-08-03 | 厦门芯阳科技股份有限公司 | A kind of control circuit and method of MCU driving charactron |
-
2017
- 2017-05-24 CN CN201720652718.8U patent/CN207039943U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108364599A (en) * | 2018-02-27 | 2018-08-03 | 厦门芯阳科技股份有限公司 | A kind of control circuit and method of MCU driving charactron |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103491682A (en) | Linear switching constant-current LED drive circuit for control over peak current | |
CN203523100U (en) | Multifunctional LED table lamp drive unit | |
CN207039943U (en) | A kind of flowing water circuit for lamp | |
CN207833503U (en) | A kind of low-power consumption Intelligent terminal for Internet of things | |
CN103220856B (en) | Self-adapting light emitting diode (LED) driving power circuit | |
CN204578864U (en) | The battery powered LED illumination circuit of a kind of efficiency utilization | |
CN204391848U (en) | A kind of solar charging controller for electric consumption | |
CN103094945B (en) | A kind of portable power source circuit | |
CN206481072U (en) | Automatic identification both positive and negative polarity charger circuit | |
CN207911076U (en) | A kind of lamps and lanterns gradually bright driving circuit | |
CN203967781U (en) | A kind of charging circuit of digital display calliper | |
CN202841597U (en) | LED constant-current driving power supply | |
CN206237636U (en) | A kind of solar street lamp controller | |
CN101917030B (en) | Solar energy charge-discharge parameter setting system | |
CN206004983U (en) | Christmas lamp controller | |
CN204887555U (en) | Simple and practical's LED lamp | |
CN207301655U (en) | A kind of electronic clock projection lamp backlight illumination balanced voltage control circuit | |
CN206002897U (en) | USB interface-based Single Chip Microcomputer (SCM) system | |
CN204859676U (en) | LED drive arrangement | |
CN201742120U (en) | Solar charge and discharge parameter setting system | |
CN207350089U (en) | Double-colored lampet | |
CN208572483U (en) | One kind turning circuit for lamp control device | |
CN220985896U (en) | Common cathode double-color LED lamp state switching circuit based on single chip microcomputer control | |
CN204465981U (en) | A kind of based on monolithic processor controlled LED open loop protection circuit | |
CN207733018U (en) | A kind of LED light controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180223 Termination date: 20190524 |