CN104795003A - LED electronic name tag with USB interface and realizing method thereof - Google Patents

LED electronic name tag with USB interface and realizing method thereof Download PDF

Info

Publication number
CN104795003A
CN104795003A CN201510222592.6A CN201510222592A CN104795003A CN 104795003 A CN104795003 A CN 104795003A CN 201510222592 A CN201510222592 A CN 201510222592A CN 104795003 A CN104795003 A CN 104795003A
Authority
CN
China
Prior art keywords
voltage
circuit
controller
pin
lithium battery
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.)
Granted
Application number
CN201510222592.6A
Other languages
Chinese (zh)
Other versions
CN104795003B (en
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.)
Hubei Engineering University
Original Assignee
Hubei Engineering 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 Hubei Engineering University filed Critical Hubei Engineering University
Priority to CN201510222592.6A priority Critical patent/CN104795003B/en
Publication of CN104795003A publication Critical patent/CN104795003A/en
Application granted granted Critical
Publication of CN104795003B publication Critical patent/CN104795003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/33Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements being semiconductor devices, e.g. diodes
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/18Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for batteries; for accumulators
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Abstract

The invention discloses an LED electronic name tag with a USB interface and a realizing method thereof. The LED electronic name tag comprises a controller (10), an LED array (20), the USB interface (50), a lithium battery (30), a key switch (60), and a charging and protecting circuit (40) connected with the lithium battery, wherein the LED array (20), the USB interface (50), the lithium battery (30) and the key switch (60) are connected with the controller. The controller (10) is used for controlling a whole system, and drive and display of the LED array; the charging and protecting circuit (40) provides protection for charging energy storage, excessive charging, excessive discharging and excess currents of the lithium battery (30) and provides voltage reference for the controller; the USB interface (50) is used as a display graph or character downloading and charging interface for the electronic name tag; the key switch (60) is used for switching display modes and content and opening and closing the electric name tag. The LED electronic name tag is low in cost, good in performance and long in service life, and is provided with the high-speed USB interface, and drive of the LED display array can be finished without using a drive chip.

Description

The sub-chest card of a kind of LED electrical with USB interface and its implementation
Technical field
The present invention relates to a kind of LED, particularly relate to the sub-chest card of a kind of LED electrical.
Background technology
At present, the sub-chest card of LED electrical has been widely used in wearing of the staff of social life, for advertisement and the personal information display of company.Because the sub-chest card of LED electrical belongs to sales volume greatly, the product that price is low, market price competition is comparatively fierce.But the sub-chest card of LED electrical many employings driving chip 74HC595 in the market completes LED array driving, its controller adopts the single-chip microcomputer of band asynchronous serial port simultaneously, data are downloaded to be needed to use PL2303 to complete the transition of communications of USB-RS232, these integrated circuit all add the cost of system, and the price competitiveness that result in product declines.Meanwhile, the sub-chest card of LED electrical on sale is not all protected lithium battery, and the serviceable life that result in lithium battery is not high.
Summary of the invention
The object of the present invention is to provide that a price is low, performance good, band hi-speed USB interface, the sub-chest card of long-life LED electrical, driving chip need not be used can to complete the driving of LED array of display.
Technical scheme of the present invention is:
The sub-chest card of LED electrical with USB interface, is characterized in that, comprises controller 10, and LED array 20, USB interface 50, lithium battery 30 and keyswitch 60 with controlling to be connected, also comprise the charging and protection circuit 40 that are connected with lithium battery;
Controller 10 is for the control of whole system, the driving of LED array and display;
The content that LED array 20 exports for display controller 10;
Lithium battery 30 provides sustainable power supply for controller 10;
The charging accumulation of energy that is lithium battery 30 of charging and protection circuit 40, overcharge, cross put, excess current provides protection, prevents lithium battery from damaging, simultaneously for controller 10 provides voltage reference;
USB interface 50 is used as the display graphics of electric breast plate or Chinese character is downloaded and charging inlet;
Keyswitch 60 for display mode and content switching and realize the opening and closing of the sub-chest card of LED electrical.
Further, charging and protection circuit 40, comprise charging circuit 410, first reduction voltage circuit 420, second reduction voltage circuit 430, lithium battery protection circuit 440, battery voltage sampling circuit 450;
Charging circuit 410, for giving lithium cell charging, comprises the circuit be composed in series by single-pole double-throw switch (SPDT) K1, lithium battery; The input end VCC_IN of charging module connects USB interface 50, is controlled work or the disconnection of charging module by single-pole double-throw switch (SPDT) K1; One output terminal of single-pole double-throw switch (SPDT) K1 connects battery, and charge the battery, another output terminal connects the second reduction voltage circuit 430;
Battery voltage sampling circuit 450: for the voltage of Real-time Collection lithium battery, and this magnitude of voltage is converted to electricity is demonstrated by LED array; Its input end lotus root is connected to USB interface 50, and its output terminal is connected to controller AD sampling end PC2 pin;
First reduction voltage circuit 420, for controller has judged whether that USB access provides reference voltage, its input end connects VCC_IN power supply, output terminal connection control device PC1 pin;
Second reduction voltage circuit 430, for the differentiation of controller to the sub-chest card on off state of LED electrical provides reference voltage, its input end connects the output terminal of single-pole double-throw (SPDT) toggle switch K1, output terminal connection control device PC3 pin;
Lithium battery protection circuit 440: for regulating the overcharging of lithium battery, cross put, overcurrent, short-circuit protection, its input end connects the output terminal of single-pole double-throw switch (SPDT) K1.
Further, battery voltage sampling circuit 450 comprises mu balanced circuit and filtering circuit, and mu balanced circuit is made up of current-limiting resistance R6, voltage stabilizing diode S3.
Further, the first reduction voltage circuit 420, is composed in series by resistance R8 and R7, and the input end of resistance R8 connects VCC_IN power supply, the output terminal connection control device PC1 pin of resistance R8, and the sampling providing USB to insert for controller judges reference; The output head grounding of R7.
Further, second reduction voltage circuit 430, is composed in series by resistance R9 and R10, and the input end of resistance R9 connects the output terminal of single-pole double-throw switch (SPDT) K1, the output terminal connection control device PC3 pin of resistance R9, for the differentiation of controller to the sub-chest card on off state of LED electrical provides reference.
Further, lithium battery protection circuit 440, comprises protection IC U1 and resistance R1, R2, electric capacity C1, and protection IC U1 adopts specialized lithium battery protection integrated circuit DW06D, and for regulating the overcharging of lithium battery, mistake is put, overcurrent, short-circuit protection; The input end of resistance R1 connects the output terminal of single-pole double-throw switch (SPDT) K1, and output terminal connects the 5th pin VDD of U1; The 6th pin VSS of U1 is connected the negative pole of battery with the 3rd pin S2; Decoupling capacitor C1 is connected with between the 6th pin VSS of U1 and the 5th pin VDD; The 1st pin V-of U1 through resistance R2 ground connection, the 2nd pin S1 ground connection of U1.
Further, single-pole double-throw switch (SPDT) K1 adopts SS12D07VG2 single-pole double-throw (SPDT) toggle switch, for realizing the opening and closing of the sub-chest card of LED electrical.
Further, controller 10 adopts STM32F102C8 single-chip microcomputer.
Further, the switching diode S2 preventing USB interface short circuit is provided with in described charging circuit 410.
The sub-chest card implementation method of LED electrical with USB interface, is characterized in that, comprise the steps:
Step S1: power-up initializing, carries out system initialization work, and open AD and USB peripheral hardware, initialization system clock, AD peripheral hardware, USB peripheral hardware, arrange GPIO mouth, and used 33 I/O ports are set to delivery outlet;
Step S2: by the PC1 pin AD sampled value of Read Controller 10, judged whether that USB accesses; Controller PC1 pin is ADC11 passage, reads AD conversion result, and is converted to analog voltage;
When accessing without USB, the magnitude of voltage that the PC1 pin of this Time Controller 10 reads is 0V, and system enters and performs step S3; When there being USB to access ,+5V the voltage of USB input, after voltage, should produce the magnitude of voltage of about 1.6V on PC1 pin, and system enters and performs step S4;
Step S3: system enters normal display state; When accessing without USB, with Time Controller in work, illustrate that switch must be in open mode, system directly enters normal displaying mode, in such a mode, system shows according to the figure downloaded in advance or font, can be carried out amendment and the operation of display mode by the button at the sub-chest card back side of LED electrical simultaneously;
S4: judge on off state by the PC3 pin voltage value of Read Controller 10; The PC3 pin of controller 10 is ADC13 passage, reads AD conversion result, and is converted to analog voltage;
When single-pole double-throw switch (SPDT) K1 be in connect between the 2-1 of contact time, but show to have USB access disconnect with lithium battery, now 5V voltage is after electric resistance partial pressure, should produce 2.5V voltage at PC3 pin, then execution step S5; Otherwise, when switch be in connect between the 2-3 of contact time, the PC3 pin of controller should produce 0V voltage, skip to perform step S6;
S5: system carries out downloading mode; System is communicated with host computer by USB interface, receive the data command that host computer sends, when receiving, by LED array, figure or word being shown, amendment and the operation of display mode can be carried out simultaneously by the button at the sub-chest card back side of LED electrical;
S6: system enters charge mode; Now by the voltage of the PC2 pin of I/0 mouth Read Controller 10, to differentiate current lithium battery voltage, and be converted to electric quantity data, finally show on LED array.
Beneficial effect of the present invention is:
(1) adopt the common quick I/O port Direct driver LED array of STM32F103C8, avoid the use of drive integrated circult, effectively reduce cost.
(2) the STM32F103C8 controller with full speed USB interface is adopted, PC software can directly and the sub-chest card of LED electrical carry out high-speed USB communication, thus eliminate USB RS 232 circuit (PL2303), reduce the cost of product by a relatively large margin, USB at full speed not only increases the stability of system, also improves the reliability of system.
(3) adopt lithium battery protection circuit to overcharge for lithium battery provides, cross put, the protection such as excess current, add the serviceable life of battery.
Accompanying drawing explanation
Fig. 1 is structured flowchart of the present invention;
Fig. 2 is charging and protection circuit circuit diagram;
Fig. 3 is the process flow diagram that the present invention realizes.
Embodiment
The technological means realized to make the present invention, creation characteristic, reaching object and effect is easy to understand, below in conjunction with diagram and specific embodiment, setting forth the present invention further.
As shown in Figure 1, the sub-chest card of LED electrical of band USB interface, comprises controller 10, and LED array 20, USB interface 50, lithium battery 30 and keyswitch 60 with controlling to be connected, also comprise the charging and protection circuit 40 that are connected with lithium battery.
Its middle controller 10 is for the control of whole system, the driving of LED array and display.Controller 10 adopts STM32F102C8 high-performance single-chip microcomputer at a low price, and it adopts ARM 32 bit CPU, and LQFP44 encapsulates, crystal inside oscillator, nearly 37 quick I/O ports, inner integrated 16 Channel 12-Bit AD peripheral hardwares, and has a USB2.0 interface at full speed.LED array 20 adopts 11 × 44 (11 row, 44 row) LED dot matrix, and adopt the common I/O port Direct driver of single-chip microcomputer, need use 33 I/O ports altogether, the array for figure or Chinese character shows.USB interface 50 adopts MINI USB 5 needle interface, downloads and charging inlet as the display graphics of electric breast plate or Chinese character.Lithium battery 30 adopts commercially available 3.7V 500mA poly-lithium battery, for controller provides sustainable power supply.The charging accumulation of energy that is lithium battery 30 of charging and protection circuit 40, the overcharging of lithium battery, cross put, excess current etc. provides protection, prevents lithium battery from damaging, simultaneously for controller 10 provides voltage reference.Keyswitch 60 comprises a button and a fine motion toggle switch, and button is used for the switching of display mode and content, and switch is for realizing the opening and closing of the sub-chest card of LED electrical.
The sub-chest card of LED electrical has three duties, is respectively normal display, charging display and closed condition.When accessing without USB power source, if switch opens, the sub-chest card of LED electrical enters normal display state, and USB shows successively according to the font downloaded in advance or figure, now switches display mode or content by button; If switch cuts out, feed circuit cut off, and the sub-chest card of LED electrical enters closed condition, does not show any content.When there being USB to access, then the sub-chest card of LED electrical enters charging display state, and now LED display displaying contents is depending on off state; If switch opens, the sub-chest card of LED electrical can enter charge mode, shows real time electrical quantity information on dot-matrix array simultaneously; If switch cuts out, the sub-chest card of LED electrical can enter download display mode, now, on PC, by USB interface, font to display or figure can be downloaded to the singlechip controller of electric breast plate, the sub-chest card of LED electrical then shows successively according to the font downloaded or figure afterwards, now switches display mode or content by button.
As shown in Figure 2, be charging and protection circuit circuit diagram, comprise charging circuit 410, battery voltage sampling circuit 450, first reduction voltage circuit 420, second reduction voltage circuit 430, lithium battery protection circuit 440.
Charging circuit 410: be composed in series successively by diode S2, single-pole double-throw switch (SPDT) K1, lithium battery; The input end lotus root of charging module is connected to USB interface, is controlled work or the disconnection of charging module by single-pole double-throw switch (SPDT) K1; One output terminal of K switch 1 connects battery, and another output terminal that charges the battery connects the second reduction voltage circuit 430.
Wherein diode S2 adopts ST4148 paster switching diode, has pressure drop low, the features such as power consumption is little, for preventing the unexpected short circuit of USB port, thus avoids lithium battery rapid discharge and damage.
Battery voltage sampling circuit 450: for Real-time Collection lithium battery voltage, and this magnitude of voltage is converted to electricity (number percent) and is demonstrated by LED array; Its input end lotus root is connected to USB interface, and its output terminal is connected to controller AD sampling end PC2 pin.Battery voltage sampling circuit comprises mu balanced circuit and filtering circuit, mu balanced circuit is made up of current-limiting resistance R6, voltage stabilizing diode S3, current-limiting resistance R6 adopts 1K Chip-R, voltage stabilizing diode K1 adopts the silica-based voltage stabilizing diode of ZMM3V3, burning voltage is 3.3V, for by after supply voltage voltage stabilizing, sends into the sub-chest card controller of LED electrical and does AD sampling, with Real-time Collection lithium battery voltage value, electricity display during chest card charging sub-for LED electrical provides data; Filtering circuit is made up of filter capacitor C9, and filter capacitor C9 adopts 104 0402 patch capacitors, for the high fdrequency component in filter out power voltage.
Switch S 3 adopts SS12D07VG2 single-pole double-throw (SPDT) toggle switch, for realizing the opening and closing of the sub-chest card of LED electrical.
First reduction voltage circuit 420, is composed in series by resistance R8 and R7, and the input end of resistance R8 connects VCC_IN power supply, the output terminal connection control device PC1 pin of resistance R8, and the sampling providing USB to insert for controller judges reference; The output head grounding of R7.Resistance R8 and R7 adopts 5.1 respectively, 0402 Chip-R of 10K.
Second reduction voltage circuit 430: be composed in series by resistance R9 and R10, the input end of resistance R9 connects the output terminal of single-pole double-throw (SPDT) toggle switch, and the output terminal connection control device PC3 pin of resistance R9, for the differentiation of controller to the sub-chest card on off state of LED electrical provides reference; The output head grounding of R10.Resistance R9 and R10 all adopts 10K 0402 Chip-R.
Lithium battery protection circuit 440: comprise protection IC U1 and resistance R1, R2, electric capacity C1, protection IC U1 adopts specialized lithium battery protection integrated circuit DW06D, inner integrated MOS FET, be mainly used in regulating the overcharging of lithium battery, put, overcurrent, short-circuit protection.The input end of resistance R1 connects the output terminal of single-pole double-throw switch (SPDT) K1, and output terminal connects the 5th pin VDD of U1; The 6th pin VSS of U1 is connected the negative pole of battery with the 3rd pin S2; Be connected with decoupling capacitor C1 between the 6th pin VSS of U1 and the 5th pin VDD, decoupling capacitor C1 adopts 104 0402 patch capacitors; The 1st pin V-of U1 through resistance R2 ground connection, the 2nd pin S1 ground connection of U1.Resistance R1 and R2 adopts 100 ohm, 0402 Chip-R of 1K respectively.When cell voltage is pressed lower than overdischarge, U1 then cuts off lithium battery discharge loop; When charging, charging voltage is higher than overcharged voltage, U1 then cuts off lithium cell charging loop, also monitors the overcurrent condition of lithium battery simultaneously, implements protection to lithium battery.
When USB accesses, VCC_IN connects+5V power supply, and this power supply, through SS4148, is labeled as power supply VCC.When switch S 3 connects between the 2-3 of contact, power supply VCC is applied to lithium battery two ends, for lithium battery charges; The voltage at battery two ends is after diode S3 voltage stabilizing simultaneously, and the PC2 pin sending into singlechip controller carries out AD sampling, and with the voltage at Real-time Obtaining lithium battery two ends, thus charging display data provide reference.When switch S 3 connects between the 2-1 of contact, power supply VCC is after resistance R9 and R10 dividing potential drop, and the PC3 pin delivering to singlechip controller carries out AD sampling, thus provides reference data for the change of system state.
Network system realization is as follows:
Step S1: power-up initializing, carries out system initialization work, and open AD and USB peripheral hardware, initialization system clock, AD peripheral hardware, USB peripheral hardware, arrange GPIO mouth, and used 33 I/O ports are set to delivery outlet;
Step S2: by the PC1 pin AD sampled value of Read Controller 10, judged whether that USB accesses; Controller PC1 pin is ADC11 passage, reads AD conversion result, and is converted to analog voltage;
When accessing without USB, the magnitude of voltage that the PC1 pin of this Time Controller 10 reads is 0V, and system enters and performs step S3; When there being USB to access ,+5V the voltage of USB input, after voltage, should produce the magnitude of voltage of about 1.6V on PC1 pin, and system enters and performs step S4;
Step S3: system enters normal display state; When accessing without USB, with Time Controller in work, illustrate that switch must be in open mode, system directly enters normal displaying mode, in such a mode, system shows according to the figure downloaded in advance or font, can be carried out amendment and the operation of display mode by the button at the sub-chest card back side of LED electrical simultaneously;
S4: judge on off state by the PC3 pin voltage value of Read Controller 10; The PC3 pin of controller 10 is ADC13 passage, reads AD conversion result, and is converted to analog voltage;
When single-pole double-throw switch (SPDT) K1 be in connect between the 2-1 of contact time, but show to have USB access disconnect with lithium battery, now 5V voltage is after electric resistance partial pressure, should produce 2.5V voltage at PC3 pin, then execution step S5; Otherwise, when switch be in connect between the 2-3 of contact time, the PC3 pin of controller should produce 0V voltage, skip to perform step S6;
S5: system carries out downloading mode; System is communicated with host computer by USB interface, receive the data command that host computer sends, when receiving, by LED array, figure or word being shown, amendment and the operation of display mode can be carried out simultaneously by the button at the sub-chest card back side of LED electrical;
S6: system enters charge mode; Now by the voltage of the PC2 pin of I/0 mouth Read Controller 10, to differentiate current lithium battery voltage, and be converted to electric quantity data, finally show on LED array.
More than show and describe ultimate principle of the present invention, principal character and advantage of the present invention.The technician of the industry should understand; the present invention is not restricted to the described embodiments; what describe in above-described embodiment and instructions just illustrates principle of the present invention; the present invention also has various changes and modifications without departing from the spirit and scope of the present invention, and these changes and improvements all fall in the claimed scope of the invention.

Claims (10)

1. the sub-chest card of the LED electrical with USB interface, it is characterized in that, comprise controller (10), LED array (20), USB interface (50), lithium battery (30) and keyswitch (60) with controlling to be connected, also comprise the charging and protection circuit (40) that are connected with lithium battery;
Controller (10) is for the control of whole system, the driving of LED array and display;
The content that LED array (20) exports for display controller (10);
Lithium battery (30) provides sustainable power supply for controller (10);
The charging accumulation of energy that is lithium battery (30) of charging and protection circuit (40), overcharge, cross put, excess current provides protection, prevent lithium battery from damaging, provide voltage reference for controller (10) simultaneously;
USB interface (50) is downloaded and charging inlet as the display graphics of electric breast plate or Chinese character;
Keyswitch (60) for display mode and content switching and realize the opening and closing of the sub-chest card of LED electrical.
2. the sub-chest card of a kind of LED electrical with USB interface according to claim 1, it is characterized in that, charging and protection circuit (40), comprise charging circuit (410), the first reduction voltage circuit (420), the second reduction voltage circuit (430), lithium battery protection circuit (440), battery voltage sampling circuit (450);
Charging circuit (410), for giving lithium cell charging, comprises the circuit be composed in series by single-pole double-throw switch (SPDT) K1, lithium battery; The input end VCC_IN of charging module connects USB interface (50), is controlled work or the disconnection of charging module by single-pole double-throw switch (SPDT) K1; One output terminal of single-pole double-throw switch (SPDT) K1 connects battery, and charge the battery, another output terminal connects the second reduction voltage circuit (430);
Battery voltage sampling circuit (450), for the voltage of Real-time Collection lithium battery, and is converted to electricity by this magnitude of voltage and is demonstrated by LED array; Its input end lotus root is connected to USB interface (50), and its output terminal is connected to controller AD sampling end PC2 pin;
First reduction voltage circuit (420), for controller has judged whether that USB access provides reference voltage, its input end connects VCC_IN power supply, output terminal connection control device PC1 pin;
Second reduction voltage circuit (430), for the differentiation of controller to the sub-chest card on off state of LED electrical provides reference voltage, its input end connects the output terminal of single-pole double-throw (SPDT) toggle switch K1, output terminal connection control device PC3 pin;
Lithium battery protection circuit (440), for regulating the overcharging of lithium battery, cross put, overcurrent, short-circuit protection, its input end connects the output terminal of single-pole double-throw switch (SPDT) K1.
3. the sub-chest card of a kind of LED electrical with USB interface according to claim 2, is characterized in that, battery voltage sampling circuit (450) comprises mu balanced circuit and filtering circuit, and mu balanced circuit is made up of current-limiting resistance R6, voltage stabilizing diode S3.
4. the sub-chest card of a kind of LED electrical with USB interface according to claim 2, it is characterized in that, first reduction voltage circuit (420), be composed in series by resistance R8 and R7, the input end of resistance R8 connects VCC_IN power supply, the output terminal connection control device PC1 pin of resistance R8, the sampling providing USB to insert for controller judges reference; The output head grounding of R7.
5. the sub-chest card of a kind of LED electrical with USB interface according to claim 2, it is characterized in that, second reduction voltage circuit (430), be composed in series by resistance R9 and R10, the input end of resistance R9 connects the output terminal of single-pole double-throw switch (SPDT) K1, the output terminal connection control device PC3 pin of resistance R9, for the differentiation of controller to the sub-chest card on off state of LED electrical provides reference.
6. the sub-chest card of a kind of LED electrical with USB interface according to claim 2, it is characterized in that, lithium battery protection circuit (440), comprise protection IC U1 and resistance R1, R2, electric capacity C1, protection IC U1 adopts specialized lithium battery protection integrated circuit DW06D, for regulating the overcharging of lithium battery, cross put, overcurrent, short-circuit protection; The input end of resistance R1 connects the output terminal of single-pole double-throw switch (SPDT) K1, and output terminal connects the 5th pin VDD of U1; The 6th pin VSS of U1 is connected the negative pole of battery with the 3rd pin S2; Decoupling capacitor C1 is connected with between the 6th pin VSS of U1 and the 5th pin VDD; The 1st pin V-of U1 through resistance R2 ground connection, the 2nd pin S1 ground connection of U1.
7. the sub-chest card of a kind of LED electrical with USB interface according to claim 2, is characterized in that, single-pole double-throw switch (SPDT) K1 adopts SS12D07VG2 single-pole double-throw (SPDT) toggle switch, for realizing the opening and closing of the sub-chest card of LED electrical.
8. the sub-chest card of a kind of LED electrical with USB interface according to claim 2, is characterized in that, controller (10) adopts STM32F102C8 single-chip microcomputer.
9. the sub-chest card of a kind of LED electrical with USB interface according to claim 2, is characterized in that, is provided with the switching diode S2 preventing USB interface short circuit in described charging circuit (410).
10. the sub-chest card implementation method of a kind of LED electrical with USB interface according to any one of claim 1-9, is characterized in that, comprise the steps:
Step S1: power-up initializing, carries out system initialization work, and open AD and USB peripheral hardware, initialization system clock, AD peripheral hardware, USB peripheral hardware, arrange GPIO mouth, and used 33 I/O ports are set to delivery outlet;
Step S2: by the PC1 pin AD sampled value of Read Controller (10), judged whether that USB accesses; Controller PC1 pin is ADC11 passage, reads AD conversion result, and is converted to analog voltage;
When accessing without USB, the magnitude of voltage that the PC1 pin of this Time Controller (10) reads is 0V, and system enters and performs step S3; When there being USB to access ,+5V the voltage of USB input, after voltage, should produce the magnitude of voltage of about 1.6V on PC1 pin, and system enters and performs step S4;
Step S3: system enters normal display state; When accessing without USB, with Time Controller in work, illustrate that switch must be in open mode, system directly enters normal displaying mode, in such a mode, system shows according to the figure downloaded in advance or font, can be carried out amendment and the operation of display mode by the button at the sub-chest card back side of LED electrical simultaneously;
S4: judge on off state by the PC3 pin voltage value of Read Controller (10); The PC3 pin of controller (10) is ADC13 passage, reads AD conversion result, and is converted to analog voltage;
When single-pole double-throw switch (SPDT) K1 be in connect between the 2-1 of contact time, but show to have USB access disconnect with lithium battery, now 5V voltage is after electric resistance partial pressure, should produce 2.5V voltage at PC3 pin, then execution step S5; Otherwise, when switch be in connect between the 2-3 of contact time, the PC3 pin of controller should produce 0V voltage, skip to perform step S6;
S5: system carries out downloading mode; System is communicated with host computer by USB interface, receive the data command that host computer sends, when receiving, by LED array, figure or word being shown, amendment and the operation of display mode can be carried out simultaneously by the button at the sub-chest card back side of LED electrical;
S6: system enters charge mode; Now by the voltage of the PC2 pin of I/0 mouth Read Controller (10), to differentiate current lithium battery voltage, and be converted to electric quantity data, finally show on LED array.
CN201510222592.6A 2015-04-30 2015-04-30 LED electronic name tag with USB interface and realizing method thereof Active CN104795003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510222592.6A CN104795003B (en) 2015-04-30 2015-04-30 LED electronic name tag with USB interface and realizing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510222592.6A CN104795003B (en) 2015-04-30 2015-04-30 LED electronic name tag with USB interface and realizing method thereof

Publications (2)

Publication Number Publication Date
CN104795003A true CN104795003A (en) 2015-07-22
CN104795003B CN104795003B (en) 2017-05-10

Family

ID=53559770

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510222592.6A Active CN104795003B (en) 2015-04-30 2015-04-30 LED electronic name tag with USB interface and realizing method thereof

Country Status (1)

Country Link
CN (1) CN104795003B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106373520A (en) * 2016-10-31 2017-02-01 江苏省锡山中等专业学校 Intelligent controlled electronic class plate
CN110086485A (en) * 2019-05-05 2019-08-02 京东方科技集团股份有限公司 Chest card
CN112382232A (en) * 2020-11-26 2021-02-19 深圳市洲明科技股份有限公司 LED driving device and LED display screen

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007163583A (en) * 2005-12-09 2007-06-28 Toshiba Battery Co Ltd Name tag
CN101477775A (en) * 2009-02-05 2009-07-08 北京巨数数字技术开发有限公司 Illuminating directory board
US20100117958A1 (en) * 2008-11-11 2010-05-13 Tung-Tsai Liao Information input panel using light emitted diode matrix
CN202067475U (en) * 2011-05-31 2011-12-07 厦门市华软科技有限公司 LED (light emitting diode) electronic display badge
CN202109433U (en) * 2010-12-09 2012-01-11 叶明祥 Lighting device
CN202563840U (en) * 2012-04-27 2012-11-28 湖北工业大学 Multifunctional LED (light emitting diode) electronic sign plate
CN203192349U (en) * 2013-02-28 2013-09-11 湖南科技学院 Safe and energy-saving outdoor advertising board

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007163583A (en) * 2005-12-09 2007-06-28 Toshiba Battery Co Ltd Name tag
US20100117958A1 (en) * 2008-11-11 2010-05-13 Tung-Tsai Liao Information input panel using light emitted diode matrix
CN101477775A (en) * 2009-02-05 2009-07-08 北京巨数数字技术开发有限公司 Illuminating directory board
CN202109433U (en) * 2010-12-09 2012-01-11 叶明祥 Lighting device
CN202067475U (en) * 2011-05-31 2011-12-07 厦门市华软科技有限公司 LED (light emitting diode) electronic display badge
CN202563840U (en) * 2012-04-27 2012-11-28 湖北工业大学 Multifunctional LED (light emitting diode) electronic sign plate
CN203192349U (en) * 2013-02-28 2013-09-11 湖南科技学院 Safe and energy-saving outdoor advertising board

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106373520A (en) * 2016-10-31 2017-02-01 江苏省锡山中等专业学校 Intelligent controlled electronic class plate
CN110086485A (en) * 2019-05-05 2019-08-02 京东方科技集团股份有限公司 Chest card
CN112382232A (en) * 2020-11-26 2021-02-19 深圳市洲明科技股份有限公司 LED driving device and LED display screen
CN112382232B (en) * 2020-11-26 2022-05-20 深圳市洲明科技股份有限公司 LED driving device and LED display screen

Also Published As

Publication number Publication date
CN104795003B (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN103618353A (en) Battery monitoring circuit
CN207021723U (en) A kind of multi-cell electric power management circuit and a kind of virtual reality helmet
CN104283284A (en) Multifunctional data portable power source and charging method
CN106026222A (en) Power battery management control integrated circuit
CN202014087U (en) Lithium battery charging protection circuit for portable system
CN108390432B (en) Charging circuit and electronic cigarette
CN104795003A (en) LED electronic name tag with USB interface and realizing method thereof
CN208923859U (en) Fast charge circuit and electronic cigarette
CN209434916U (en) A kind of protection board of high-power high-voltage lithium battery
CN101420131B (en) Energy saving control method for lithium ionic battery protection circuit and control circuit thereof
CN110391472B (en) Battery management device and mobile terminal
CN204304476U (en) A kind of multi-functional data portable power source
CN217956682U (en) Protective circuit
CN103107577B (en) Battery management circuit and terminal
CN106451693B (en) Treasured charges and OTG data line
KR20150006682A (en) Apparatus for sharing surplus current for increasing charging current for port
CN210693477U (en) Secondary protection redundant circuit of lithium battery
CN207868847U (en) A kind of mobile power
CN207573093U (en) A kind of NFC antenna electricity getting device
CN207853546U (en) A kind of mobile power
CN114788119A (en) Movable platform, charging and discharging method of movable platform and storage medium
CN110967999A (en) Power consumption control device and communication system
CN203691024U (en) Mobile charging device
CN105656152B (en) A kind of portable transponder read write line cell managing device
CN109557471A (en) A kind of battery monitoring system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Xiao Yongjun

Inventor after: Ding Meming

Inventor after: Li Jiping

Inventor after: Xiong Zenggang

Inventor after: Yi Qingsong

Inventor after: Huang Yonglin

Inventor after: Ma Honghua

Inventor before: Xiao Yongjun

Inventor before: Ding Miming

Inventor before: Li Jiping

Inventor before: Xiong Zenggang

Inventor before: Yi Qingsong

Inventor before: Huang Yonglin

Inventor before: Ma Honghua

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant