HP Forums
(41) Egg cooking timer - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: HP-41C Software Library (/forum-11.html)
+--- Thread: (41) Egg cooking timer (/thread-18414.html)



(41) Egg cooking timer - floppy - 05-27-2022 08:42 AM

Since I was thinking how to show the advantages of an HP41 to family members running around with ipads iphone macbooks xxGB RAM PCs (all laughing at me), and since I saw here a forum user showing old publications from "Ordinateur de poche", I have re-witten something very very serious because this is mandatory for having a good start in the day: a timer for cooking properly an egg.

The program is below; with comments.
HowTo..
Create a EGGA.TXT file in a PC
In the PC start the programm hp41uc.exe /t=EGGA.TXT /r /k for converting into a raw file
upload the created ERGGA.RAW file into V41 (menu in V41 "get user code")
Transfer the EGGA program into a virtual drive via ILPER (XEQ WRTP with EGGA in Alpha)
Connect your HP41 to the PC via pilbox and ILPER
In your HP41, makes XEQ READP (with EGGA in Alpha)
(or just create the program by hand direct into the HP41)
Now you can start it.

Code:
LBL "EGGA" ; EGGAlarm = timer for observing the cooking time of eggs with HP41
           ; Time module required
           ;
           ; use
           ; start to boil the water
           ; take your HP41; start the egg cooking timer 
           ;   with "XEQ" APLHA "EGGA" ALPHA
           ; Press key "1" (1 give short cooked egg; 
           ;                2 give a soft cooked egg
           ;                3 makes a hard cooked egg)
           ; Press key "R/S" for confirming the above choice 
           ; Press key "R/S" when you want to start the cooking
           ; the HP41 goes "OFF"
           ; keep the HP41 nearby your eating place for listening the alarm 
           ; the HP41 wake up whith "TIMER ALARM" beeping several time when the 
           ;   eggs has to be taken out of the boiling water
           ; Press key "R/S", then the stopwatch stop
           ; the HP41 goes "OFF" after a "BEEP"
           ;
           ; change log
           ;  2022 05 27 creation based on program in french from 
           ;     Xavier de La Tullaye „ordinateur poche“ no 7
"1-SHELL"
AVIEW
"2-SOFT"
AVIEW
"3-HARD"
AVIEW
STOP
XEQ IND X
SETSW
"COOKING R/S"
AVIEW
STOP
RUNSW
OFF
BEEP
STOPSW
OFF
LBL 01
-.03
RTN
LBL 02
-.06 
RTN
LBL 03
-.10
RTN
END



RE: (41) Egg cooking timer - Garth Wilson - 05-27-2022 09:16 AM

Rather than running the stopwatch which takes 20mA of battery current while it's running, why not set an alarm. I do this for timing pancakes, since I got tired of pancakes that were either not cooked in the middle or were kind of burned on the outside, or got too dry on the top before flipping them and they wouldn't cook nicely on the second side. I had PCAKEA and PCAKEB assigned to keys. (Now however we haven't eaten pancakes in years.)

Code:
01 LBL "PCAKEA"
02 "SIDE 1"
03 AVIEW
04 "FLIP"
05 .013
06 XEQ "ALM"
07 XEQ "OFF"
08 RTN
09 LBL "PCAKEB"
10 "SIDE 2"
11 AVIEW
12 "DONE"
13 .0315
14 XEQ "ALM"
15 XEQ "TOFF"
16 RTN

And elsewhere, "ALM" is:

Code:
01 LBL "ALM"
02 TIME
03 HMS+
04 0
05 0
06 0
07 R^
08 XYZALM
09 RTN

TOFF sets flag 11 and does some fast synthetic tones before executing OFF. The reason for flag 11 is that then if you turn it on intentionally (as opposed to an alarm turning it on), it starts from where it was in the program there and displays how long 'til the next alarm is due (if there is any pending), otherwise sees if there's anything in my DAYTMR file it's supposed to remind me of today, and if not, just display the time and date.


RE: (41) Egg cooking timer - floppy - 05-27-2022 09:34 AM

Thanks for the comments/inputs. New version below with the "garth" battery life saving proposal.

"Technical" input from me: when I make pancakes, I am doing it in the front of the cooking area. This is a very sensitive act (pancakes are very thin in EU, especially the ones from Brittany; this is very different from the US ones or the ones in Ireland which are very thick). So yes, a pancake timer is for sure useful in the US continent but makes no sense in EU continental side.
;-)

Code:
LBL "EGGT" ; EGGTimer = timer for cooking eggs with HP41 based on alarm
           ; Time module required
           ; change log
           ;  2022 05 23 creation
           ;  2022 05 27 rework with no stopwatch for batterie lifetime
           ;             based on recommendations from http://WilsonMinesCo.com 
           ; under CC BY SA CreativeCommons 4.0 of user floppy from
           ;             https://www.hpmuseum.org/forum/
"1-SHELL"
AVIEW
"2-SOFT"
AVIEW
"3-HARD"
AVIEW
STOP
XEQ IND X
"COOKING R/S"
AVIEW
STOP
"EGGS DONE"
TIME
HMS+
0
0
0
R^
XYZALM
OFF
RTN
LBL 01
.03
RTN
LBL 02
.06 
RTN
LBL 03
.10
RTN
END



RE: (41) Egg cooking timer - Ángel Martin - 06-01-2022 09:15 AM

Boiled eggs and pancakes, lovely!
Next one it's got to be Thanksgiving turkey ! ;-)


RE: (41) Egg cooking timer - BillBee - 06-01-2022 11:57 AM

(06-01-2022 09:15 AM)Ángel Martin Wrote:  Boiled eggs and pancakes, lovely!
Next one it's got to be Thanksgiving turkey ! ;-)

Might be time for a cooking module. Smile

-Bill