▼
Posts: 614
Threads: 66
Joined: Jul 2006
Started playing around with the Deep PI routine that Hugh had posted. Entered it into two HP-42S, one of which is the earlier ROM which supports "Fast" mode. I've been curious about how fast is fast mode and thought the Deep PI routine would made a good comparison.
I set up a infrared printer with a HP-41CX and the two HP-42S pointed at it. The 41 is running a short endless loop program that prints the date and time every 5 minutes so that I have a time trail on the printout. One 42S is running normal mode and one is running in fast mode. Both running the PI loop (1, 7, 13, ...) and then print the results.
Ran it for an hour last night and the Fast 42S was calculating about 2.5 times faster.
I plan to load new batteries into both 42S tonight and then I'll just let them run until the batteries die. Be interesting to see how many decimals they calculate and how long the batteries last.
The printer I can run on an AC adapter.
The 41CX has a rechargable battery pack. If I run the 41 with the AC recharger pluged in, will it basically run for ever?? Or should I load up the 41CX with fresh regular batteries to get maximum constant on time? I don't want the 41 to run down before the 42S batteries die.
I'll post the results next week for anyone who's courious.
▼
Posts: 182
Threads: 17
Joined: Oct 2005
I had already converted the program into 32sii format (on paper). It has just enough LBLs and STOs to fit.
I started keying, but not even half way I got the memory full message.
pity.
curious about the 42s results.
▼
Posts: 785
Threads: 13
Joined: Jan 2005
"I had already converted the program into 32sii format (on paper). It has just enough LBLs and STOs to fit. I started keying, but not even half way I got the memory full message.
pity.
curious about the 42s results."
You need a hp 33s !!!
If you have the program ready, please send it here so we can test it! Thank You!
{VPN} AXL
▼
Posts: 2
Threads: 0
Joined: Jan 1970
No objection to publish my conversion, but as mentioned, I´ve done it on paper. I would have to scan it.
Conversion is fairly straight forward, though. I downloaded www.voidware.com/calcs/pi.txt, printed it and replaced every label and storage number with the `matching` letter. 01 becomes A, 02 becomes B aso. 00 became Z and 05 became i, because RCL IND 5 translates to RCL (i).
I wrote a little routine for MOD (32sii hasn´t) and began typing, but as the machine complained so soon, I judged it to be too ´simple´ to cope.
▼
Posts: 785
Threads: 13
Joined: Jan 2005
33s has enough memory to store the program
{VPN} AXL
Posts: 614
Threads: 66
Joined: Jul 2006
Bram,
I wonder if the code could be optimized to fit into a 32SII. Not necessarily optimized for speed but for space.
I don't have a 32SII any more - I tried one for a while, but just couldn't get used to it. I did love the large display!!
Probally could be adapted to the new 33S.
▼
Posts: 536
Threads: 56
Joined: Jul 2005
i can make it smaller and, in fact, faster if you dont mind
not having the first 76 decimal places!!
i was tempted to do this on the original version. but i wanted the whole set of digits. you could, of course, store the first 76 places in the program manually.
hey bill,
you are trying the experiment i want to try soon. basically i have a 41 and a mains adapter but no printer. my plan was to acquire a printer and leave it for two weeks or so. im keen to see how it compares on speed. i'd like to think it will give the first 1000 places in 12 hours, but i could be completely wrong here.
if it is really really slow, i might try to speed it further. i have some ideas but they require considerable work.
good luck with your tests, and please post your findings.
▼
Posts: 2
Threads: 0
Joined: Jan 1970
>i can make it smaller
Even then I think it won´t fit in an HP-32SII. The machine already complained at about a third of the program. Each number takes 9.5 bytes and there are a lot of numbers and too few registers left to hold them all or even some.
Better to follow Veli-Pekka´s advice (or accept a current offer for an HP-42S for 60 euros. Thinking about it).
▼
Posts: 785
Threads: 13
Joined: Jan 2005
Posts: 1,788
Threads: 36
Joined: Aug 2007
The 41CX will run forever on a rechargeable pack that is plugged in (or at least until the battery physically cells go bad).
▼
Posts: 614
Threads: 66
Joined: Jul 2006
Thanks David,
That's great news. I won't have to worry about the 41 running down before the 42S. I'm really curious at how long a 42 can run on a set of batteries. Also, will be able to see what difference Fast mode makes on battery consumption. Of course, having the printer IR port turned on will reduce battery life.
Question: On the 42S, does having the IR port turned on reduce battery life IF one never prints with it? Does it consume power even if not printing?
▼
Posts: 237
Threads: 20
Joined: Mar 2006
Yes,if the IR is in trace mode it is sending information even though there is no reception by the printer.
I would say no, if trace mode is off and you are not using any commands that would activate the IR to send to the printer.
Posts: 1,153
Threads: 94
Joined: Mar 2006
Someone here could suggest the correct voltage -- something like 4.5 V or less. Connecting the right leads from, say, a Radio Shack AC-to-DC converter (or maybe just a few D cells?) should enable you to test for significantly longer . . .
▼
Posts: 1,162
Threads: 26
Joined: Aug 2005
The 42S runs off 3 cells at about 1.5V each, so 4.5V should be fine.
However, those little wall-wart mains adapters are often not regulated and the off load voltage can be as much as double what you expect. For that reason, and because I've had them catch fire, I won;t allow them in my workshop!
Use a decent, regulated, bench power supply and you'll have no problems. 3 D cells in series should be fine as well.
▼
Posts: 163
Threads: 13
Joined: Jan 1970
Yesterday the UPS man brought me the Mastech HY1500 regulated power supply which I purchased off ebay this week ($85 including shipping). I have been playing with it quite a bit.
It has analog V and A meters, and provides adjustable 0-15V and 0-3A, offering restricted current protection.
Thus far I have used it to power a 32E with broken battery terminals (2.5 v); a 11c (4.5v); and an old 9V Novus Mathemetician.
It works GREAT. I highly recommend it. One of these units will power virtually any calculator indefinitely.
Take care.
Wayne.
|