Calculator Counter

Sharp ELSI MATE EL-233S

One of my current projects involves cycle counting for durability purpose. My original plan was to build a microcontorller circuit, using the ATMEGA328P, to do the counting and display. I have been building the circuit in my head and was putting together a parts list over the weekend when I realized that I may be putting a lot of time into designing this circuit without first testing my mechanical system. I needed a quick and easy circuit which got me thinking about using a cheap calculator. I’m sure I have seen this method used before, it is probably where I got the idea, but I though I would post something about it anyways. Let me explain how this works.

Most calculators (citation needed) have this feature where you can add the last number input to the current answer. For example, if I put 1 + 1 = in my phone calculator I get 2. Pressing = again gives me 3 then 4 then 5 ect. It is adding 1 to the answer every time I press =. Therefore if I can press the = button on a calculator at the end of a cycle it will then add that cycle to the count and act as a cycle counter. On to the cheap calculator.

I had a Sharp ELSI MATE EL-233S in my desk drawer that was unused. I had to purchase it for a economics class since scientific calculators where not allowed during exams, this was the cheapest and most basic calculator I could find at the time. Before opening it up I made sure it still functioned and would have the feature I was looking for. I found that the keystrokes required could be reduced by just pressing 1 + =. This is great for when I will need to initialize the calculator.

Opening up the calculator reveals a bare minimum circuit. There is the ASIC hidden behind its black goop, 3 capacitors and the LCD. I didn’t expect much. My plan was to solder wires to the key pad contact so that I could then control the key presses using a transistor as a switch. Initially Looking at the contacts I assumed it was copper tracks covered in a conductive black substance, graphite? This is not true. The entire keypad circuit is built using this black conductive material which can not be soldered to and there is no copper underneath, you can see in the pictures my attempts to scrape if off.

2014-11-18 20.32.36

With that plan in shambles I looked at another method to hook up my transistors. Luckily on the reverse side there are copper tracks and the manufacturer was nice enough to leave large exposed test pads. Figuring that a combination of these 11 test pads creates the keystroke inputs, I started probing around. I found the following keystrokes.

Connect Test Pad To Test Pad Result
P2 K2
P1 K6 OFF
P1 K5 ON
K6 A4 9
K6 A5 CLR
K6 A3 5
K6 A2 2

This method of probing around was taking too long and had unexpected results. I then traced out the keypad contacts from the front to the test pad they were connected to.

Connect Test Pad To Test Pad Result
P1 K5 ON
A5 K5 +
P2 K3 =
A2 K4 1

Also in order to be able to use NPN transistors I will need to determine which pin is more positive so that it can be connected to the collector. This is easy to accomplish with a multimeter. Using DC voltage mode measure the voltage between the two pins. The following table displays the polarity between the keystroke connections.

Positive Negative
K5 P1
K4 A2
K5 A5
K3 P2

The wired up circuit is below, please excuse the horrible pictures but this should give anyone a good start.

2014-11-18 18.01.27 2014-11-18 18.53.56 2014-11-18 19.17.25 2014-11-18 18.53.56

To initialize the calculator into “counting” mode an Arduino was programmed and wired up. A frequency generator is used to find the maximum counting frequency that the calculator can count. The below oscilloscope screen capture shows the maximum counting frequency of this setup. Because of the low counting frequency I abandoned using this method as a counter.

2014-11-20 18.29.07 2014-11-20 18.29.19 2014-11-20 18.29.30

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.