# Simple Arduino Calculator

24,511

16

9

Published

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

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

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!

## Recommendations

• ### Arduino Class

69,748 Enrolled

• ### Oil Contest

We have a be nice policy.

## Questions

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)

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

can you put in a video of it please

2 replies

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