TMS0803/5 Emulating Calculator Build
MSP430G2452 acting as a TMS0803 calculator chip. Emulates TI DataMath 2500II and Sinclair Scientific Calculators.
I got introduced to a web based calculator emulation via this thread in 43oh.com forum.I got interested and start playing w/ the idea of implementing the emulation on an msp430, my code is based on Mr Ken Shirriff’s work from the following pages.
As this project emulates the original TI DataMath and Sinclair Scientific calculators, it operates exactly the same as the original ones. The keyboard layouts are similar in both calculators. On the PCB, the dominant key legends (on top of each key) are for TI DataMath, while the smaller legends (top and slightly left of each key) are for Sinclair Scientific emulating.I had select the MCU clock speed to be 8 Mhz, which appears to more or less matches the speed of the original calculators. I only observe the speed of the original calculators on youtube videos.The emulating calculator starts / defaults as TI DataMath. If you want to start the calculator as a Sinclair Scientific, hold down key “7” while turning on power.Holding down “4” while turning on power will place the emulator in a “slow CPU” mode, and it runs 8 times slower than usual as a TI DataMath. This will show how the display (as a register) changes during calculation cycles.Holding down “CE” while turning on power will briefly show a pre-entered message (8 letters). I added this feature to include personal message as I build these calculators as gifts. To enter a personal message, one can hold down “X” while turning on power. Pressing the keys 0, 1, 2 to 9 allows to select numerics and letters like a old cellphone keyboard, advance letter positions by pressing “+” key. The personal message will be saved in flash memory after the 8th letter has been entered.* note that the above key sequence is for Version 2 boards only. Version 1 boards uses different keys.
Initial Attempt (Fail) and Version 1 PCB Build (Success)
This Post / Project can also be found using search terms:
- arduino emulation calculator
- DIY calculator kit
- sinclair scientific calculator diy