Introduction: Simple Arduino Calculator

Picture of Simple Arduino Calculator

This is a simple calculator made using an LCD keypad shield and an Arduino Uno. It can do Multiplication, Addition, Subtraction and Division (It leaves answers that involve division with remainders eg 7 / 2 = 3 R1 (R being remainder)). Sorry, no fractions or decimals.

My calculator i used at school broke, so i built this one to replace it temporarily.

This requires just an Arduino Uno and LCD Keypad shield (http://www.droboticsonline.com/media/catalog/product/cache/1/image/5e06319eda06f020e43594a9c230972d/a/r/arduinolcdkeypadforstore3.jpg).

ANYWHO! Onto the instructable!

Step 1: Connect Your Shield

Pretty simple. Just sorta slot it on the board. It already has all the connections in the right positions for you (If you got the one I did). There isn't much to this part.
If you got one that requires you to make all the connections yourself, I won't be too much help there. You would probably be able to find instructions where you bought it.

Step 2: Configure Your LCD

If you upload and run this code, it will print a number on your screen. This should give you the follow results:

When you press select, you should get 722;

When you press left, you should get 480;

When you press up, you should get 132;

When you press down, you should get 309, and;

When you press right, you should get 0.

If those numbers are different, you will need to alter the code. Write down what numbers you got for what button and keep it handy for the next step.

Step 3: Upload Your Program

This step could go one of two ways.

If you ran the code in the previous step and everything matched up, upload this to the Arduino and you are completely finished. Run a few calculations to make sure it works.

If you ran the previous step and it didn't match up, you have a tedious few minutes ahead of you. Go through and change all the times 722 is used, change the number to the one you got when you pressed SELECT. Do the same for 132 with UP, 0 with RIGHT, 309 with DOWN and 480 with LEFT.

Step 4: Finished

Now you're all done! If something isn't working and you would like some help with it, message me and we can try work through it.
Thanks!

Comments

tkarraz made it! (author)2014-04-19

The calculator works great. The instructions were really easy to follow and the creator was extremely helpful in helping me troubleshoot any and all issues that I had :)

doodlegod (author)2017-01-15

is it possible to take voice output of the final result???

if yes, then p;ease provide necessary help

Tanmaysrivastava (author)2015-05-16

there is a problem in uploading it shows can't set com state '\\'com6 could you tell e why this happen cause i am completely new to arduino

Make sure you have to correct port selected before you press upload. (Disconnect Arduino. Open tools>Serial port. Connect Arduino. Select the serial port that appears after it is plugged in)

Maccattack213 (author)2015-05-14

The code is uploaded, in a text file. Just copy and paste it into your IDE.

Conor M (author)2015-04-28

can you put in a video of it please

Maccattack213 (author)Conor M2015-04-28

I would, but I am busy with exams at school at the moment. I will try to get onto it as soon as I can though.

Conor M (author)Maccattack2132015-04-28

Ok thanks
Can you msg me when done

Conor M (author)2015-04-19

Sorry didn't realise the time was there

Conor M (author)2015-04-19

Can you upload program please

About This Instructable

23,696views

16favorites

License:

Bio: Visit my blog on Tumblr to get more than just the tutorials that are posted there, but I will try to get all of them ... More »
Add instructable to: