CN207099396U - Christmas lamp controller - Google Patents

Christmas lamp controller Download PDF

Info

Publication number
CN207099396U
CN207099396U CN201721166178.9U CN201721166178U CN207099396U CN 207099396 U CN207099396 U CN 207099396U CN 201721166178 U CN201721166178 U CN 201721166178U CN 207099396 U CN207099396 U CN 207099396U
Authority
CN
China
Prior art keywords
pin
circuit
triode
chip microcomputer
resistance
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
CN201721166178.9U
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.)
Ningbo Xin Rui Electronics Co Ltd
Original Assignee
Ningbo Xin Rui Electronics 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 Ningbo Xin Rui Electronics Co Ltd filed Critical Ningbo Xin Rui Electronics Co Ltd
Priority to CN201721166178.9U priority Critical patent/CN207099396U/en
Application granted granted Critical
Publication of CN207099396U publication Critical patent/CN207099396U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The utility model discloses a kind of Christmas lamp controller, including power circuit, control circuit, drive circuit, condition indication circuit, infrared receiving circuit and key circuit, control circuit, drive circuit, condition indication circuit and infrared receiving circuit electrically connect with power circuit, drive circuit, condition indication circuit, infrared receiving circuit and key circuit electrically connect with control circuit, control circuit includes single-chip microcomputer U1, condition indication circuit includes resistance R7 and LED 1, the negative electrode of LED 1 electrically connects with single-chip microcomputer U1 4 pin, key circuit includes resistance R9 and button K1, resistance R9 one end electrically connects with single-chip microcomputer U1 4 pin;Condition indication circuit and key circuit in the utility model have been all connected on single-chip microcomputer U1 4 pin, so as to save the resource of single-chip processor i/o mouth, the utilization rate of single-chip processor i/o mouth can be improved, and then the less single-chip microcomputer of pin can be used to save production cost.

Description

Christmas lamp controller
Technical field
The utility model belongs to controller technology field, is related to a kind of Christmas lamp controller.
Background technology
On west Christmas Day, people will dress a Christmas tree, and Christmas lamp is most common naturally and most important ornaments, people Sparkling Christmas lamp almost can be all installed on each Christmas tree, the luminous and flicker of Christmas lamp is mainly by holy For absurd fantastic lamp with controller come what is realized, a general Christmas lamp can be equipped with a Christmas lamp controller, and Christmas lamp controller Typically it is powered by power supply adaptor or battery.Current Christmas lamp controller generally comprises power circuit, control circuit, drive Dynamic circuit, condition indication circuit and key circuit, control circuit include single-chip microcomputer, and the light emitting diode in condition indication circuit It is connected respectively to the button in key circuit on the different I/O mouths of single-chip microcomputer, so, single-chip processor i/o mouth can be caused to provide The waste in source, the more single-chip microcomputers of I/O mouths such as are used, then can increase the area of single-chip microcomputer busy line plate, and increase production Cost.
The content of the invention
In view of the above-mentioned problems, the technical problems to be solved in the utility model is to provide a kind of Christmas lamp controller, its energy The resource of single-chip processor i/o mouth is enough saved, so as to improve the utilization rate of single-chip processor i/o mouth, and then pin can be used less Single-chip microcomputer to save production cost.
Christmas lamp controller of the present utility model, including power circuit, control circuit, drive circuit, state instruction electricity Road, infrared receiving circuit and key circuit, control circuit, drive circuit, condition indication circuit and infrared receiving circuit with electricity Source circuit electrically connects, and drive circuit, condition indication circuit, infrared receiving circuit and key circuit electrically connect with control circuit, Control circuit includes single-chip microcomputer U1, electric capacity C1, C3, C4, and crystal oscillator X1, single-chip microcomputer U1 1 pin electrically connect with power supply 5V, single-chip microcomputer U1 8 pin ground connection, electric capacity C3 one end and electric capacity C4 one end electrically connect with single-chip microcomputer U1 2 pin and 3 pin respectively, and electric capacity C3's is another One end and electric capacity the C4 other end are grounded, and crystal oscillator X1 both ends electrically connect with single-chip microcomputer U1 2 pin and 3 pin respectively, electric capacity C1 Both ends electrically connected respectively with single-chip microcomputer U1 1 pin and 8 pin, condition indication circuit includes resistance R7 and LED 1, Resistance R7 one end electrically connects with power supply 5V, and the resistance R7 other end electrically connects with the anode of LED 1, and luminous two Pole pipe LED1 negative electrode electrically connects with single-chip microcomputer U1 4 pin, and key circuit includes resistance R9 and button K1, resistance R9 one end with Single-chip microcomputer U1 4 pin electrical connection, the resistance R9 other end electrically connect with button K1 one end, button K1 other end ground connection.
Christmas lamp controller of the present utility model, wherein, power circuit includes interface USB1 and electric capacity C5, interface USB1 2 pin electrically connected with power supply 5V, interface USB1 1 pin ground connection, electric capacity C5 one end electrically connects with power supply 5V, and electric capacity C5's is another End ground connection.
Christmas lamp controller of the present utility model, wherein, infrared receiving circuit includes resistance R1, R2, electric capacity C2, infrared Electrically connected after reception pipe U2, infrared receiving tube U2 1 pin series resistance R1 with power supply 5V, infrared receiving tube U2 1 pin series electrical It is grounded after holding C2, infrared receiving tube U2 2 pin ground connection, is electrically connected after infrared receiving tube U2 3 pin series resistance R2 with power supply 5V, Infrared receiving tube U2 3 pin electrically connect with single-chip microcomputer U1 7 pin;By the setting of infrared receiving circuit, people can be by distant Control device controls christmas lamp string, such as the pattern bright, when going out, circulating of control christmas lamp string and time-controlled function.
Christmas lamp controller of the present utility model, wherein, drive circuit includes triode Q1, Q2, Q3, Q4, resistance R3, R4, R5, R6, R8, triode Q1 emitter stage and triode Q2 emitter stage electrically connect with power supply 5V, triode Q1 current collection Pole and triode Q2 colelctor electrode electrically connect with triode Q3 colelctor electrode and triode Q4 colelctor electrode respectively, triode Q1's Colelctor electrode after base series resistor R5 with triode Q4 electrically connects, after triode Q2 base series resistor R6 with triode Q3 Colelctor electrode electrical connection, electrically connected with single-chip microcomputer U1 5 pin after triode Q3 base series resistor R4, triode Q4 base stage Electrically connected after series resistance R3 with single-chip microcomputer U1 6 pin, resistance R8 one end and triode Q3 emitter stage and triode Q4's Emitter stage electrically connects, and resistance R8 other end ground connection, the colelctor electrode of the triode Q1 draws out splice going splice OUT1, three pole Pipe Q2 colelctor electrode draws out splice going splice OUT2.
The utility model beneficial effect:Condition indication circuit and key circuit in the utility model have been all connected to monolithic On machine U1 4 pin, i.e., single-chip microcomputer U1 4 pin are multiplexed, so as to save the resource of single-chip processor i/o mouth, it is possible to increase The utilization rate of single-chip processor i/o mouth, and then the less single-chip microcomputer of pin can be used to save production cost.
Brief description of the drawings
For ease of explanation, the utility model is described in detail by following specific implementations and accompanying drawing.
Fig. 1 is schematic block circuit diagram of the present utility model;
Fig. 2 is circuit theory diagrams of the present utility model.
Embodiment
Christmas lamp controller as Figure 1-Figure 2, including power circuit 1, control circuit 2, drive circuit 3, state Indicating circuit 4, infrared receiving circuit 5 and key circuit 6, control circuit 2, drive circuit 3, condition indication circuit 4 and infrared connect Receive circuit 5 to electrically connect with power circuit 1, drive circuit 3, condition indication circuit 4, infrared receiving circuit 5 and key circuit 6 are equal Electrically connected with control circuit 2, control circuit 2 includes single-chip microcomputer U1, electric capacity C1, C3, C4, crystal oscillator X1, single-chip microcomputer U1 1 pin and electricity Source 5V is electrically connected, single-chip microcomputer U1 8 pin ground connection, electric capacity C3 one end and electric capacity C4 one end respectively with single-chip microcomputer U1 2 pin and 3 Pin electrically connects, and the electric capacity C3 other end and the electric capacity C4 other end be grounded, crystal oscillator X1 both ends 2 pin with single-chip microcomputer U1 respectively Electrically connected with 3 pin, electric capacity C1 both ends electrically connect with single-chip microcomputer U1 1 pin and 8 pin respectively, and condition indication circuit 4 includes resistance R7 and LED 1, resistance R7 one end electrically connect with power supply 5V, resistance the R7 other end and LED 1 Anode electrical connection, the negative electrode of LED 1 electrically connect with single-chip microcomputer U1 4 pin, key circuit 6 including resistance R9 with Button K1, resistance R9 one end electrically connect with single-chip microcomputer U1 4 pin, and the resistance R9 other end electrically connects with button K1 one end, Button K1 other end ground connection.
Power circuit 1 includes interface USB1 and electric capacity C5, and interface USB1 2 pin electrically connect with power supply 5V, and the 1 of interface USB1 Pin is grounded, and electric capacity C5 one end electrically connects with power supply 5V, electric capacity C5 other end ground connection.
Infrared receiving circuit 5 includes resistance R1, R2, electric capacity C2, infrared receiving tube U2, infrared receiving tube U2 1 pin series connection Electrically connect, be grounded after infrared receiving tube U2 1 pin series capacitance C2, infrared receiving tube U2 2 pin connect with power supply 5V after resistance R1 Ground, electrically connected with power supply 5V after infrared receiving tube U2 3 pin series resistance R2, infrared receiving tube U2 3 pin and the 7 of single-chip microcomputer U1 Pin electrically connects.
Drive circuit 3 includes triode Q1, Q2, Q3, Q4, resistance R3, R4, R5, R6, R8, triode Q1 emitter stage and Triode Q2 emitter stage electrically connects with power supply 5V, triode Q1 colelctor electrode and triode Q2 colelctor electrode respectively with three poles Pipe Q3 colelctor electrode and triode Q4 colelctor electrode electrically connect, the collection after triode Q1 base series resistor R5 with triode Q4 Electrode electrically connects, and is electrically connected after triode Q2 base series resistor R6 with triode Q3 colelctor electrode, triode Q3 base stage Electrically connected after series resistance R4 with single-chip microcomputer U1 5 pin, it is electric with single-chip microcomputer U1 6 pin after triode Q4 base series resistor R3 Connection, resistance R8 one end electrically connect with the emitter stage of triode Q3 emitter stage and triode Q4, resistance R8 another termination Ground, the colelctor electrode of the triode Q1 draw out splice going splice OUT1, the triode Q2 colelctor electrode extraction out splice going splice OUT2.
It should be noted that:Drive circuit in the utility model is full-bridge go to circuit, its can drive it is forward and reverse all The christmas lamp string that can be lit, when in use, only need to by two exits of christmas lamp string respectively with out splice going splice OUT1 Electrically connected with out splice going splice OUT2, by the write-in program inside single-chip microcomputer, it can realize and christmas lamp string is lighted When various patterns control, and realize the control of brightness when being lighted to christmas lamp string, the journey mentioned in the above Sequence is prior art, therefore is not repeated herein.
Embodiment described above is only that preferred embodiment of the present utility model is described, not to this practicality New spirit and scope are defined.On the premise of the utility model design conception is not departed from, ordinary people in the field couple The all variations and modifications that the technical solution of the utility model is made, the scope of protection of the utility model, this reality all should be dropped into With new claimed technology contents, all record in detail in the claims.

