The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Arduino HP-25 Simulator
03-23-2022, 03:17 PM (This post was last modified: 03-25-2022 02:00 AM by TellyS.)
Post: #1
Arduino HP-25 Simulator
(moved from the Articles Forum, where it was misplaced)

I purchased a couple of 3.5" TFT LCD screens for Arduino some time ago and I was looking for a project for them. I finally decided to replicate the functionality of my very first HP calculator, the HP-25. 2,500 lines of code later I managed to get something that looks like the HP-25 and, for the most part, behaves like an HP-25.

[Image: Arduino_HP-25.JPG]

Those TFT screens are not very reliable, so getting a few things to work properly was very hard. If you have 5 minutes to kill, you may want to watch it in action on YouTube:

https://youtu.be/XZgH-pHiQMw

What is not even close to the HP-25, however, is the accuracy of calculations and even the number representations. I relied on Arduino's built-in math library and number handling that is apparently not sufficient. Arduino float/double has a range of 3.4028235E+38 to -3.4028235E+38 and 6-7 decimal digits of precision. The 25 can handle much larger numbers and with greater accuracy. Any suggestions would be appreciated, if there is a solution.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Arduino HP-25 Simulator - TellyS - 03-23-2022 03:17 PM
RE: Arduino HP-25 Simulator - teenix - 03-24-2022, 02:04 AM
RE: Arduino HP-25 Simulator - TellyS - 03-24-2022, 01:40 PM
RE: Arduino HP-25 Simulator - TellyS - 03-24-2022, 06:33 PM
RE: Arduino HP-25 Simulator - Mike T. - 03-24-2022, 12:52 PM
RE: Arduino HP-25 Simulator - TellyS - 03-24-2022, 01:54 PM
RE: Arduino HP-25 Simulator - Mike T. - 03-24-2022, 03:49 PM
RE: Arduino HP-25 Simulator - agarza - 03-24-2022, 04:39 PM
RE: Arduino HP-25 Simulator - Mike T. - 03-24-2022, 05:20 PM
RE: Arduino HP-25 Simulator - TellyS - 03-24-2022, 06:31 PM
RE: Arduino HP-25 Simulator - Mike T. - 03-25-2022, 10:40 PM
RE: Arduino HP-25 Simulator - teenix - 03-25-2022, 02:45 AM
RE: Arduino HP-25 Simulator - Frido Bohn - 03-25-2022, 02:48 PM
RE: Arduino HP-25 Simulator - TellyS - 03-25-2022, 08:17 PM



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