RPN-1200 (with pictures)



#2

Though I became a HP fan shortly after, my first calculator was actually a TI-1200, a basic calculator with the 4 operations and % with a very nice design. My father's company had given calculators to their best customers, and some had been returned as 'defective'. All it took was to replace the 9V battery and there I had my first calculator.

So just for the fun of it, and in admiration of the equally zen design of the Commodore 7919 (scientific model with just 19 keys), I endeavored to design a Microchip PIC based board for TI-1200 that would convert it to a scientific RPN model.

So here it is: RPN, trig/log/power functions, metric<->US conversions, 4-level stack with LASTX, inpout through a 'command line' with <- capability, 10 memories, store and recall arithmetic, FIX and SCI modes.

The code is written mostly in C (some inline ASM) using the Microchip MPLAB X IDE. The only drawback is that the floating point routines are binary based and the precision is really not good... If anyone has worked on a similar project, or has recommendation / source code for BCD arithmetic and floating point functions in C or PIC assembly, I am definetely interested.

Pictures of the RPN-1200 vs TI-1200 and of the inside of the RPN-1200 are at:

http://www.hpmuseum.org/guest/benoitm/rpn1200.jpg
http://www.hpmuseum.org/guest/benoitm/inside.jpg

Thank you,

Benoit


#3

Very nice. I did something very similar with an HP-25 that had a totally corroded PCB and bad chips. I gutted it and used a single SX-28 chip to scan the keyboard and drive the display. This chip has very pretty limited RAM and ROM (128 bytes/2K bytes), so I only put in long (16 digit) integer functions.


#4

Hi Katie,

Thank you for your feedback.

Packing everything in the HP-25 must have been very hard - there is almost no space!

The RPN-1200 is based on a Microchip PIC 18F2550 with 32k-words of program flash (about half of which is used), and the display is driven by a MAX7219. I tried to use a PIC 16F88 which is a simpler chip but the 4k of flash were not enough for floating point operations...

In any case, what I learned through the project is that making a calculator is not easy...

Benoit

#5

This is just plain crazy ;-)

Awesome stuff.

#6

You should probably look at the source code for the WP-34S. The calculation routines in this are based on the decnumber C library, which represents numbers in a packed decimal form and allows a range of precisions. The WP-34S firmware takes up about 118 kB when compiled which is a lot more space than you have available, but the WP-34S does much more than your calculator does, so perhaps the decnumber routines could be made to fit?

Nigel (UK)

#7

I forgot to say: your calculator looks absolutely amazing!

Nigel (UK)

#8

I hate to be that guy but I miss the double-wide ENTER key. On a serious note: very cool calculator!

Cheers

Thomas

#9

Very cool conversion!

My first scientific calculator was the Commodore SR4148R. It was the opposite of the 7919 and had 48 keys. No shift key needed on that model :)

http://www.wass.net/manuals/jpg/Commodore%20SR4148R.jpg

#10

That is awesome. You did the right thing. You saved a 1200 from itself. :-)

#11

incredible


#12

All,
Thank you for your encouraging and funny comments

Nigel,
Thank you for your guidance. Will check decnumber libraries.

#13

The RPN 1200 looks nice - great job with the conversion!

#14

And this even surpasses that Sinclair Scientific!!! Besides, full 10+2 digit display as well as at least 12-digit accuracy. Excellent and stylish too!


Possibly Related Threads...
Thread Author Replies Views Last Post
  [PRIME] RPN: another attempt at returning more than one value to the RPN stack Marcus von Cube, Germany 5 358 11-05-2013, 02:44 AM
Last Post: Marcus von Cube, Germany
  HP-80 Teardown with pictures Max Stone 10 537 10-24-2013, 09:10 PM
Last Post: Walter B
  DIY543 pictures Richard Ottosen 93 2,337 10-22-2013, 08:04 AM
Last Post: Cristian Arezzini
  RPN-1200 Project Benoit Maag 0 118 08-25-2013, 01:05 AM
Last Post: Benoit Maag
  HP Prime pictures with video ! Mic 55 1,295 06-24-2013, 02:52 PM
Last Post: CompSystems
  New pictures of HP Prime in hand Mic 52 1,640 06-15-2013, 10:15 PM
Last Post: Peter Murphy (Livermore)
  New screen on pictures of new Sharp EL-9950 Mic 4 250 06-10-2013, 10:40 AM
Last Post: Mic
  HP-65 Repair/Restoration (Pictures) :) Dan Lewis 8 412 01-12-2013, 12:41 AM
Last Post: Dan Lewis
  PCB pictures of a HP10B, HP20S or HP21S? Christoph Giesselink 1 134 12-17-2012, 10:19 PM
Last Post: Randy
  DM12CC in pictures Ingo Paschke 0 117 07-15-2012, 06:54 AM
Last Post: Ingo Paschke

Forum Jump: