CN105620060A - Printer control circuit - Google Patents
Printer control circuit Download PDFInfo
- Publication number
- CN105620060A CN105620060A CN201510955532.5A CN201510955532A CN105620060A CN 105620060 A CN105620060 A CN 105620060A CN 201510955532 A CN201510955532 A CN 201510955532A CN 105620060 A CN105620060 A CN 105620060A
- Authority
- CN
- China
- Prior art keywords
- control circuit
- chip microcomputer
- circuit
- printer control
- printer
- 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.)
- Pending
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/38—Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
- B41J29/393—Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Electronic Switches (AREA)
Abstract
The invention discloses a printer control circuit. The printer control circuit comprises a thermal printer core and a controller, wherein a power supply module, a single chip microcomputer, a character library memory and a step motor drive circuit are arranged in the controller. According to the printer control circuit, control characteristics of the printer control circuit are increased when some advantages of the conventional thermal printer are continued. The printer control circuit based on STM32 takes an STM32F103C8 single chip microcomputer as the controller, and takes the memory, a step motor and a thermal printing head as control objects; an upper computer and the single chip microcomputer carry out serial port communication, and a serial port testing software is used for sending orders and characters, so that the corresponding characters can be directly printed on thermal paper. According to the test, the printer control circuit is stable and reliable, and the printed handwriting is clear; and both English and Chinese characters can be printed, and bar codes and two-dimensional codes also can be printed.
Description
Technical field
The invention belongs to industrial automation, relate to the coding code fetch of English, Chinese character, bar code and Quick Response Code, be specifically related to a kind of minitype thermal printer electric machine control system.
Background technology
At present, the most cost of thermal printer on market is all significantly high, and volume is also relatively big, can not meet the requirement that a lot of device requirement printer is small and exquisite and cost is low, and the printer control circuit therefore designing a kind of low cost necessitates. Simultaneously, on market, existing thermal printer is merely able to print English, Chinese character mostly, part can type slug shape code, development along with the epoch, Quick Response Code application in life is more and more higher, therefore design one can with ordinary symbol and printing bar code, and the thermal printer that can print in the way of Quick Response Code again necessitates.
Summary of the invention
It is an object of the invention to solve above-mentioned problem of the prior art, there is provided that a kind of cost is low, volume is little, print clear, stable minitype thermal printer electric machine control system, this thermal printer can print English, Chinese character, bar code and Quick Response Code, and line space can be set, select alignment pattern, the left side is set from, printable character overstriking selects and high power width selects again. For ease of the printer module of development and product support different vendor newly developed on market, instruction used by this set control system and each manufacturer is compatible, therefore without upgrading software and replaceable corresponding assembly keeps in repair.
To achieve the above object, the technical solution adopted in the present invention is:
A kind of printer control circuit, including thermal printer cassette and controller, is provided with power module, single-chip microcomputer, character library memorizer in controller; Single-chip microcomputer is also associated with telecommunication circuit and for providing the crystal oscillating circuit of clock to single-chip microcomputer; The control interface of single-chip microcomputer is connected to the stepper motor driving circuit for driving printhead paper feed; The external 12V voltage source of power module, single-chip microcomputer, character library memorizer and telecommunication circuit are all connected with the 3.3V voltage output end of power module; Stepper motor driving circuit, thermal printing power supply circuits are connected with the 7.6V of power module.
Being connected to the encryption chip circuit for protecting system program on the control interface of described single-chip microcomputer, encryption chip circuit is connected with the 3.3V voltage output end of power module.
Described encryption chip circuit adopts 12C bus mode to be driven.
Described power module adopts TD7580 blood pressure lowering and AMS1117-3.3 voltage stabilizing chip.
Described character library memorizer adopts GT32L32M0180 word-base chip, and itself and single-chip microcomputer adopt SPI mode to carry out data interaction.
Described telecommunication circuit adopts serial ports to turn usb communication circuit.
Described single-chip microcomputer adopts STM32F103C8 single-chip microcomputer.
Described stepper motor driving circuit adopts LB1838 driving chip, and printhead is connected to overheating protection circuit, it is prevented that temperature is too high burns printhead.
Compared with prior art, the method have the advantages that
The control characteristic of oneself is added while some advantages that the present invention has continued conventional thermal printer. Consider that thermal printer data input and output need a spi bus, character library memorizer needs a spi bus, step motor drive needs four road PWM, between printer and host computer, communication needs a road USART, and the STM32F103C8 single-chip microcomputer that native system is selected contains 64KBFlash, 20KBSRAM, 2 12 ADC, three general 16 bit timing devices, a PWM intervalometer, two SPI, two USART, function complies fully with the needs of this control system, and it is cheap, and this is the big advantage of one. Secondly, native system adopts standard Chinese character word-base chip GT32L32M0180. This word-base chip is a 12x12,16x16,24x24,32x32 dot matrix word library chip that has, and supports GB18030 GB Chinese character, ascii character and bar code picture library, and its character library is completely huge. 3rd, native system is added with printhead overheating protection circuit, it is prevented that temperature overheating burns printhead.
Accompanying drawing explanation
Fig. 1 is the hardware structure diagram that the present invention controls system;
Fig. 2-1 turns the circuit diagram of 7.6V printer power supply for system 12V;
Fig. 2-2 is the circuit diagram of system 3.3V power supply;
Fig. 3 is the circuit diagram that the present invention controls system STM32F103C8 single-chip microcomputer;
Fig. 4 is the serial communication interface circuit diagram that the present invention controls system;
Fig. 5 is the character library storage circuit diagram that the present invention controls system;
Fig. 6 is the encryption chip circuit diagram that the present invention controls system;
Fig. 7 is the stepper motor driving circuit figure that the present invention controls system;
Fig. 8-1 is printer core port circuit figure;
Fig. 8-2 is overheating protection circuit figure.
Detailed description of the invention:
Below in conjunction with accompanying drawing, the present invention is described in further detail:
Referring to Fig. 1 to Fig. 4, the present invention adopts STM32F103C8 single-chip microcomputer as controller, and the module mutual with single-chip microcomputer has character library storage circuit, serial communication circuit, stepper motor driving circuit and the encryption chip circuit to system program encryption. If Fig. 2-1 is to shown in 2-2, the input of power module is connected with outside 12V voltage source, and input voltage generates 7.6V voltage by blood pressure lowering chip TD7580 and provides power supply for printer core and motor; 7.6V voltage produces the output of 3.3V voltage through blood pressure lowering chip AMS1117-3.3, and is connected with single chip circuit, character library storage circuit, telecommunication circuit and encryption chip circuit.
As it is shown in figure 5, character library storage circuit adopts SPI mode and single-chip microcomputer to carry out data exchange; As shown in Figure 6, encryption chip circuit adopts I2C bus mode to be driven, and effect is in that protection system program is not easily cracked; As it is shown in fig. 7, printer stepper motor driving circuit uses LB1828 driving chip, often adding a pulse, paper feed motor just takes a step forward.
As shown in Figure 8, thermal printing head interface circuit is mainly made up of scarce paper signal detection, computer heating control and overheating protection circuit, stepper motor driving circuit etc. As shown in Fig. 8-1, the detection lacking paper signal is realized by the light-sensitive device being integrated within printhead, and CPU is undertaken lacking paper detection by the printhead port PHK low and high level signal sent; Measuring of printhead temperature is obtained by the partial pressure value TM of the internal negative tempperature coefficient thermistor of detection print machine with external resistance, and its magnitude of voltage raises with the temperature of critesistor and reduces; As Fig. 8-2 show overheating protection circuit, when print temperature rises to ultimate value, TM terminal voltage will be less than the reference voltage of comparator inverting input, now comparator output low level, after CPU receives signal, cuts off printer power supply, space suppression.
The present invention can turn USB circuit by serial ports and communicate with host computer, and what host computer adopted is COM Debug Assistant, and during printing, the corresponding order of input and the character to print can print on thermal printing paper.
The present invention relates to the coding of English, Chinese character, bar code and Quick Response Code and code fetch. What adopt due to thermal printer is that the form of character pattern prints, it is therefore desirable to obtain the dot array data of various character. In native system, the character pattern of Chinese character is obtained by standard Chinese character word-base chip GT32L32M0180, and English, bar code, Quick Response Code are all then the lattice informations being obtained respective symbols by program coding.
Above content is only the technological thought that the present invention is described; protection scope of the present invention can not be limited with this; every technological thought proposed according to the present invention, any change done on technical scheme basis, each fall within the protection domain of claims of the present invention.
Claims (8)
1. a printer control circuit, it is characterised in that: include thermal printer cassette and controller, in controller, be provided with power module and single-chip microcomputer, and the character library interacted with single-chip microcomputer stores circuit; Single-chip microcomputer is also associated with telecommunication circuit and for providing the crystal oscillating circuit of clock to single-chip microcomputer; The control interface of single-chip microcomputer is connected to the stepper motor driving circuit for driving printhead paper feed; The external 12V voltage source of power module, stepper motor driving circuit is connected with the 7.6V voltage output end of power module with thermal printer cassette; Single-chip microcomputer, character library storage circuit and telecommunication circuit are connected with the 3.3V voltage output end of power module.
2. printer control circuit according to claim 1, it is characterised in that: being connected to the encryption chip circuit for protecting system program on the control interface of described single-chip microcomputer, encryption chip circuit is connected with the 3.3V voltage output end of power module.
3. printer control circuit according to claim 2, it is characterised in that: described encryption chip circuit adopts 12C bus mode to be driven.
4. the printer control circuit according to claim 1 or 2 or 3, it is characterised in that: described power module adopts TD7580 and AMS117-3.3 blood pressure lowering chip.
5. the printer control circuit according to claim 1 or 2 or 3, it is characterised in that: described stepper motor driving circuit adopts LB1838 to drive.
6. the printer control circuit according to claim 1 or 2 or 3, it is characterised in that: described telecommunication circuit adopts serial ports to turn usb communication circuit.
7. the printer control circuit according to claim 1 or 2 or 3, it is characterised in that: described single-chip microcomputer adopts STM32F103C8 single-chip microcomputer.
8. the printer control circuit according to claim 1 or 2 or 3, it is characterised in that: described thermal printer cassette adopts JX-700-48, carries the critesistor of paper-out detection device and negative temperature coefficient, and be integrated with a bipolar two-phase motor inside it.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955532.5A CN105620060A (en) | 2015-12-17 | 2015-12-17 | Printer control circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510955532.5A CN105620060A (en) | 2015-12-17 | 2015-12-17 | Printer control circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105620060A true CN105620060A (en) | 2016-06-01 |
Family
ID=56035563
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510955532.5A Pending CN105620060A (en) | 2015-12-17 | 2015-12-17 | Printer control circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105620060A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109358901A (en) * | 2018-12-06 | 2019-02-19 | 深圳高通半导体有限公司 | A kind of processor chips and implementation method of decodable code dot matrix word library |
CN109484038A (en) * | 2018-12-26 | 2019-03-19 | 深圳市美松智能设备有限公司 | A kind of hardware system of printer |
CN109515006A (en) * | 2018-11-06 | 2019-03-26 | 安徽瀚洋纸品印刷有限公司 | A kind of thermal printing machine control system |
CN110641166A (en) * | 2019-09-25 | 2020-01-03 | 深圳炜煌打印机有限公司 | Printer control circuit and printer |
CN111231519A (en) * | 2020-01-19 | 2020-06-05 | 珠海趣印科技有限公司 | Printer heating development control system and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130257971A1 (en) * | 2012-03-27 | 2013-10-03 | Canon Kabushiki Kaisha | Colorimetric apparatus and colorimetric method |
US20140146104A1 (en) * | 2011-06-17 | 2014-05-29 | Seiko Epson Corporation | Image recording device and method of image recording |
CN204360221U (en) * | 2014-12-25 | 2015-05-27 | 长安大学 | A kind of push-rod electric machine control system |
CN103192609B (en) * | 2012-01-10 | 2015-07-29 | 山东新北洋信息技术股份有限公司 | The control method of thermal printer and thermal printer |
CN105022307A (en) * | 2014-04-18 | 2015-11-04 | 深圳市力生美半导体器件有限公司 | Drive integrated circuit and drive control device |
CN205272894U (en) * | 2015-12-17 | 2016-06-01 | 长安大学 | Miniature thermal printer control system |
-
2015
- 2015-12-17 CN CN201510955532.5A patent/CN105620060A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140146104A1 (en) * | 2011-06-17 | 2014-05-29 | Seiko Epson Corporation | Image recording device and method of image recording |
CN103192609B (en) * | 2012-01-10 | 2015-07-29 | 山东新北洋信息技术股份有限公司 | The control method of thermal printer and thermal printer |
US20130257971A1 (en) * | 2012-03-27 | 2013-10-03 | Canon Kabushiki Kaisha | Colorimetric apparatus and colorimetric method |
CN105022307A (en) * | 2014-04-18 | 2015-11-04 | 深圳市力生美半导体器件有限公司 | Drive integrated circuit and drive control device |
CN204360221U (en) * | 2014-12-25 | 2015-05-27 | 长安大学 | A kind of push-rod electric machine control system |
CN205272894U (en) * | 2015-12-17 | 2016-06-01 | 长安大学 | Miniature thermal printer control system |
Non-Patent Citations (2)
Title |
---|
池品优: "基于AEM的热敏打印机系统的设计与实现", <中国优秀硕士学位论文全文数据库 信息科技辑> * |
池品优: "基于ARM的热敏打印机系统的设计与实现", <中国优秀硕士学位论文全文数据库 信息科技辑> * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109515006A (en) * | 2018-11-06 | 2019-03-26 | 安徽瀚洋纸品印刷有限公司 | A kind of thermal printing machine control system |
CN109358901A (en) * | 2018-12-06 | 2019-02-19 | 深圳高通半导体有限公司 | A kind of processor chips and implementation method of decodable code dot matrix word library |
CN109358901B (en) * | 2018-12-06 | 2023-08-25 | 深圳高通半导体有限公司 | Processor chip capable of decoding dot matrix word stock and implementation method |
CN109484038A (en) * | 2018-12-26 | 2019-03-19 | 深圳市美松智能设备有限公司 | A kind of hardware system of printer |
CN109484038B (en) * | 2018-12-26 | 2024-04-19 | 深圳市美松智能设备有限公司 | Hardware system of printer |
CN110641166A (en) * | 2019-09-25 | 2020-01-03 | 深圳炜煌打印机有限公司 | Printer control circuit and printer |
CN110641166B (en) * | 2019-09-25 | 2021-12-07 | 深圳炜煌打印机有限公司 | Printer control circuit and printer |
CN111231519A (en) * | 2020-01-19 | 2020-06-05 | 珠海趣印科技有限公司 | Printer heating development control system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205272894U (en) | Miniature thermal printer control system | |
CN105620060A (en) | Printer control circuit | |
CN102650975B (en) | Realization method of I2C bus for multi-hardware platform FT server | |
CN203864189U (en) | Printing and scanning identification system based on two dimension code | |
CN101648462B (en) | Control circuit of stylus printer based on FPGA module | |
US4566813A (en) | Dot-matrix print controller | |
WO2024125142A1 (en) | Method and apparatus for implementing thermal printing | |
CN110936741A (en) | Single-chip SOC (system on chip) of thermal printer | |
CN103171309A (en) | Minitype thermal printer | |
CN112904751B (en) | Heating logic control method of thermal print head | |
CN101630239B (en) | Information processing apparatus and image processing method | |
CN112590401B (en) | Thermal printer control method, thermal printer control device, thermal printer and medium | |
CN113232427B (en) | Thermal printing system and method based on Bluetooth SOC chip and thermal printer | |
CN207825756U (en) | A kind of miniature stylus printer of linux system | |
CN109515006A (en) | A kind of thermal printing machine control system | |
CN204945673U (en) | A kind of desktop type 3D printer control system | |
JP5942663B2 (en) | Printing system and template editing method | |
CN212098053U (en) | Single-chip SOC (system on chip) of thermal printer | |
CN204936213U (en) | A kind of desktop type 3D printer control system controlled based on WiFi | |
US20130033555A1 (en) | Printer | |
US9357091B2 (en) | Information input method, apparatus and system for associated apparatus of imaging device | |
US20100211809A1 (en) | Electronic circuit, printing apparatus and electronic apparatus | |
CN112590400B (en) | Thermal printer control method, thermal printer control device, thermal printer and medium | |
CN102529458B (en) | Stylus printer printing head guard circuit and printer | |
US9807838B1 (en) | System and method for providing downloadable custom LED blinking pattern for backplane controller or enclosure management controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160601 |
|
WD01 | Invention patent application deemed withdrawn after publication |