Claims (4)

  1. A kind of 1. Christmas lamp controller, it is characterised in that:Including power circuit (1), control circuit (2), drive circuit (3), Condition indication circuit (4), infrared receiving circuit (5) and key circuit (6), the control circuit (2), drive circuit (3), state Indicating circuit (4) and infrared receiving circuit (5) electrically connect with power circuit (1), the drive circuit (3), state instruction electricity Road (4), infrared receiving circuit (5) and key circuit (6) electrically connect with control circuit (2), and the control circuit (2) includes single Piece machine U1, electric capacity C1, C3, C4, crystal oscillator X1,1 pin of the single-chip microcomputer U1 electrically connect with power supply 5V, 8 pin of the single-chip microcomputer U1 Ground connection, one end of the electric capacity C3 and electric capacity C4 one end electrically connect with single-chip microcomputer U1 2 pin and 3 pin respectively, the electric capacity C3 The other end and the electric capacity C4 other end be grounded, the both ends of the crystal oscillator X1 are electrically connected with single-chip microcomputer U1 2 pin and 3 pin respectively Connect, the both ends of the electric capacity C1 electrically connect with single-chip microcomputer U1 1 pin and 8 pin respectively, and the condition indication circuit (4) includes resistance R7 and LED 1, one end of the resistance R7 electrically connect with power supply 5V, the other end of the resistance R7 and luminous two Pole pipe LED1 anode electrical connection, the negative electrode of the LED 1 electrically connect with single-chip microcomputer U1 4 pin, the button electricity Road (6) includes resistance R9 and button K1, one end of the resistance R9 electrically connect with single-chip microcomputer U1 4 pin, and the resistance R9's is another One end electrically connects with button K1 one end, the other end ground connection of the button K1.
  2. 2. Christmas lamp controller according to claim 1, it is characterised in that:The power circuit (1) includes interface USB1 and electric capacity C5,2 pin of the interface USB1 electrically connect with power supply 5V, the 1 pin ground connection of the interface USB1, the electric capacity C5 One end electrically connected with power supply 5V, the other end of electric capacity C5 ground connection.
  3. 3. Christmas lamp controller according to claim 1 or 2, it is characterised in that:The infrared receiving circuit (5) includes Resistance R1, R2, it is electrically connected with power supply 5V after electric capacity C2, infrared receiving tube U2, the infrared receiving tube U2 1 pin series resistance R1 Connect, be grounded after the 1 pin series capacitance C2 of the infrared receiving tube U2,2 pin of infrared receiving tube U2 ground connection is described infrared to connect Electrically connected after closed tube U2 3 pin series resistance R2 with power supply 5V, 3 pin of the infrared receiving tube U2 and single-chip microcomputer U1 7 pin electricity Connection.
  4. 4. Christmas lamp controller according to claim 3, it is characterised in that:The drive circuit (3) includes triode Q1, Q2, Q3, Q4, resistance R3, R4, R5, R6, R8, the emitter stage of the triode Q1 and triode Q2 emitter stage are and power supply 5V is electrically connected, the colelctor electrode of the triode Q1 and triode Q2 the colelctor electrode colelctor electrode and triode with triode Q3 respectively Q4 colelctor electrode electrically connects, and is electrically connected after the base series resistor R5 of the triode Q1 with triode Q4 colelctor electrode, described Electrically connected after triode Q2 base series resistor R6 with triode Q3 colelctor electrode, the base series resistor of the triode Q3 Electrically connected after R4 with single-chip microcomputer U1 5 pin, 6 pin after the base series resistor R3 of the triode Q4 with single-chip microcomputer U1 are electrically connected Connect, one end of the resistance R8 electrically connects with the emitter stage of triode Q3 emitter stage and triode Q4, and the resistance R8's is another One end is grounded, and colelctor electrode extraction the out splice going splice OUT1, the triode Q2 of the triode Q1 colelctor electrode are drawn output and connect Head OUT2.
