CN201119072Y - A horse race lamp circuit and digital device - Google Patents

A horse race lamp circuit and digital device Download PDF

Info

Publication number
CN201119072Y
CN201119072Y CNU2007201704411U CN200720170441U CN201119072Y CN 201119072 Y CN201119072 Y CN 201119072Y CN U2007201704411 U CNU2007201704411 U CN U2007201704411U CN 200720170441 U CN200720170441 U CN 200720170441U CN 201119072 Y CN201119072 Y CN 201119072Y
Authority
CN
China
Prior art keywords
horse race
race lamp
lamp unit
parallel port
circuit
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
CNU2007201704411U
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CNU2007201704411U priority Critical patent/CN201119072Y/en
Application granted granted Critical
Publication of CN201119072Y publication Critical patent/CN201119072Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The utility model relates to a horse race lamp circuit and a digital equipment, which is suitable for the electronic field. The circuit comprises a horse race lamp unit and a serial-parallel port converter, wherein, the horse race lamp unit comprises a plurality of light emitting diodes, the serial-parallel port converter is connected with the horse race lamp unit and parallelly outputs the serial display control signals outputted by a central control unit to the horse race lamp unit and controls the on-off of the light emitting diodes. In the utility model, the display control signals serially outputted by the central control unit are parallelly transmitted to all the LEDs of the horse race lamp unit through the serial-parallel port converter to control the on-off of the horse race lamp unit, thus the on-off effect of the lamp can be realized by taking up only a little space of the central control unit control port.

Description

A kind of horse race lamp circuit and digital equipment
Technical field
The utility model belongs to electronic applications, relates in particular to a kind of horse race lamp circuit and digital equipment.
Background technology
Digital equipments such as current mobile phone, MP3 usually need to be equipped with the outward appearance of fashion, and the horse race lamp circuit is set can increase dazzling visual effect for it.At present, the horse race lamp circuit of digital equipment all adopts the central controller (CPU) of digital equipment as control unit, and the general purpose input and output of central controller (generalpurpose input/output, GPIO) the control mouth is limited, is difficult to realize multiple different horse race lamp light on and off effect.
Summary of the invention
The purpose of this utility model is to provide a kind of horse race lamp circuit, is intended to solve the problem that existing horse race lamp circuit is difficult to realize multiple different horse race lamp light on and off effect.
The utility model is achieved in that a kind of horse race lamp circuit, and described circuit comprises:
The horse race lamp unit comprises a plurality of light-emitting diodes; And
Be connected with described horse race lamp unit, export described horse race lamp unit to the serial display control signal of central controller output is parallel, control the serial ports-parallel port transducer of described a plurality of light-emitting diode light on and off.
Another purpose of the present utility model is to provide a kind of digital equipment that contains above-mentioned horse race lamp circuit.
In the utility model, the display control signal parallel convey of CPU serial output is given each light-emitting diode of horse race lamp unit by serial ports-parallel port transducer, control its light on and off, so only take limited CPU control mouth and just can realize multiple different horse race lamp light on and off effect.
Description of drawings
Fig. 1 is the theory diagram of the horse race lamp circuit that provides of the utility model;
Fig. 2 is the circuit structure diagram of the horse race lamp circuit that provides of the utility model;
Fig. 3 is the SCL clock signal that provides of the utility model and the sequential chart of SDA serial data signal.
Embodiment
In order to make the purpose of this utility model, technical scheme and advantage clearer,, the utility model is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the utility model, and be not used in qualification the utility model.
In the utility model, give each light-emitting diode of horse race lamp unit by serial ports-parallel port transducer to the display control signal parallel convey of CPU serial output, control its light on and off, can realize multiple different horse race lamp light on and off effect.
Fig. 1 shows the realization principle of the horse race lamp circuit that the utility model provides, and for convenience of explanation, only shows the part relevant with the utility model.
Serial ports-parallel port transducer 11 is given horse race lamp unit 12 with the display control signal parallel convey of CPU serial output, corresponding light-emitting diode (Lighting Emitting Diode, light on and off LED) in the control horse race lamp unit 12.Serial ports-parallel port transducer 11 and horse race lamp unit 12 are powered by power supply.
Serial ports-parallel port transducer 11 can adopt internal integrated circuit (Inter-Integrated Circuit, I 2C)-the parallel port conversion chip, its serial ports input clock line (Serial Clock Line, SCL) end is input end of clock, serial ports input data line (Serial Date Line, SDA) end is data input pin, and these two ends are connected with GPIO2 with the control mouth GPIO1 of CPU respectively, constitutes I 2The C bus.
Have a plurality of LED in the horse race lamp unit 12, as an embodiment of the present utility model, horse race lamp unit 12 comprises at least 8 LED, under the control of serial ports-display control signal that parallel port transducer 11 is exported, can provide at least 256 kinds of luminous combinations.
Fig. 2 shows the structure that contains the horse race lamp circuit that the utility model provides, and for convenience of explanation, only shows the part relevant with the utility model, adopts I with serial ports-parallel port transducer 11 2C-parallel port conversion chip U1, comprising 8 LED in the horse race lamp unit 12 is example.
I 2The SCL end of C-parallel port conversion chip U1 and SDA end meet GPIO1 and the GPIO2 of CPU respectively, receive the clock signal and the serial data signal of CPU output.The connection of A2-0 three ends has defined the address of this chip, in the utility model A2-0 is held whole ground connection, so the effective address of this chip is 000, its VCC end connects power supply by resistance R 8, and GND holds ground connection.
Fig. 3 shows the SCL clock signal that the utility model provides and the sequential of SDA serial data signal, and the SCL clock signal is a kind of square-wave signal, and the SDA serial data signal is transfused to I when the SCL rising edge of clock signal 2C-parallel port conversion chip U1.At first, import 1 initial signal, then, the I of 1 byte of input 2The address of C-parallel port conversion chip U1, expression chooses this chip to control, and wherein high four figures value is represented 3 bit address lines and R/W read-write selection for low four successively because this chip is defined as 0100.Owing on the hardware A2-0 is held whole ground connection, so address A2-0 is 000, it is that 0 expression CPU is to I that data are selected in lowest order R/W read-write 2C-parallel port conversion chip U1 write signal from its parallel port output P0-7 output, next is an ack signal again, just can import the serial data signal that is used to show control afterwards, all needs an ack signal to separate between the data of each byte.
I 2C-parallel port conversion chip U1 will hold being used to of importing to show that the serial data signal of control is through after changing from SDA, by parallel port output P0-7 and line output, parallel port output P0-7 connects the negative electrode of the LED0-7 of horse race lamp unit 12 respectively, the anode of the LED0-7 current-limiting resistance R0-7 that connects respectively, and then link to each other with power supply, prevent that electric current from burning out LED0-7 or I too greatly 2C-parallel port conversion chip U1.Like this, output on 8 LED0-7 from each 8 bit data of SDA end serial input are all parallel accordingly.When dateout was 0, corresponding LED0-7 both end voltage can reach luminous voltage, and lamp will be bright, and when dateout was 1, corresponding LED0-7 both end voltage can not reach luminous voltage, and lamp just can not be bright.By CPU to I 2C-parallel port conversion chip U1 sends the signal that different being used to shows control, just can realize multiple different horse race lamp light on and off effect.
As a preferred embodiment of the present utility model, horse race lamp unit 12 also is provided with static discharge, and (it is made of the resistance R 9 and the piezo-resistance VCR1 of serial connection for Electro Static Discharge, ESD) protection circuit.One end of resistance R 9 links to each other with the anode of LED0-7 by current-limiting resistance R0-7.The other end ground connection of piezo-resistance VCR1, when static discharge appearred in circuit, piezo-resistance VCR1 is the energy conducting when its both end voltage reaches critical value, discharges timely and effectively, prevents that circuit is subjected to the damage that static discharge brings.
In the utility model, give each LED of horse race lamp unit with the display control signal parallel convey of CPU serial output, control its light on and off, so only take limited CPU control and mouthful just can realize multiple different horse race lamp light on and off effect by serial ports-parallel port transducer.
The above only is preferred embodiment of the present utility model; not in order to restriction the utility model; all any modifications of within spirit of the present utility model and principle, being done, be equal to and replace and improvement etc., all should be included within the protection range of the present utility model.

Claims (6)

1, a kind of horse race lamp circuit is characterized in that, described circuit comprises:
The horse race lamp unit comprises a plurality of light-emitting diodes; And
Be connected with described horse race lamp unit, export described horse race lamp unit to the serial display control signal of central controller output is parallel, control the serial ports-parallel port transducer of described a plurality of light-emitting diode light on and off.
2, horse race lamp circuit as claimed in claim 1, it is characterized in that described horse race lamp unit comprises at least 8 light-emitting diodes, at least 256 kinds of luminous combinations are provided, the negative electrode of each light-emitting diode connects the parallel port output of serial ports-parallel port transducer, and anode connects power supply.
3, horse race lamp circuit as claimed in claim 2 is characterized in that, described horse race lamp unit also comprises:
Be serially connected in the current-limiting resistance between each light-emitting diode and the power supply.
4, as claim 2 or 3 described horse race lamp circuit, it is characterized in that described horse race lamp unit also comprises:
Be serially connected with the ESD protection circuit between light-emitting diode and the ground, the static that circuit is produced imports in the ground.
5, horse race lamp circuit as claimed in claim 1 is characterized in that, described serial ports-parallel port transducer is I 2C-parallel port conversion chip, its serial ports input SCL end is connected with central controller with the SDA end, and its parallel port output is connected with described horse race lamp unit.
6, a kind of digital equipment that comprises the horse race lamp circuit of claim 1.
CNU2007201704411U 2007-10-31 2007-10-31 A horse race lamp circuit and digital device Expired - Fee Related CN201119072Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2007201704411U CN201119072Y (en) 2007-10-31 2007-10-31 A horse race lamp circuit and digital device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2007201704411U CN201119072Y (en) 2007-10-31 2007-10-31 A horse race lamp circuit and digital device

Publications (1)

Publication Number Publication Date
CN201119072Y true CN201119072Y (en) 2008-09-17

Family

ID=39993677

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2007201704411U Expired - Fee Related CN201119072Y (en) 2007-10-31 2007-10-31 A horse race lamp circuit and digital device

Country Status (1)

Country Link
CN (1) CN201119072Y (en)

Similar Documents

Publication Publication Date Title
CA2571972A1 (en) Decorative light string
CN201837695U (en) Mobile terminal data line detection circuit and detection device
CN102761421A (en) Network indicating device
CN201119072Y (en) A horse race lamp circuit and digital device
CN102692955A (en) Computer
CN201188217Y (en) Computer host
CN201611964U (en) Novel LED lamp string circuit structure
CN201583940U (en) Device for indicating running state of network and network terminal
CN202652594U (en) Light emitting diode driver possessing protection path
CN102141202A (en) LED light emitting device
CN201561397U (en) LED lamp line device
CN101986009A (en) Adaptive alternating current light-emitting diode filament and illuminating lamp
CN201827728U (en) Standby alternating-current LED (light emitting diode) lamp filament and illuminating lamp
CN201057384Y (en) LED light source for lighting
CN102647822A (en) Miner lamp and illumination driving circuit thereof
CN207781155U (en) Circuit for improving numeral method
CN207589247U (en) A kind of illuminating light string parallel circuit
CN104936342A (en) LED lamp protection circuit
CN2847000Y (en) Parallel Christmas lamp
CN216752180U (en) Lamp control circuit and electrical equipment
CN204785733U (en) Led lamp
CN211630452U (en) LED control circuit with 5-line 8-way output
CN2916344Y (en) LED light string
CN201868074U (en) Feedback safety structure of organic light emitting diode display
CN203038542U (en) A SPLC experiment board

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080917

Termination date: 20151031

EXPY Termination of patent right or utility model