The Museum of HP Calculators

HP Forum Archive 20

[ Return to Index | Top of Index ]

RPN hp20s and lcd hp34c proposals
Message #1 Posted by Jose Poyan on 28 Apr 2011, 6:05 p.m.

Thanks to those who made possible the project wp34s. I would have contributed myself with something if my knowledge on computing would have been a little above zero :-) but it's not the case. However I have had for years a couple of ideas in my head related to the display and I'd like to mention them now, so you can give your opinion about it.

As everyone knows, the last series made by Hewlett Packard when till independent, the Pioneer, did not include a RPN model with segment lcd screen. That is to say, the RPN models in that serie used matrix screens. In other words, the RPN version of the HP20S was never produced. I noticed it when I was a kid and I bought my first Pioneer.

And this wasnt natural. In fact all the previous spice models had segment(obviously) led displays. So it would have been a logical step to make a simple RPN calculator with segment display, for example the lcd version of the HP34C.

I have problems to work with matrix displays. I love segment displays, which are clear and sharp, and I like simple calculators. I think it would be a good idea, based on the wp34s, to make a RPN model with Segment display by avoiding the use of the matrix section on the screen of the hp30b. It would cover a niche and the project would be almost straight forward! By this I mean that the layouts are already there: the HP20s and HP34C keyboards. And the manual doesnt need to be written; it was written decades ago: the HP34C manual.

What's your opinion?

jose poyan

      
Re: RPN hp20s and lcd hp34c proposals
Message #2 Posted by Martin Pinckney on 28 Apr 2011, 6:56 p.m.,
in response to message #1 by Jose Poyan

But of course the Voyagers were segment and RPN. But I like Pioneers better myself as well.

            
Re: RPN hp20s and lcd hp34c proposals
Message #3 Posted by Jose Poyan on 28 Apr 2011, 7:58 p.m.,
in response to message #2 by Martin Pinckney

I know. I was refering to the models with vertical format only.

                  
Re: RPN hp20s and lcd hp34c proposals
Message #4 Posted by Marcus von Cube, Germany on 29 Apr 2011, 8:47 a.m.,
in response to message #3 by Jose Poyan

You might want to repurpose the new 10bii+. It comes with a plain segmented LCD, has the Pioneer keyboard layout, so what would you want more?

Personally, I stick to wp34s. When the firmware is stable, I'll almost certainly will sacrifice a 30b for the purpose.

                        
Re: RPN hp20s and lcd hp34c proposals
Message #5 Posted by Martin Pinckney on 29 Apr 2011, 9:35 a.m.,
in response to message #4 by Marcus von Cube, Germany

I thought I read Tim saying it could not be repurposed. But I can't find the post.

                              
Re: RPN hp20s and lcd hp34c proposals
Message #6 Posted by Marcus von Cube, Germany on 29 Apr 2011, 10:07 a.m.,
in response to message #5 by Martin Pinckney

Of course it can. The programming connector is the same. There is no JTAG connector for debugging and HP has yet to release technical information but this is not a principal problem.

                                    
Re: RPN hp20s and lcd hp34c proposals
Message #7 Posted by Tim Wessman on 29 Apr 2011, 10:12 a.m.,
in response to message #6 by Marcus von Cube, Germany

I don't think there will be any release of anything. The only difference between them (20/30b, 10bII+, 12c) is the screen. Just a LCD table is all you need different.

Personally, I am quite excited there is the ability to build using GCC. We always wanted to get around to that but just didn't have the time.

TW

                                          
Re: RPN hp20s and lcd hp34c proposals
Message #8 Posted by Marcus von Cube, Germany on 29 Apr 2011, 12:41 p.m.,
in response to message #7 by Tim Wessman

ATMEL provides the necessary startup files for GCC. I've recently switched to CodeSourcery G++ Lite, the free command line only compiler from them. I have yet to test if this realy works. The code is more compact then with the Yagarto or netX tool chains.

The LCD mapping for the new 12C and 10bii+ units (together with the necessary timing infos, i. e. what to write to the SLCDC controller registers) would be fine.

EDIT: The keyboard arrangement is sufficiently different from the 20b/30b to warrant same explanation, too.

Edited: 29 Apr 2011, 2:03 p.m.

                                                
Re: RPN hp20s and lcd hp34c proposals
Message #9 Posted by Eric Smith on 29 Apr 2011, 4:56 p.m.,
in response to message #8 by Marcus von Cube, Germany

When I've needed to determine a keyboard mapping, I've just used a simple C program to scan the GPIO pins one at a time, drive that pin alternately high and low, and read the other pins to see if any correspond. When a match is found, send the ID of the output and input GPIO pins out the serial port. Then I just press each key in turn and see what comes out.

Similarly for the display, I just sequentially toggle each bit in the LCD bitmap, with a delay (or a wait for a keypress or serial receive), and manually record what segments correspond.

                                                      
Re: RPN hp20s and lcd hp34c proposals
Message #10 Posted by Marcus von Cube, Germany on 29 Apr 2011, 6:06 p.m.,
in response to message #9 by Eric Smith

That's a workable idea. The choices are limited as only the WAKEUP pins can be used the way HP designed the software.

For the display, you need to know some details about its physics to be able to configure the number of segments and commons and the corresponding frequencies correctly. Without a JTAG connector, you cannot peek into the settings of the original firmware.

                                                            
Re: RPN hp20s and lcd hp34c proposals
Message #11 Posted by Eric Smith on 29 Apr 2011, 6:16 p.m.,
in response to message #10 by Marcus von Cube, Germany

It's not that hard to work out LCD settings by trial and error. There aren't really all that many parameters to adjust, and you don't have to get them all correct to see that you're making progress.

You can use SAM-BA commands over the serial port to write the registers, if you don't want to write a program to do it. See page 175 of the datasheet for the SAM-BA commands. (Prior pages describe how to get into SAM-BA boot mode.)

                                                                  
Re: RPN hp20s and lcd hp34c proposals
Message #12 Posted by Scott Newell on 29 Apr 2011, 8:17 p.m.,
in response to message #11 by Eric Smith

Quote:
It's not that hard to work out LCD settings by trial and error. There aren't really all that many parameters to adjust, and you don't have to get them all correct to see that you're making progress.

Exactly. Besides, there's not much variation in hardware between the units.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall