Pocket calculator with card reader.
Pocket version of the HP-97
|All of the features of the HP-97 are available with this pocket calculator but integrated into a small keyboard.
So, three fuction keys were necessary : f (orange), g (blue) et h (black). For example,
have a look at the DSP key:
- DSP: used alone, it's the function to set the number of decimals.
- f FIX: with f key, it swaps the calculator in standard display
- g SCI: with g key, it swaps the calculator in scientific display
- h ENG: with h key, it swaps the calculator in engenieer display
One specificity, keys from A to E are shortcuts to several maths functions. But as soon as a program is entered in memory (keyed in or with a
magnetic card) thoses keys are used to run the corresponding sub-programs.
Visi the HP-97 page for more about their common features!
Magnetic cards compatibility
The magnetic cards of the HP-67 can be read and written on the HP-97, and vice-versa.
So, a program keyed in the HP-67 can be printed on the desktop calculator HP-97. That's what I did here.
This program allows to track your weight. The features are:
|The AC adapter of the HP-67 is not the same as the one of the HP-97. This last shares the standard two pins conector used by the
HP-41 and most of its peripherals. For the HP-67, it's a three pins connector.
On the picture next, the connector and the trap for the rechargeable battery.
- Mass (kg) ENTER Height (cm) A : enters mass and height and returns the BMI.
- Age B : enters the age (used by ideal weight formulas)
- C : recalls BMI
- D : returns the ideal weight and the fat percentage for a male (using current height and age)
- E : returns the ideal weight and the fat percentage for a female (using current height and age)
- New mass a : display a pause waiting for a magnetic card with previous records. Then display the mass variation and recomputes the new BMI.
- b : display Crd and wait for a magnetic card to save current values.
- c : returns the ideal weight for a person with gracile slimness (using current height and age)
- d : returns the ideal weight for a person with normal slimness (using current height and age)
- e : returns the ideal weight for a person with stocky slimness (using current height and age)
- lines 002-006 :
H, height in cm into R0 and H-100 into R1
- lines 007-008 :
exchange with M, the mass in kg into R5
- lines 009-015 :
computes the BMI into R2 with this formula
- lines 016-017 :
set the display to one decimal and end
- lines 019-022 :
A, the age, computes A/10 into R3
- lines 023 :
- lines 025-026 :
recalls the BMI from R2 and end
- lines 028 :
clear flag 2 (for a male)
- lines 029-030 :
go to label 0 with parameter 4
- lines 032 :
set flag 2 (for a female)
- lines 033-035 :
go to label 0 with parameter 2.5
Common part Label 0
- lines 037-046 :
computes the ideal weight using Lorentz formula into R4
- lines 047-061 :
computes the fat percentage (BFP) using the BMI and age
- lines 062-069 :
if it's a male (flag2 = 0) substract again 10.8
- lines 070-071 :
on the stack are the BFP in Y and the ideal weight in X and end
- lines 073-076 :
go to Label 2 with parameter 0.81 (gracile slimness)
- lines 078-080 :
go to Label 2 with parameter 0.9 (normal slimness)
- lines 082-084 :
go to Label 2 with parameter 0.99 (stocky slimness)
Common part Label 2
- lines 086-090 :
computes the ideal weight accroding to your slimness
- lines 092 :
store the new mass into R6
- lines 093-096 :
set Ri=5 to specify R0-R5 and Merge/Pause to read a magnetic card
- lines 097-100 :
computes and display on a long pause the mass difference compared to the previous one that was stored on the card
- lines 101-103 :
run again SubProgram A with the new mass to get the new BMI, you don't have to re-enter the height and age.
- lines 105-106 :
display Crd, waiting for a magnetic card to record the current data
Since December, 15th, 2007