CN201721166178.9U 2017-09-12 2017-09-12 Christmas lamp controller Active CN207099396U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721166178.9U CN207099396U (en) 2017-09-12 2017-09-12 Christmas lamp controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721166178.9U CN207099396U (en) 2017-09-12 2017-09-12 Christmas lamp controller

Publications (1)

Publication Number Publication Date
CN207099396U true CN207099396U (en) 2018-03-13

Family

ID=61538365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721166178.9U Active CN207099396U (en) 2017-09-12 2017-09-12 Christmas lamp controller

Country Status (1)

Country Link
CN (1) CN207099396U (en)

Similar Documents

Publication Publication Date Title
CN207665261U (en) Christmas lamp driver
CN204240081U (en) A kind of integration type hand-held illuminating lamp tool
CN107241828A (en) A kind of phase-cut dimming LED circuit with small night lamp function
CN207099396U (en) Christmas lamp controller
CN204518184U (en) A kind of time-delay desk lamp circuit
CN201638042U (en) Small universal singlechip system based on serial port downloading
CN207053839U (en) A kind of phase-cut dimming LED circuit with small night lamp function
CN213906990U (en) Novel USB interface
CN206004982U (en) There is the Christmas lamp controller of power failure memory function
CN207053841U (en) A kind of phase-cut dimming LED circuit
CN207502969U (en) Time-control switching unit and time switch system
CN202095148U (en) Infrared induction LED energy saving lamp circuit
CN208971231U (en) A kind of multi output grade solar energy power source apparatus
CN204717573U (en) A kind of solar lawn lamp
CN204887574U (en) Solar energy LED warning light
CN203482934U (en) Hat with LED lamp
CN206002897U (en) USB interface-based Single Chip Microcomputer (SCM) system
CN207665262U (en) Christmas lamp driver
CN209710357U (en) The light bar control circuit of double-colored switching
CN208386964U (en) A kind of LED light box control device
CN103017068A (en) Solar underground energy-saving lamp
CN209433431U (en) A kind of Intelligent statistical device of mobile public toilet
CN107103558A (en) Solar powered illumination charging system
CN206096774U (en) Digital clock circuit of intelligence
CN207799390U (en) A kind of portable radiationless children's anti-loss device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant