CN104795003B - 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
CN104795003B
CN104795003B CN201510222592.6A CN201510222592A CN104795003B CN 104795003 B CN104795003 B CN 104795003B CN 201510222592 A CN201510222592 A CN 201510222592A CN 104795003 B CN104795003 B CN 104795003B
Authority
CN
China
Prior art keywords
controller
circuit
lithium battery
usb interface
voltage
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
CN201510222592.6A
Other languages
Chinese (zh)
Other versions
CN104795003A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Control Of El Displays (AREA)
  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

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

A kind of LED electric breast plates with USB interface and its implementation
Technical field
The present invention relates to a kind of LED, more particularly to a kind of LED electric breast plates.
Background technology
At present, LED electric breast plates have been widely used for wearing for the staff of social life, for the advertisement of company Show with personal information.Because LED electric breast plates belong to, sales volume is big, and low-cost product, market price competition comparatively swashs It is strong.But LED array is completed using driving chip 74HC595 more than LED electric breast plates in the market and is driven, while its control Device adopts the single-chip microcomputer with asynchronous serial port, data to download the communication conversion for needing that USB-RS232 is completed using PL2303, these collection The cost of system is increased into circuit, the price competitiveness that result in product declines.Meanwhile, LED electric breast plates on sale are not Lithium battery is protected, the service life that result in lithium battery is not high.
The content of the invention
It is an object of the invention to provide a price is low, performance is good, band hi-speed USB interface, long-life LED electronics chest Board, without the driving that LED array of display can be completed using driving chip.
The technical scheme is that:
A kind of LED electric breast plates with USB interface, it is characterised in that including controller 10, the LED battle arrays being connected with control Row 20, USB interface 50, lithium battery 30 and key switch 60, also include charging and the protection circuit 40 being connected with lithium battery;
Controller 10 is used for control, the driving of LED array and the display of whole system;
LED array 20 is used for the content of the output of display controller 10;
Lithium battery 30 provides sustainable power supply for controller 10;
Charge and protection circuit 40 for lithium battery 30 charging accumulation of energy, overcharge, mistake is put, overcurrent provides protection, prevents lithium Cell damage, while providing voltage reference for controller 10;
USB interface 50 is used as the display figure or Chinese character of electric breast plate and downloads and charging inlet;
Key switch 60 is used for the switching of display pattern and content and realizes the opening and closing of LED electric breast plates.
Further, charge and protection circuit 40, including charging circuit 410, the first reduction voltage circuit 420, the second reduction voltage circuit 430th, lithium battery protection circuit 440, battery voltage sampling circuit 450;
Charging circuit 410, for lithium cell charging, including the electricity being composed in series by single-pole double-throw switch (SPDT) K1, lithium battery Road;Charging module input VCC_IN connection USB interface 50, by single-pole double-throw switch (SPDT) K1 control charging module work or Disconnect;The one output end connection battery of single-pole double-throw switch (SPDT) K1, charges the battery, and another output end connects the second reduction voltage circuit 430;
Battery voltage sampling circuit 450:For the voltage of Real-time Collection lithium battery, and the magnitude of voltage is converted to into electricity leads to Cross LED array to show;Its input lotus root is connected to USB interface 50, and its output end is connected to controller AD sampling end PC2 pin;
First reduction voltage circuit 420, determines whether that USB is accessed and provides reference voltage for controller, its input connection VCC_IN power supplys, output end connection controller PC1 pin;
Second reduction voltage circuit 430, for differentiation of the controller to LED electric breast plate on off states reference voltage is provided, and its is defeated Enter the output end of end connection single-pole double throw toggle switch K1, output end connection controller PC3 pins;
Lithium battery protection circuit 440:For adjust the overcharging of lithium battery, cross put, excessively stream, short-circuit protection, its input connects The output end of order double-pole double throw switch K1.
Further, battery voltage sampling circuit 450 includes mu balanced circuit and filter circuit, and mu balanced circuit is by current-limiting resistance R6, Zener diode S3 are constituted.
Further, the first reduction voltage circuit 420, is composed in series by resistance R8 and R7, the input connection VCC_IN of resistance R8 Power supply, the output end connection controller PC1 pin of resistance R8, the sampling for providing USB insertions for controller judges reference;The output of R7 End ground connection.
Further, the second reduction voltage circuit 430, is composed in series by resistance R9 and R10, and the input connection hilted broadsword of resistance R9 is double The output end of throw switch K1, the output end connection controller PC3 pin of resistance R9 are controller to LED electric breast plate on off states Differentiation provide reference.
Further, lithium battery protection circuit 440, including protection IC U1 and resistance R1, R2, electric capacity C1, protection IC U1 are adopted With specialized lithium battery protection integrated circuit DW06D, for adjust the overcharging of lithium battery, cross put, excessively stream, short-circuit protection;Resistance R1 Input connect single-pole double-throw switch (SPDT) K1 output end, output end connect U1 the 5th pin VDD;The 6th pin VSS of U1 and 3rd pin S2 connects the negative pole of battery;Decoupling capacitor C1 is connected between the 6th pin VSS of U1 and the 5th pin VDD;The of U1 1 pin V- Jing resistance R2 is grounded, the 2nd pin S1 ground connection of U1.
Further, single-pole double-throw switch (SPDT) K1 adopts SS12D07VG2 single-pole double throw toggle switches, for realizing LED electronics chests The opening and closing of board.
Further, controller 10 adopts STM32F102C8 single-chip microcomputers.
Further, the switching diode S2 for preventing USB interface short circuit is provided with the charging circuit 410.
A kind of LED electric breast plate implementation methods with USB interface, it is characterised in that comprise the steps:
Step S1:Power-up initializing, carries out system initialization work, opens AD and USB peripheral, initialization system clock, AD peripheral hardwares, USB peripheral, arrange GPIO mouths, and used 33 I/O ports are set to into delivery outlet;
Step S2:By the PC1 pin AD sampled values of Read Controller 10, determine whether that USB is accessed;Controller PC1 Pin is ADC11 passages, reads AD conversion result, and is converted to analog voltage;
When accessing without USB, the magnitude of voltage that now the PC1 pins of controller 10 read is 0V, and system enters execution step S3;When there is USB to access ,+5V the voltages of USB inputs, after voltage, it should produce about 1.6V's on PC1 pins Magnitude of voltage, system enters execution step S4;
Step S3:System enters normal display state;When accessing without USB, while controller illustrates that switch must in work So be in open mode, system is directly entered normal displaying mode, in such a mode, system according to the prior figure downloaded or Font is shown, while the modification and operation of display pattern can be carried out by the button at the LED electric breast plates back side;
S4:On off state is judged by the PC3 pin voltages value of Read Controller 10;The PC3 pins of controller 10 are ADC13 passages, read AD conversion result, and are converted to analog voltage;
When single-pole double-throw switch (SPDT) K1 is in be connected between the 2-1 of contact, show that have USB to access still disconnects with lithium battery, Now 5V voltages should produce 2.5V voltages, then execution step S5 after electric resistance partial pressure in PC3 pins;Otherwise, when switch is in When connecting between the 2-3 of contact, the PC3 pins of controller should produce 0V voltages, skip to execution step S6;
S5:System is downloaded pattern;System is communicated by USB interface with host computer, receives what host computer sent Data command, when receiving, is shown in figure or word by LED array, while can be electric by LED The button at the sub- chest card back side carries out the modification and operation of display pattern;
S6:System enters charge mode;Now by the voltage of the PC2 pins of I/0 mouths Read Controller 10, worked as with differentiating Front lithium battery voltage, and electric quantity data is converted to, finally show in LED array.
Beneficial effects of the present invention are:
(1) LED array is directly driven using the common quick I/O port of STM32F103C8, it is to avoid drive integrated circult Use, effectively reduce cost.
(2) using with full speed USB interface STM32F103C8 controllers, PC software can directly with LED electric breast plates High-speed USB communication is carried out, so as to eliminate USB RS 232 circuits (PL2303), the cost of product is reduced by a relatively large margin, entirely The USB of speed not only increases the stability of system, also improves the reliability of system.
(3) adopt lithium battery protection circuit provide for lithium battery overcharge, cross put, the protection such as overcurrent, increased battery Service life.
Description of the drawings
Fig. 1 is the structured flowchart of the present invention;
Fig. 2 is to charge and protection circuit circuit diagram;
Fig. 3 is the flow chart that the present invention is realized.
Specific embodiment
In order that technological means, creation characteristic, reached purpose and effect that the present invention is realized are easy to understand, tie below Diagram and specific embodiment are closed, the present invention is expanded on further.
As shown in figure 1, the LED electric breast plates with USB interface, including controller 10, the LED array 20 being connected with control, USB interface 50, lithium battery 30 and key switch 60, also include charging and the protection circuit 40 being connected with lithium battery.
Wherein controller 10 is used for control, the driving of LED array and the display of whole system.Controller 10 is adopted STM32F102C8 high-performance low price single-chip microcomputers, it adopts the bit CPUs of ARM 32, LQFP44 to encapsulate, crystal inside oscillator, up to 37 quick I/O ports, are internally integrated 16 Channel 12-Bit AD peripheral hardwares, and with a full speed USB2.0 interface.LED array 20 is adopted 11 × 44 (11 rows, 44 row) LED dot matrix, are directly driven using the common I/O port of single-chip microcomputer, 33 I/O ports need to be used altogether, for scheming The array of shape or Chinese character shows.USB interface 50 adopts the needle interfaces of MINI USB 5, the display figure as electric breast plate or the Chinese Word is downloaded and charging inlet.Lithium battery 30 adopts commercially available 3.7V 500mA poly-lithium batteries, and providing for controller to hold Continuous power supply.Charge and protection circuit 40 be the charging accumulation of energy of lithium battery 30, the overcharging of lithium battery, cross put, overcurrent etc. provides guarantor Shield, prevents lithium battery from damaging, while providing voltage reference for controller 10.Key switch 60 includes a button and a fine motion Toggle switch, button is used for the switching of display pattern and content, switchs the opening and closing for realizing LED electric breast plates.
LED electric breast plates have three working conditions, and respectively normally display, charging show and closed mode.When without USB During plant-grid connection, if switch is opened, LED electric breast plates enter normal display state, and USB is according to the prior font downloaded or figure Shown successively, now display pattern or content can be switched by button;If switch is closed, power supply circuits cut-out, LED electronics Chest card enters closed mode, does not show any content.When there is USB to access, then LED electric breast plates enter charging dispaly state, Now LED display display content is depending on off state;If switch is opened, LED electric breast plates can enter charge mode, while Real time electrical quantity information is shown on dot-matrix array;If switch is closed, LED electric breast plates can be entered and download display pattern, now, can Font to display or figure are downloaded to the singlechip controller of electric breast plate on PC by USB interface, afterwards LED Electric breast plate then shown successively according to the font or figure downloaded, now can be by button switching display pattern or content.
As shown in Fig. 2 for charge and protection circuit circuit diagram, including charging circuit 410, battery voltage sampling circuit 450, First reduction voltage circuit 420, the second reduction voltage circuit 430, lithium battery protection circuit 440.
Charging circuit 410:It is sequentially connected in series by diode S2, single-pole double-throw switch (SPDT) K1, lithium battery;Charging module it is defeated Enter and hold lotus root to be connected to USB interface, the work or disconnection of charging module are controlled by single-pole double-throw switch (SPDT) K1;One output end of switch K1 Connection battery, another output end that charges the battery connects the second reduction voltage circuit 430.
Wherein diode S2 adopts ST4148 paster switching diodes, low with pressure drop, the features such as small power consumption, for preventing The unexpected short circuit of USB port, damages so as to avoid lithium battery repid discharge.
Battery voltage sampling circuit 450:For Real-time Collection lithium battery voltage, and the magnitude of voltage is converted to into electricity (hundred Divide ratio) shown by LED array;Its input lotus root is connected to USB interface, and its output end is connected to controller AD sampling end PC2 Pin.Battery voltage sampling circuit includes mu balanced circuit and filter circuit, and mu balanced circuit is by current-limiting resistance R6, Zener diode S3 groups Into current-limiting resistance R6 is using ZMM3V3 silicon substrate Zener diodes, burning voltage using 1K Chip-Rs, Zener diode K1 3.3V, does AD samplings, with Real-time Collection lithium battery voltage for after supply voltage voltage stabilizing, will send into LED electric breast plate controllers Value, electricity when charging for LED electric breast plates shows and provides data;Filter circuit is made up of filter capacitor C9, filter capacitor C9 Using 104 0402 patch capacitors, for filtering supply voltage in high fdrequency component.
Switch S3 adopts SS12D07VG2 single-pole double throw toggle switches, for realizing the opening and closing of LED electric breast plates.
First reduction voltage circuit 420, is composed in series by resistance R8 and R7, the input connection VCC_IN power supplys of resistance R8, electricity The output end connection controller PC1 pin of resistance R8, the sampling for providing USB insertions for controller judges reference;The output head grounding of R7. Resistance R8 and R7 are respectively adopted 0402 Chip-R of 5.1,10K.
Second reduction voltage circuit 430:It is composed in series by resistance R9 and R10, the input connection single-pole double throw of resistance R9 is stirred The output end of switch, the output end connection controller PC3 pin of resistance R9, are that controller is sentenced to LED electric breast plate on off states Indescribably for reference;The output head grounding of R10.Resistance R9 and R10 adopt the Chip-Rs of 10K 0402.
Lithium battery protection circuit 440:Including protection IC U1 and resistance R1, R2, electric capacity C1, protection IC U1 adopt specialized lithium Battery protection integrated circuit DW06D, is internally integrated MOSFET, be mainly used in adjusting the overcharging of lithium battery, cross put, excessively stream, short circuit Protection.The input of resistance R1 connects the output end of single-pole double-throw switch (SPDT) K1, and output end connects the 5th pin VDD of U1;The of U1 6 pin VSS and the 3rd pin S2 connect the negative pole of battery;Decoupling electricity is connected between the 6th pin VSS of U1 and the 5th pin VDD Hold C1, decoupling capacitor C1 adopts 104 0402 patch capacitors;The 1st pin V- Jing resistance R2 ground connection of U1, the 2nd pin S1 of U1 connects Ground.Resistance R1 and R2 are respectively adopted 100 ohm, 0402 Chip-R of 1K.When cell voltage is pressed less than overdischarge, U1 then cuts Disconnected lithium battery discharge loop;When being charged, charging voltage is higher than overcharged voltage, U1 then cuts off lithium cell charging loop, together When also monitor the overcurrent condition of lithium battery, lithium battery is implemented to protect.
When USB is accessed, VCC_IN connects+5V power supplys, and the power supply is labeled as power supply VCC through SS4148.As switch S3 When connecting between the 2-3 of contact, power supply VCC is applied to lithium battery two ends, is that lithium battery is charged;While the electricity at battery two ends After diode S3 voltage stabilizings, send into the PC2 pins of singlechip controller carries out AD samplings to pressure, to obtain lithium battery two ends in real time Voltage, so as to charge display data provide reference.When switch S3 connects between the 2-1 of contact, power supply VCC is through resistance R9 After R10 partial pressures, delivering to the PC3 pins of singlechip controller carries out AD samplings, so as to the change for system mode provides reference Data.
Network system realization is as follows:
Step S1:Power-up initializing, carries out system initialization work, opens AD and USB peripheral, initialization system clock, AD peripheral hardwares, USB peripheral, arrange GPIO mouths, and used 33 I/O ports are set to into delivery outlet;
Step S2:By the PC1 pin AD sampled values of Read Controller 10, determine whether that USB is accessed;Controller PC1 Pin is ADC11 passages, reads AD conversion result, and is converted to analog voltage;
When accessing without USB, the magnitude of voltage that now the PC1 pins of controller 10 read is 0V, and system enters execution step S3;When there is USB to access ,+5V the voltages of USB inputs, after voltage, it should produce about 1.6V's on PC1 pins Magnitude of voltage, system enters execution step S4;
Step S3:System enters normal display state;When accessing without USB, while controller illustrates that switch must in work So be in open mode, system is directly entered normal displaying mode, in such a mode, system according to the prior figure downloaded or Font is shown, while the modification and operation of display pattern can be carried out by the button at the LED electric breast plates back side;
S4:On off state is judged by the PC3 pin voltages value of Read Controller 10;The PC3 pins of controller 10 are ADC13 passages, read AD conversion result, and are converted to analog voltage;
When single-pole double-throw switch (SPDT) K1 is in be connected between the 2-1 of contact, show that have USB to access still disconnects with lithium battery, Now 5V voltages should produce 2.5V voltages, then execution step S5 after electric resistance partial pressure in PC3 pins;Otherwise, when switch is in When connecting between the 2-3 of contact, the PC3 pins of controller should produce 0V voltages, skip to execution step S6;
S5:System is downloaded pattern;System is communicated by USB interface with host computer, receives what host computer sent Data command, when receiving, is shown in figure or word by LED array, while can be electric by LED The button at the sub- chest card back side carries out the modification and operation of display pattern;
S6:System enters charge mode;Now by the voltage of the PC2 pins of I/0 mouths Read Controller 10, worked as with differentiating Front lithium battery voltage, and electric quantity data is converted to, finally show in LED array.
General principle, principal character and the advantages of the present invention of the present invention has been shown and described above.The technology of the industry Personnel it should be appreciated that the present invention is not restricted to the described embodiments, the simply explanation described in above-described embodiment and specification this The principle of invention, of the invention without departing from the spirit and scope of the present invention also to have various changes and modifications, these changes Change and improvement is both fallen within scope of the claimed invention.

