Part Number Hot Search : 
355702 CZRB3013 STD9N10L CMF120A PF55N06 11201 M74HC10 368014
Product Description
Full Text Search
 

To Download 02-A104C Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  able systems limited northwich, cheshire, england www.able-system s. c om users' guide to the able systems a 104c single -chip printer controller contents section 1 introduction and on-line i nformation 2 connections 3 instal l ation 4 operation and programming appendix rec o mmended operating c ircuit schematic diagram 1 introduction this document is a users' guide, written for the person designing-in, connecting and using the able systems a104c single-chip printer controller for the epson m-160 series of 4-ne e dle mini-printer mech an isms. please read it carefully before making any connection. the a104 c is an enhanced replacement for the a160c series of controller chips, and shares many features of the range. however, it should be noted that although every e f fort has been made to simplify the re-drafting of pcb layouts, the pin connections are entirely di f feren t. throughou t this document, the designation a160c can generally be taken to repr e sent the a150c, a160c, a163c, a164c, and national variants of these devices. 1 . 1 on-line information able systems maintains a site on the world wide web. this will include application data updates, product announcements, and e-mail facilities for customer support. the url of our web site is: http://www.able-systems.com our e-mail address is: able@able-systems.com copyright notice and disclaimer note that copyright subsists in all able systems intellectual property, including controller firmware (embedded software) and circuit diagrams, pin connection lists and application data. no warranty in respect of patent rights of able systems limited or of third parties is given. unauthorised reproduction or amendment of controller firmware may result in prosecution. note: epson is a registered mark of its owner seiko epson corporation. references to this or other owners' marks in this document are for illustrative purposes only.
copyright ? able systems limited 1999 all rights reserved a104c_user_guide2.lwp // 11/10/00, 17:08 // ike a 104c users? guide page 2 of 8
2 a104c pin connections the a104c is supplied as a 44-pin flatpack, suitable for surface mounting on a pcb. for designers converting from the a160c series of controllers, the old pinouts are given for reference. a104c a160c i/o function pin no pin no 1 32 o/p solenoid c 2 33 o /p solenoid d 3 34 o/p solenoid d 4 4 i/p ic reset (n.b. inverted cf a160c) 5 6 i/p serial rx 6 --- --- n/c 7 --- --- spare (n/c) 8 6 i/p parallel data strobe 9 39 i/p mech tacho 10 37 o /p mech motor drive 11 --- --- spare (n/c) 12 1 i/p mech reed switch (reset) 13 24 i/p feed switch 14 3 o/p xtal out (n.b. freq. altered cf a160c) 15 2 i/p xtal in 16 20 i/p vss (ov power) 17 --- --- n/c 18 --- i/p classic/new select (n/c = classic) and alternat ive parallel mode selection (low = parallel) 19 22 i/p inverted mode select 20 23 i/p self test mode 21 36 o/p busy 22 --- --- eeprom cs, or character set selection b0 } 23 --- --- eeprom clk, or character set selection b1 } see below 24 --- --- eeprom di, or character set selection b2 } for details 25 --- --- eeprom do, or character set selection b3 } 26 --- --- n/c 27 --- --- n/c 28 --- --- n/c 29 --- i/p must be tied to vcc 30 12 i/p data input d0 } 31 13 i/p data input d1 } (n.b. d0-d7 require 32 14 i/p data input d2 } pullup resistors) 33 15 i/p data input d3 } 34 16 i/p data input d4 } 35 17 i/p data input d5 } (d 5 is baud rate select in serial mode) 36 18 i/p data input d6 } (d6 is baud rate select in serial mode) 37 19 i/p data input d7 } (d7 is parallel/serial mode select at reset) 38 40 --- vcc (+5v power) 39 --- --- n/c 40 27 o/p solenoid a 41 28 o/p solenoid a 42 29 o/p solenoid b 43 30 o/p solenoid b 44 31 o/p solenoid c notes: 1. n/c = make no connection to this pin 2. unless specified otherwise, all inputs/outputs function as before. 3. a recommended circuit schematic for the a104c is attached in an appendix . a 104c users? guide page 3 of 8
3 a104c installation the a104c must be installed in a circuit generally corresponding to that in the appendix. no responsibility can be accepted for customers? applications based on any other design. the essential external requirements of the a104c are: ? a clean dc power supply of 5v 5% ? a timing crystal or ceramic resonator circuit (nominally 11 mhz if the serial data interface is to be used) ? a reset generator providing a positive-going pulse of at least 24 oscillator cycles (typically 2.2 microseconds) after the oscillator is established. a pulse of 10 ms will normally be sufficient. ? a motor drive and common solenoid drive cir cuit ? four (4) solenoid drive cir cuits ? processing circuits for the mecha nism tacho, reed switch and user interface as applicab l e it is recommended that the power supply for the controller circuits is separate from the supply to the mechanism motor and solenoid circuits, to minimise interference. optionall y, an eepro m (e 2 prom) of the type 9346 may be attached to pins 22 to 25. the a104c will recognize the presence of the eeprom and configure it appropriately on initial power-u p . serial and parallel data modes are selected using pin 37: parallel mo de is selected if this is held low (0v) at reset time seri a l mode is selected if this is held high (pullup to +5v) at reset time serial data baud rates are selected on pins 35 ( d5 ) and 36 ( d6 ) when the chip is in serial mode. serial data baud rates: 300 1200 2400 9600 d5 1 0 1 0 d6 0 1 1 0 note that the combination for 9600 baud was used to select 110 baud in the a160c family. 4 a104c operation and programming mechanism selection all the four-needle epson mini-printer mechanisms (m150, m160, m163, m164 and m170) are now support e d by a single a104c devic e. mechanism selection is automatic. the chip exercises the mechanism on the first power - up, and its type is sensed by counting tacho pulses per head cycle. the result is stored in the eeprom , and on subsequent power- ups the mechanism identity is read from there . if the eep rom is not fitted, the chip will carry out the mechanism selection test at every power-up. printing modes and data buffer character printing modes include graphics, inverted, double height and double width as in the a160c series. graphics mode is cancelled at the end of every dot line, whereas the combinations of double height and width remain in force until cancelled by a new command. note that whereas in t he a160c a new escape sequence cleared the data buffer, the a104 will print data before the new escape code and then implement the new mode selection. the data buffer accommodates 48 bytes, which (unlike the a160c) can extend over many physical print lines, depending on the mechanism in use and the data format ; and new data can be entering the buffer as previous data are being printed. a 104c users? guide page 4 of 8
character sets in addition to the 8 countr y-specific sets of the a160c , a ful l 8 bit ibm 224-character set is supported. previous versions of the a160c family of controller chips have been supplied programmed with uk, french, german, ?scandinavian?, danish/norwegian, swedish, japanese and spanish character variations (often to special order). the a104c contains all these variants, which are selected by eeprom setting (after a software command) or jumpers. if the selection is m ade from the host by software the structure of the command is as follows: <12 7 >< n > wh e re n is a byte of t h e form [ x , x , x , x , b 3 , b 2 , b1 , b0 ] (x = don ? t care) country selection: b3 b 2 b1 b0 character set 0 0 0 0 full 8 bit ibm 0 0 0 1 uk 0 0 1 0 french 0 0 1 1 german 0 1 0 0 scandinavian 0 1 0 1 danish 0 1 1 0 swedish 0 1 1 1 japanese 1 0 0 0 spanish the com ma n d <126> s tor es the cur r ent country selection and print mode (double height, etc) in the eep rom (if fitted). if this code is not receive d (or no eeprom is fitted) the a104c reverts to default values on the next power up. if the sel e ction is made by hardware links or pcb jumpers (no eeprom fitted), please note that the internal data bits are logically inverted with respect to the outside conne ctions, so to assert a ?1? the input pin should be connected to logic 0 ( gnd , 0v ) , and to assert a ?0? it should be left open or connected to vcc (+5v). the software command <127 > < n> temporarily overrides the eeprom or jumper settings. new a104c control codes and retained a160c control codes ( if buffer is not empty, print buffer contents and) set print mode:. note: n is a byte of t h e form [ 0,0,0, 0 , b 3 , b 2 , b1 , b0 ] (all except the lower 4 bits must be zero, to avoid conflict with the new escape codes below). mode selection: b3 b 2 b1 b0 print mode 0 0 0 0 default x x x 1 inverted (reversed) mode x x 1 x graphics mode x 1 x x double width mode 1 x x x double height mode any combination of these modes is permissible. as in the a 160c, the g raphics mode is reset at the end of every dot line. (print any buffer contents, and) print self test message. < 127 > ( p rint any buffer contents, and) select country character set. a 104c users? guide page 5 of 8
/section continues... a 104c users? guide page 6 of 8
<126> ( print any buffer contents, and) store country character set and print mode in eeprom. <125 > ( p rint any buffer contents, and ) c lear the eeprom. print any buffer contents (line terminator). treat as . print any buffer contents (line terminator). treat as . print any buffer contents (line terminator). treat as single . print any buffer contents (line terminator). treat as single . a character l ine is automatically terminated and printed if it reaches the full line width for a given mechanism and print mode setting. not e that i f any of the above 4 line te rmi n ator codes is rec eived imme diately after a character which completes a printable line, it will be ignored. this treatment differs from the a160c but will generally be an improvement. print any buffer contents, and feed 30 dotlines. operational notes on the ee prom for system designers on power up, the a104c chip attempts to read fr o m the eeprom memory location 00. if the code read back is ?hi? it ass umes that there is an eeprom connected, and that it contains useful information, which is read into the appropriate a104c ram locations. the chip then exits the power on routine. if the code ?hi? is not read back from the eeprom , there is either no useful information stored in the eeprom or there is no eeprom connected to the chip. in this event the chip will cycle the mechanism and identify the mechanism type and the tacho edge which is furthest away from the mechanism reset signal (to minimise dot line jitter). the chip will then attempt to write ?hi? and other default setup data to the eeprom . the chip then attempts to read the eprom: if the chip reads back the code ?hi?, the mech anism data and setup data has been stored in the eeprom , and the chip exits the power on routine. if for the second time of reading the eeprom the code word ?hi? is not found, the chip assumes there is no eeprom attached and it uses the jumper settings for the character set information on pins 22 to 25, and the inverted mode hardware select pin 19. the chip exits the power on routine. if the print quality deteriorates due to dotlines being displaced, the eeprom can be cleared and the chip forced to re p e a t the fi rst-time ini tialisation by sending the code <125>. parallel and serial interface setup in ?classic? mode, the parallel interface is s elected by having d7 low (logic ?0?) at power up. in some applications the port driving this pin may be indeterminate at power up and so an alternative parallel select pin 18 is provided. if either of the two serial/parallel select pins are held to ground on start up, then parallel mode is selected. b oth pins must be left high to select serial data. 8 bit data is selected when using the 8 bit ibm character set, otherwise the 8th data bit is ignored. in serial mode, 8 bit data is selected when using the 8 bit ibm character set, otherwise 7 data bits are assumed. busy output signal the controller asserts the busy output (pin 21 = logic ?1 ?, + 5v) when the input buffer is one character away from being full. the following character will, ho wever, be loaded into the input buffer. this avoids any data being lost due to the host not responding to the busy signal immediately (such as with a double-buffered uar t in a pc). /attachment: appendix (schematic) a 104c users? guide page 7 of 8
a 104c users? guide page 8 of 8


▲Up To Search▲   

 
Price & Availability of 02-A104C

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X