Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device and method for controlling thermal printer by using GSM module with SPI interface

A technology of GSM modules and thermal printers, applied in printing devices, using printers for visual demonstration, digital output to printing units, etc., can solve the problems of poor timer accuracy, insufficient ROM space to store large fonts, etc., and achieve improvement Reading and writing speed, saving hardware resources, satisfying the effect of friendly display

Inactive Publication Date: 2010-04-07
XIAMEN STELCOM INFORMATION & TECH
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Therefore, in the application of the GMS module, especially for the problem that the software timer of the SIM300 module has poor precision and cannot directly control the thermal print head and the problem of insufficient ROM space, the utility model proposes a method using a voltage comparator combined with software Interruption and the method of controlling the speed of the stepper motor with instruction delay in the program solves the problem that the MMI timer of the SIM300 module has poor response accuracy and cannot do precise timing control; at the same time, the system uses the method of hardware SPI multiplexing not only solves the problem It solves the problem that the ROM space of the SIM300 module cannot store a large font, and effectively improves the reading and writing speed of the font chip and the shifting speed of the print head data, so that the built-in resources of the SIM300 module can be fully utilized

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Device and method for controlling thermal printer by using GSM module with SPI interface
  • Device and method for controlling thermal printer by using GSM module with SPI interface
  • Device and method for controlling thermal printer by using GSM module with SPI interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be further described in conjunction with the accompanying drawings and specific embodiments.

[0045] refer to figure 2 As shown, in the device of the present invention, in the best embodiment, the GSM module adopts the SIM300 module, and the thermal printer is Jingxin JX-702-48R thermal print head. The method of the invention is applicable to GSM modules with SPI interface and general thermal print heads. The embodiment of the present invention is only described with the SIM300 module. Principle of the present invention is:

[0046] (1) Utilize the SPI interface 18 of the SIM300 module 1 to transfer data and connect the function port to expand the connection memory 5 for storing font data. Further, the SPI_DATA port of the SIM300 module is used to multiplex the MOSI line port connected to the FLASH memory, the SPI_CLK port of the SIM300 module is multiplexed to be connected to the read and write clock line port of the FLASH memory, and th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the field of electronic control, more particularly to a method for controlling a thermal printer by using a GSM module with a SPI interface. The control device of the invention is extended to connect with a memory by using a data transmission and connection capability port of the SPI interface of the GSM module so as to store font data, and controls a data latch unit, a paper detection unit and a heating unit of the thermal printer by using the data transmission and connection capability port of the SPI interface of the GSM module; a temperature detection unit of the thermal printer enters the capability port of the GSM module via a voltage comparator in order to form detection interruption; and a secondary capability port of the GSM module converts two-waveform into four-waveform through a stepping motor driver so as to drive the stepping motor of the thermal printer. Hence, ideal application effect can be obtained on SIM300 module according to the invention and the friendly display of MMI human-computer interface can also be well satisfied.

Description

technical field [0001] The invention relates to the field of electronic control, in particular to a method for realizing thermal printer control by using a GSM module with an SPI interface, and is especially suitable for the extended application of the SIM300 module. Background technique [0002] With the popularization of the GSM module application, more and more occasions need to realize the bill printing function on it, for example: the mobile terminal developed with the SIM300 module needs to have the printing of mobile recharge bills, the printing of call details, and the SIM card remote Printing of card writing bills, printing of electricity payment bills, etc.; in general occasions, you can choose a miniature thermal print head with fast printing speed, low noise, high reliability, clear writing, small and light head as the actuator. [0003] SIM300 module is a GSM dual-frequency module launched by SIMCOM, which mainly provides wireless interface for voice transmissio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): B41J29/393B41J2/315G06F3/12G06K15/02
Inventor 洪添长
Owner XIAMEN STELCOM INFORMATION & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products