This is my collection of x42 (HP-42S, SwissMicros DM42, Free42) programs. These programs are little helpers for my daily work as an electrical engineer, researcher and teacher and I preferably use them on a DM42. I admit that sometimes the programs may not be written optimally: I'm a kid of the 80s, my calculators during school were a TI-30 and a TI-Voyage-200 (which I never programmed) - my first programming language was C. I started using RPN calculaters in my 30s just for fun (thanks to a colleague). However I really like the programmability of the x42. I think there is no modern tool/software that gives the possibility to write such little everyday helpers in such a simple and clean way.
Information on program usage is written in the according program files.
CCOAX
: Coaxial/zylinder capacitorCPLATE
: Plate capacitorFPBW
: Full power bandwidth of an op-ampLC
: Resonant frequency of an LC resonant cirucitRC
: Cut-off frequency of a passive RC low pass filterRPAR
: Parallel resistance of two resistorsRTD
: Resistance-temperature relation of Platinum type RTDs (e.g. Pt100)VREG
: Voltage regulator (e.g. LM317)XC
: Reactance of capacitorXL
: Reactance of inductor
C→Z
,L→Z
: Impedance of an element, [HP42-EE]CONJ
: Complex conjugate of x stackDY
: Delta-wye conversion, [HP42-EE]I÷
: Current divider, [HP42-EE]NIST
: Physical constantsQUAD
: Roots of quadratic equationRFIT
,RVIEW
,ESER
: Find a combination of two standard resistors for a desired value- Timing tests with fitting 1234 Ohm with E12 series, solving for 10 results:
- Result without delay on Free42 computer app
- 8 s on USB powered DM42
- 21 s on battery powered DM42
V÷
: Voltage divider, [HP42-EE]X||Y
: Parallel impedance of x and y stack
TVM
: Time value of money (solver function), [HP42-OM]TVM2
: Time value of money, [HP42-PE]
All programs are human readable text files with UTF8 encoding, so any editor should work fine to read the code. Files with the ending .hp42s
are limited to the original HP-42S commands, while files ending with .free42
may contain some commands only available on Free42.
To get the program onto the platform you want, you can of course transcode it (if you are fortunate enough to have an HP-42S, this is also the only option). To get the programs onto a SissMicros DM42, I recommend using the desktop version of Free42 to encode the programs. Simply put the application into program mode and copy and paste the program into the application. Then a raw or state file can be exported for further use on a DM42.
Scans of great HP calculator related literature can be found on hpcalc.org. Direkt link to some HP-42S related files:
- [HP42-QR]: HP-42S Quick Reference Guide
- [HP42-OM]: HP-42S Owner's Manual
- [HP42-PE]: HP-42S Programming Examples and Techniques
- [HP42-EE]: HP-42S Electrical Engineering