0% found this document useful (0 votes)
45 views3 pages

A Calculator Based On Arduino

Uploaded by

kousique73
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views3 pages

A Calculator Based On Arduino

Uploaded by

kousique73
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

A CALCULATOR BASED ON Arduino

SynopsisIn this project, an Arduino UNO, a 4x4 keypad, a 16x2 LCD display, a bread board, and jumping
wires will all be used to create an Arduino-based calculator. A user can enter data into this calculator in
real time using the 4x4 keypad, and the results are shown on a 16x2 LCD display. Only a few simple
calculations, such as addition, subtraction, division, and multiplication, are done in this calculator; the
control and calculating functions are handled by an Arduino UNO.

Carefully follow the more arithmetic program if the calculations are more complex.Larger numbers and
more floating points should be supported by the calculator in order to make it more sophisticated. Every
computation in this project is completed with the aid of code, and it teaches us how to use an LCD
display, an Arduino, and a keypad.

I. Overview

This project teaches us how to operate an Arduino-based calculator that reads numbers from left to
right. This calculator uses C programming to operate, mostly for performing addition, subtraction,
multiplication, and division among other fundamental computations. We can convert a coding program
to several components with the aid of an Arduino; in this process, the Arduino's activity is crucial as it
transfers the coding language to the components from which the output is produced. The input portion
of this calculator is a 4x4 keypad, and the output is an LCD display. Once the user enters input, the
output is shown on the keypad.The calculator has expanded mathematical possibilities and is a
mathematician's extension. This calculator functions fully thanks to the Arduino software, which is used
for control and arthimatic programming.

The Arduino Uno is a board component that has pins for digital and analog input and output that can be
connected to different components. With the use of an Arduino Uno connection to connect the board to
the device, it will feature six analog input/output pins in addition to 14 digital input/output pins that may
be programmed using the Arduino IDE software. In Italian, the term UNO denotes the one.

There are various varieties of Arduino, including the Arduino UNO, Arduino Mega, Red Board, and LilyPad
Arduino.

Figure 1: Arduino Uno

The Arduino UNO's features include lines. The liquid crystal display is known as an LCD. The LCD displays
are used in a variety of devices, including computers, TVs, mobile phones, and more. They have a 5 volt
operating voltage, a required input voltage range of 7 to 12 volts, 14 digital input/output pins, 40
milliampere-hour DC current for each I/O pin, 32 KB of flash memory, 6 analog I/O pins, 2 KB of SRAM, 1
KB of EEPROM, and 16 MHz click speed calculators.
4:16x2 LCD keypad: Figure 2:1

16-by-2 LCD:

By accepting input, the LCD display is used to show the output to the user. The 16x2 LCD display, which is
used in many circuits and gadgets, indicates that it displays 16 characters per line and there are 2 such

A digital version is accessible at https://ssrn.com/abstract=3918722.

4x4 keypads come in a variety of shapes and sizes. The 4x4 keypad is simple to organize in a matrix
configuration. It contains 8 terminals, of which 4 are rows of a matrix and the remaining 4 are columns.
The pins on the 4x4 keypad are powered by the 16 buttons on the keypad.

Figure 3:4 by 4 keypad Potentiometer:

An electrical instrument called a potentiometer is used to measure electrical potential. Three terminals
are present.

A potentiometer is frequently used to regulate electrical equipment.

Fig. 5: How a Potentiometer Works

4 rows and 4 columns make up the 4x4 keypad that is utilized for input in this project. The Arduino Ide
program uses the library keypad.h to determine which keypad should be pressed; hence, this keypad has
to be included to the software. The 9–6 pins of the Arduino are connected to the columns of the keypad,
while the rows of the keypad are connected to the 13–10 pins of the Arduino. Every pin in a row is lifted
high, and every pin in a column is pulled low. After making all the necessary connections, the Arduino
cable is placed into a 16x2 LCD with the assistance of jumping wires.system to remove the software. The
program is uploaded to the Arduino using the Arduino Ide software, and once that is done, by selecting
Compile, the Arduino will begin working on the program. With the assistance of the Replica, user input is
obtained from the 4x4 keypad, and output is shown on the 16x2 LCD display, allowing us to compute
numerical values.

Circuit diagram in Figure 6

[6] [08Ano] Anonymous, "How to Use a Liquid Crystal Display," 2008.

FINAL VERDICT

This calculator is simple to use; to use it, first type the program into the Arduino IDE software. Then, with
the aid of that program, we can run the calculator.
Problems involving addition, subtraction, division, and multiplication can be resolved with this calculator.
Certain simple calculations, such as sine problems, square roots, percentages, and cos, cannot be
completed by it; instead, a calculator that is more precise and quicker at solving calculations of this
nature should be used. In this calculator, the Arduino performs the function of uploading the program
from the system via a data cable, running the program in circuit from input to output. It receives input
from the keypad and displays output on the display.

You might also like