# Simple Arduino Calculator

25,496

16

10

## Introduction: 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.

ANYWHO! Onto the instructable!

### Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

## 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.

### Attachments

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!

Participated in the
Arduino Contest

6 1.0K
114 25K
42 11K

## 10 Discussions

Can you post not text but program?

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

if yes, then p;ease provide necessary help

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)

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.

Ok thanks
Can you msg me when done

Sorry didn't realise the time was there