Post Reply 
RPN scientific calculator firmware for $13 calculator kit
03-18-2020, 10:02 PM
Post: #41
RE: RPN scientific calculator firmware for $13 calculator kit
Could you just use a STC15F2K60S2 MCU instead of the IAP15W413AS that comes with the kit? . . . that would provide 60k of flash rather than the 13k for the standard MCU and therefore enable space for a whole raft of additional functions.
Find all posts by this user
Quote this message in a reply
03-19-2020, 02:14 AM
Post: #42
RE: RPN scientific calculator firmware for $13 calculator kit
(03-18-2020 10:02 PM)DWiskow Wrote:  Could you just use a STC15F2K60S2 MCU instead of the IAP15W413AS that comes with the kit? . . . that would provide 60k of flash rather than the 13k for the standard MCU and therefore enable space for a whole raft of additional functions.

Is the STC15F2K60S2 MCU pin-compatible with the IAP15W413AS? If so, that'd be ideal!

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
03-19-2020, 07:29 AM (This post was last modified: 03-20-2020 11:02 AM by DWiskow.)
Post: #43
RE: RPN scientific calculator firmware for $13 calculator kit
(03-19-2020 02:14 AM)toml_12953 Wrote:  Is the STC15F2K60S2 MCU pin-compatible with the IAP15W413AS? If so, that'd be ideal!

Yes, just bigger flash (60k) and RAM (2K) and for under $2 delivered
Find all posts by this user
Quote this message in a reply
03-23-2020, 05:19 AM
Post: #44
RE: RPN scientific calculator firmware for $13 calculator kit
Yes, it's a pin-compatible drop in replacement. The only disadvantage is that when programming the flash, it takes longer to erase. To program a blank microcontroller, you have to add a couple of additional options to stcgal: -l 1200 -t 12000

Just as an update, haven't made any progress on anything, but hopefully eventually...
Find all posts by this user
Quote this message in a reply
03-23-2020, 07:02 AM
Post: #45
RE: RPN scientific calculator firmware for $13 calculator kit
Some of the extra flash could be used for keystroke programs, if the base firmware is programmable. This is a very space efficient method to add functions -- the WP 34S included quite a number of functions in its XROM and allowed user libraries in flash.

Pauli
Find all posts by this user
Quote this message in a reply
03-23-2020, 09:38 AM
Post: #46
RE: RPN scientific calculator firmware for $13 calculator kit
(03-23-2020 05:19 AM)jklsadf Wrote:  Yes, it's a pin-compatible drop in replacement. The only disadvantage is that when programming the flash, it takes longer to erase. To program a blank microcontroller, you have to add a couple of additional options to stcgal: -l 1200 -t 12000

Just as an update, haven't made any progress on anything, but hopefully eventually...

Now that you have all that extra space to play with, go for it! I still have my key label template ready to modify for whatever additions you make so once you announce a new version the new labels can be ready in a few minutes.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
04-19-2022, 04:51 PM (This post was last modified: 04-21-2022 02:24 AM by toml_12953.)
Post: #47
RE: RPN scientific calculator firmware for $13 calculator kit
I have version 1.13 installed on two calculators. Neither one will display PI. When I press shift then divide, PI is supposed to be put in the X register but only 0 appears there.

SOLVED! In file decn.c, line 1594, there's a call to mult_decn. Why? PI is not a conversion factor so there's no need to do that. Now that I've commented out that line, the constant PI appears properly, including stack lift, etc.

One problem shows up when you do this:

7
Enter
PI
*

The display should show

0
21.9911485751285

but instead it shows

7
21.9911485751285

instead of replacing the 7 in the X register, pressing PI pushes the 7 up.

After Enter, there should be no stack lift of the next number typed.

FIXED:
Added check for Nolift to Calc.c. Now

7
Enter
PI
*

results in

0
21.9911485751285

as it should.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
11-03-2024, 12:56 PM
Post: #48
RE: RPN scientific calculator firmware for $13 calculator kit
To make this amazing DIY RPN calculator truly portable, I converted it to LiPo so you don't have to dismantle it every 14 hours to change the coin cells. Attached is a Word doc with the details. More pictures to follow later.

Enjoy!


Attached File(s)
.docx  DIY HP museum article 1B.docx (Size: 415.88 KB / Downloads: 14)
Find all posts by this user
Quote this message in a reply
11-03-2024, 01:35 PM
Post: #49
RE: RPN scientific calculator firmware for $13 calculator kit
Here is the full 'Conversion to LiPo' article in pdf form, shrunk in size.
regards,
Chris.


Attached File(s)
.pdf  DIY HP museum article.pdf (Size: 418.19 KB / Downloads: 39)
Find all posts by this user
Quote this message in a reply
11-03-2024, 09:57 PM
Post: #50
RE: RPN scientific calculator firmware for $13 calculator kit
jklsadf!!!!
Why did you post this?
Now I'm wanting one!
B^)

10B, 10BII, 10C, 11C, 12C, 14B, 15C, 16C, 17B, 18C, 19BII, 20b, 22, 25, 29C, 35, 38G, 39G, 39gs, 41CV, 48G, 97
Find all posts by this user
Quote this message in a reply
11-04-2024, 03:55 PM
Post: #51
RE: RPN scientific calculator firmware for $13 calculator kit
Here are annotated photos of the LiPo hookup for the DIY RPN calculator.
regards,
Chris.


Attached File(s)
.pdf  Wiring hookup for DIY RPN calculator LiPo.pdf (Size: 454.39 KB / Downloads: 19)
Find all posts by this user
Quote this message in a reply
11-17-2024, 11:57 PM
Post: #52
RE: RPN scientific calculator firmware for $13 calculator kit
(03-23-2020 05:19 AM)jklsadf Wrote:  Yes, it's a pin-compatible drop in replacement. The only disadvantage is that when programming the flash, it takes longer to erase. To program a blank microcontroller, you have to add a couple of additional options to stcgal: -l 1200 -t 12000

Just as an update, haven't made any progress on anything, but hopefully eventually...

Any progress yet? The new chip gives plenty of room for full-precision trancendentals, allowing degress, radians or gradians for trig functions, etc.

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)