Claims (9)

1. a kind of LED electric breast plates with USB interface, it is characterised in that including controller (10), the LED battle arrays being connected with control Row (20), USB interface (50), lithium battery (30) and key switch (60), also include charging and the protection being connected with lithium battery Circuit (40);Controller (10) is for the control of whole system, the driving of LED array and display;LED array (20) is for showing The content of controller (10) output;Lithium battery (30) provides sustainable power supply for controller (10);Charge and protection circuit (40) For the charging accumulation of energy of lithium battery (30), overcharge, mistake is put, overcurrent provides protection, prevents lithium battery from damaging, while be controller (10) voltage reference is provided;Display figure of the USB interface (50) as electric breast plate or Chinese character are downloaded and charging inlet;Button (60) are switched for the switching of display pattern and content and the opening and closing of LED electric breast plates are realized;Charge and protect electricity Road (40) includes 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 lithium cell charging, including by single-pole double-throw switch (SPDT) The circuit that K1, lithium battery are composed in series;Input VCC_IN connections USB interface (50) of charging module, is opened by single-pole double throw Close the work or disconnection of K1 control charging modules;The one output end connection battery of single-pole double-throw switch (SPDT) K1, charges the battery, another Output end connects the second reduction voltage circuit (430);Battery voltage sampling circuit (450), for the voltage of Real-time Collection lithium battery, and The magnitude of voltage is converted to into electricity to show by LED array;Its input lotus root is connected to USB interface (50), its output end connection In controller AD sampling end PC2 pin;First reduction voltage circuit (420), determines whether that USB is accessed and provides with reference to electricity for controller Pressure, its input connection VCC_IN power supply, output end connection controller PC1 pin;Second reduction voltage circuit (430), is controller pair The differentiation of LED electric breast plate on off states provides reference voltage, and its input connects the output end of single-pole double throw toggle switch K1, Output end connects controller PC3 pins;Lithium battery protection circuit (440), for adjust the overcharging of lithium battery, cross put, it is excessively stream, short Road is protected, and its input connects the output end of single-pole double-throw switch (SPDT) K1.
2. a kind of LED electric breast plates with USB interface according to claim 1, it is characterised in that battery voltage sampling electricity Road (450) includes mu balanced circuit and filter circuit, and mu balanced circuit is made up of current-limiting resistance R6, Zener diode S3.
3. a kind of LED electric breast plates with USB interface according to claim 1, it is characterised in that the first reduction voltage circuit (420), it is composed in series by resistance R8 and R7, the input connection VCC_IN power supplys of resistance R8, the output end connection control of resistance R8 Device PC1 pin processed, the sampling for providing USB insertions for controller judges reference;The output head grounding of R7.
4. a kind of LED electric breast plates with USB interface according to claim 1, it is characterised in that the second reduction voltage circuit (430), it is composed in series by resistance R9 and R10, the input of resistance R9 connects the output end of single-pole double-throw switch (SPDT) K1, resistance R9's Output end connects controller PC3 pin, and for differentiation of the controller to LED electric breast plate on off states reference is provided.
5. a kind of LED electric breast plates with USB interface according to claim 1, it is characterised in that lithium battery protection circuit (440), including protection ICU1 and resistance R1, R2, electric capacity C1, protection ICU1 adopts specialized lithium battery protection integrated circuit DW06D, For adjust the overcharging of lithium battery, cross put, excessively stream, short-circuit protection;The input connection single-pole double-throw switch (SPDT) K1's of resistance R1 is defeated Go out end, output end connects the 5th pin VDD of U1;The 6th pin VSS of U1 and the 3rd pin S2 connects the negative pole of battery;The 6th of U1 Decoupling capacitor C1 is connected between pin VSS and the 5th pin VDD;The 1st pin V- Jing resistance R2 ground connection of U1, the 2nd pin of U1 S1 is grounded.
6. a kind of LED electric breast plates with USB interface according to claim 1, it is characterised in that single-pole double-throw switch (SPDT) K1 Using SS12D07VG2 single-pole double throw toggle switches, for realizing the opening and closing of LED electric breast plates.
7. a kind of LED electric breast plates with USB interface according to claim 1, it is characterised in that controller (10) is adopted STM32F102C8 single-chip microcomputers.
8. a kind of LED electric breast plates with USB interface according to claim 1, it is characterised in that the charging circuit (410) being provided with prevents the switching diode S2 of USB interface short circuit.
9. a kind of LED electric breast plate implementation methods with USB interface according to any one of claim 1-8, its feature exists In comprising the steps:Step S1:Power-up initializing, carries out system initialization work, opens AD and USB peripheral, initialization system System clock, AD peripheral hardwares, USB peripheral, arrange GPIO mouths, and used 33 I/O mouths are set to into delivery outlet;Step S2:Pass through The PC1 pin AD sampled values of Read Controller (10), determine whether that USB is accessed;Controller PC1 pins are ADC11 passages, are read AD conversion result is taken, and is converted to analog voltage;When accessing without USB, the voltage that now the PC1 pins of controller (10) read It is worth for 0V, system enters execution step S3;When there is USB to access ,+5V the voltages of USB inputs, after voltage, it should The magnitude of voltage of about 1.6V is produced on PC1 pins, system enters execution step S4;Step S3:System enters normal display state; When accessing without USB, while controller is in work, illustrate that switch is necessarily in open mode, system is directly entered normal display Pattern, in such a mode, system is shown according to the prior figure downloaded or font, while LED electronics chests can be passed through The button at the board back side carries out the modification and operation of display pattern;Step S4:By the PC3 pin voltage values of Read Controller (10) Judge on off state;The PC3 pins of controller (10) are ADC13 passages, read AD conversion result, and are converted to analog voltage; When single-pole double-throw switch (SPDT) K1 is in be connected between the 2-1 of contact, show that have USB to access still disconnects with lithium battery, now 5V is electric Pressure should produce 2.5V voltages, then execution step S5 after electric resistance partial pressure in PC3 pins;Otherwise, when switch is in contact 2-3 Between when connecting, the PC3 pins of controller should produce 0V voltages, skip to execution step S6;Step S5:System is downloaded mould Formula;System is communicated by USB interface with host computer, receives the data command that host computer sends, and when receiving, is passed through LED array is shown in figure or word, while display mould can be carried out by the button at the LED electric breast plates back side The modification of formula and operation;Step S6:System enters charge mode;Now by the PC2 pins of I/0 mouth Read Controllers (10) Voltage, to differentiate current lithium battery voltage, and be converted to electric quantity data, finally show in 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 CN104795003A (en) 2015-07-22
CN104795003B true 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)

Families Citing this family (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
CN108337666B (en) * 2018-01-25 2024-05-24 苏州国网电子科技有限公司 Electronic beacon and fire-fighting internal tapping communication system
CN110086485A (en) * 2019-05-05 2019-08-02 京东方科技集团股份有限公司 Chest card
CN112382232B (en) * 2020-11-26 2022-05-20 深圳市洲明科技股份有限公司 LED driving device and LED display screen

Citations (6)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI395174B (en) * 2008-11-11 2013-05-01 Generalplus Technology Inc Information input panel using light emitted diode matrix

Patent Citations (6)

* 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
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

Also Published As

Publication number Publication date
CN104795003A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104795003B (en) LED electronic name tag with USB interface and realizing method thereof
CN204721079U (en) Dual-power automatic switching and charging circuit
CN207021723U (en) A kind of multi-cell electric power management circuit and a kind of virtual reality helmet
CN202190065U (en) Battery protective circuit
CN103618353A (en) Battery monitoring circuit
CN103812197B (en) Mobile power supply
CN106026222A (en) Power battery management control integrated circuit
CN107332208B (en) A kind of protection circuit, mainboard guard method and terminal
CN211530783U (en) Lithium battery protection module capable of realizing charging and discharging detection
CN109358548A (en) A kind of charging method of automotive diagnostic system, vehicle diagnosis and automotive diagnostic unit
CN110233512A (en) The quick power supply of multithreading
CN202014087U (en) Lithium battery charging protection circuit for portable system
CN103403643A (en) Charging and discharging management device and mobile terminal
CN106451693B (en) Treasured charges and OTG data line
CN208923859U (en) Fast charge circuit and electronic cigarette
CN109245237A (en) A kind of intelligent adaptation power supply and its adaptation method
CN101420131A (en) Energy saving control method for lithium ionic battery protection circuit and control circuit thereof
CN113595168A (en) Charging circuit and terminal device
CN204425000U (en) A kind of portable power source
CN201609889U (en) Combination of electric tool and battery pack
CN203933099U (en) A kind of portable power source device
CN207184124U (en) High-efficiency solar charger baby based on BQ24195 chips
CN213461191U (en) Control system based on intelligent vehicle
CN210224993U (en) Multithreading fast power supply
CN211930279U (en) Battery pack and charging combination device

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