Skip to content

funkfinger/adafruit-macropad-hp-35-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adafruit Macropad RP2040 HP Calculator

!!! WORK IN PROGRESS !!!

Watch the video

It's not quite done, but - more coding to do, but I've been working on getting HP's first pocket calculator running as an emulator on the Adafruit Macropad RP2040 keypad. The bulk of this code comes from an Instructables project where enurdag emulated a HP-35 RPN calculator with an Arduino and a TFTLCD touchscreen shield. Very cool!

The HP-35 has 35 keys, the macropad has 9, so I am using double clicks to access the more used features (arbitrarily chosen by me), and am using the rotary encoder to access everything else. Also, there is a USB input mode (entered by double clicking the encoder button) where you can turn the Macropad into what it was more intended to be, a computer interface - currently a number pad with the enter key.

I've abstracted the HP-35 core that enurdag created / adapted? into it's own Arduino library - so you should be able to use that in projects other than this one...

Also, I'm using Platformio for my dev stack - I prefer it far more than the Arduino IDE, but it does come with it's quirks... in this project, I had to make accommodations for the Raspberry Pi core that Platformio uses (VS the one that Adafruit uses) - if you're digging into the code, that may be one of the really weird things you notice - the others being my total mis-understanding of C and C++...

BOM

HP 35 calculator links...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published