This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Header file for Thermal printer for TM4C123G microcontroller

Other Parts Discussed in Thread: TM4C123FH6PM, DRV8837

Hi,

I am doing final B.E project on Direct Thermal printer. I searched all code libraries for thermal header file in tivaware C series. But I was unable to find that. Could someone send thermal printer header/library file. I will be using SSI module(Serial Sync Interface) for data to be sent in binary form from one port of this module to thermal head.

  • Hi,

    As far as I know, Tiva does not have a specific library for a thermal printer. Instead, you can read/understand/adapt an Arduino library you can find as first downloadable item on this page.

    Petrei

  • Hi Anand,

    Which thermal printer are you planning to use? Can you send the link for the datasheet for the same if you have one already shortlisted?

    Amit

  • Hi,

    I am using Fujitsu FTP628MCL101/103 high speed thermal printer(2 inch2746.PRINTER DRIVER.pdf) interfaced to TM4C123G.

    Datasheet link is enclosed above.

  • Hi,

    This data sheet totally contradicts your assertion in the first post about SSI. The supported interfaces are parallel, USB or serial. The suggested Arduino driver is for similar printer(Fujitsu) and is for UART, so can be used...

    Petrei

  • I am using Fujitsu FTP628MCL 101/103 Thermal printer (width 2") which is interfaced with TM4C123FH6PM .

    Pl refer my interfacing diagramPort pin connections from uC to motor driver & thermal head,etc

    where I have used PB6 of microcontroller to send data in serial form to printer head(pin no:24). I have  used 6 Strobe (STB0-STB5)signals for thermal head energizing control refer datasheet. 7178.PRINTER DRIVER.pdf. 4 pins for pwm motor control (DRV 8833)(PMA1,PMB1,PM/A1,PM/B1 of above diagram) Refer datasheet6215.drv8833.pdf page 9 of this DS, I have used in forward direction.

    Pl help how to develop thermal header file(.h) for above problem.

  • Hi, 

    At this stage, you changed the problem - if its was the same from the beginning, then was mis-stated - so you need to realize an interface board to only the print head? If yes, why, since there already is an interface board ready to be connected to the printer head:  http://www.manualsdir.com/manuals/105198/fujitsu-ftp-608-series.html?download

    Strongly suggest to use such ready board and concentrate only on the high level driver. If your job is to do such interface board, then the documentation available is not enough - six pages with connector description could not supply info about motor, software for that and for thermal head. Contact Fujitsu for such info. Timing diagrams and protocols are essential for such job.

    Petrei

  • Hi,

    Could you please help me with motor configurations of IC drv8837(PWM driver motor IC) with microcontroller TM4C123FH6PM interfaced to PORT A4 to A7 i.e header file . Motor is to be running in forward direction with fast decay.

    I will be using dc motor of print head(fujitsu628MCL101 series) which is interfaced via IC drv8837 to microcontroller as above.

    For pwm: motor duration should be around 3-5sec.Initially i just want to see timing graph on oscilloscope from output of driver Ic drv8837 (datasheet of this is in previous post). But I cannot change the interface board now due to some constraints i.e. I have to use TM4C123 uC with fujitsu thermal head(FTP628MCL101). So please help me with these.