Forum Index
HomeZBasic Home   Forum RulesForum Rules   Forum FAQForum FAQ   MemberlistMemberlist   UsergroupsUsergroups   RSS FeedRSS Feed
Site SearchSite Search   LinksLinks   DownloadDownload   Digests and SubscriptionsDigests and Subscriptions
ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in   RegisterRegister
using old HP82240B "red-eye" printers

 
Post new topic   Reply to topic    Forum Index -> General
Author Message
victorf



Joined: 01 Jan 2006
Posts: 342
Location: Schenectady, New York

Posted: 07 July 2009, 12:53 PM    Post subject: using old HP82240B "red-eye" printers Reply with quote

Several years ago I purchased 6 NIB HP82240B printers. These printers were used to provide hard-copy output from HP48 Calculators. I was looking for a thermal printer to use in some of my early micro projects and I still am. It was my intention to develop a "device" that would convert standard '232 serial output to the IR protocol required to drive the printer. I was never clever enough to do this!. I suspect that I never will be. Sad

I have quite a bit of technical documentation relating to the HP IR protocol and would like to know if such a protocol converter could be built.

Any enlightenment will be appreciated.
Back to top
dlh



Joined: 15 Dec 2006
Posts: 266
Location: ~Cincinnati

Posted: 07 July 2009, 13:17 PM    Post subject: Reply with quote

Looks simple enough if this article is accurate.

http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=74
Back to top
victorf



Joined: 01 Jan 2006
Posts: 342
Location: Schenectady, New York

Posted: 07 July 2009, 19:10 PM    Post subject: Reply with quote

dlh,

Thanks for pointing me to that article. I have added it to my HPIR archives. Now I have to get the October 1997 HP Journal article as well.

Simple for you but basically Greek to me. I have no idea how to even get started with implementing this sort of stuff.

Is the ZX an appropriate device to use?
How would all this half bit times and burst stuff be implemented?

Any further enlightenment will be greatly appreciated.

Vic
Back to top
dlh



Joined: 15 Dec 2006
Posts: 266
Location: ~Cincinnati

Posted: 07 July 2009, 21:31 PM    Post subject: Reply with quote

It's all explained in the article I cited. The IR Carrier frequency is 32,768Hz and all of the bit times are derived from that frequency using cycles of carrier rather than time. I haven't looked at it in detail but it appears to use Manchester encoding.

I usually use a PIC to generate an IR carrier as it's easy to turn the PWM on and off to create the bursts but you can probably do this using PulseOut. At 32.768kHz a single cycle is 1/32768 or 30.5µS. A 15.25µS pulse followed by a 15.25µS space gives you 1 cycle of carrier. It need not be exact as the IR receivers generally have a ±3kHz (or more) bandwidth. You use this signal to drive an IR emitter diode (IRED).

I have suggested to Don that a function to generate IR carrier bursts defined in cycles of carrier would be a useful addition but he never responded. At about the same time he lost some email messages and that may have been one of them. CCF codes (Philips Pronto) are defined this way. It would make the ZX very useful for IR remote control.

While this is not directly applicable to your project, this document is very helpful in understanding IR remote control in general. http://www.remotecentral.com/features/irdisp1.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> General Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1

 


All content Copyright © 2005-2012 Elba Corp. All Rights Reserved.
Opinions expressed in posts are those of the author and not necessarily those of Elba Corp.
Powered by phpBB © 2001, 2005 phpBB Group