Receiving infrared on a pc from 42s



#4

Hi all,

I have a 42S and was wondering if it is possible to receive infrared transmissions via the infrared port of my laptop and capture it in a terminal emulator. The character set is ASCII ish?? 0x41 = "A" for instance. Does anybody know the bit rate/parity settings etc. ?

Regards,

Rob


#5

The PCs use a standard called IRDA (Infrared Data Access, I think), which is very similar to a standard (asynchronous)serial link. That is why IRDA is usually set as an optional COM: port, up to 115 bps. There is a newer version of IRDA, that works on the same principles, but reaching megabit rates. The -42S is an early machine, from the IR point of view, and uses a proprietary (non standard) protocol to communicate with the printer. So there is no code compatibility (not true ASCII); but, even more important, the character "frame", the checksums, and so on are not standard. Simply stated, there were no such standard at the time the -42 was introduced. I even doubt that the pulse modulation over the IR components is the same than the one used in IRDA. So, there are many incompatibility issues; and since I don't think the PC will allow software to "see" the IR hardware at its lowest level, such a project may be very difficult. I don't know of any commercial or shareware product that may be of interest. I may assume that hooking a phototransistor on a convenient signal pin on a serial or paralell port may be a good point to start. Some assembler programming will surely be needed. If the PC processor is to service this input, it will be difficult to assure that no pulses will be lost. The PC is an interrupt driven system, and even more complicated since Windows virtualizes the hardware devices, so it is very possible to lose pulses. On the other hand, if you start planning a specific hardware that supports this interface, costs will raise... Well, this is a brief account on why I abandoned my IR experiments between a -42S and a computer some years ago. Certainly, anyone that goes further deserve a congratulation, so please keep us updated !


#6

The only way I know is via a HP-48


Possibly Related Threads...
Thread Author Replies Views Last Post
  HP-42S / HP-48 infrared connection Kees Bouw 6 527 07-09-2012, 11:33 AM
Last Post: Christoph Giesselink
  WP 34S - Successful installation of infrared port Gerson W. Barbosa 7 530 06-01-2012, 06:05 PM
Last Post: Gerson W. Barbosa
  42s questions and 42s vs 35s snaggs 13 1,232 09-19-2011, 02:44 AM
Last Post: snaggs
  Thread for those receiving 35s calculators to post what they think Gene Wright 56 2,288 07-26-2007, 09:44 PM
Last Post: Katie Wasserman
  Infrared enabled calcs to iMac Intel ? Olivier TREGER 4 344 03-26-2007, 01:17 AM
Last Post: Olivier TREGER
  PC power > HP-calc power, yet... $PC = $HP48gx ECL 7 538 12-03-2006, 08:04 PM
Last Post: Tim Wessman
  [OT] PC-1360 PC-1600 gileno 5 392 06-26-2006, 09:46 AM
Last Post: Etienne Victoria
  HP-Infrared Printer Replacement Robert Haefele 1 230 05-10-2006, 06:56 AM
Last Post: martin
  HP320LX Infrared Connection [OT] Tizedes Csaba [Hungary] 0 171 02-28-2006, 07:07 AM
Last Post: Tizedes Csaba [Hungary]
  49g+ - 48gx infrared transfers RON ALLEN 3 293 01-03-2006, 04:08 AM
Last Post: James M. Prange (Michigan)

Forum Jump: