How to Build Electronics calculator using Arduino uno and TFT Display Shield
on
Get link
Facebook
X
Pinterest
Email
Other Apps
Electronics calculator using Arduino UNO and TFT Display Shield
Hello friends,
Today I have something new to show you. As earlier mention in the title, I designed an ELECTRONIC CALCULATOR using Arduino UNO and 2.4" TFT Lcd Display Shield.
Construction
The system is built around Arduino UNO r3 microcontroller and 2.4" TFT LCD shield. The shield is designed in such a way that no connection error will occur. Arduino UNO can be powered by 9v or 12v adapted or USB cable. on board 3.3v regulator is available on LCD shield. LCD shield gets 5v supply from arduino and convert it into 3.3v using regulator ic 1117-3.3. further, this supply is given to the LCD. LCD consist of 2.4" resistive touch pad which use as an input device for the system. The LCD is interfaced to arduino with 8 bit data bus and 5 bit control bus. this control bus is connect to 5 analg pins of arduino and data bus is connected to digital i/o pins. Touch pad is also interface with this bus . Alternatively, the touch pad and lcd is accessed through the microcontroller. Reset switch is available on tft lcd shield.
Working:
The System wake up with a message. and wait for the user.
After that main calculator opens up as shown in the figure.
The system support most of the mathematical operations and also it supports the logical operations also which further more helpful for the programmer. it supports ADDITION,MULTIPLICATION,SUBTRACTION, and DIVISION. However, it is possible to perform Logical OR and Logical AND operation. All operations are perform on decimal number and results are also printed in decimal number except that the OR , AND operation produce the result in Binary. Apart from this calculator can be used to obtain the percentage and power of a given number. It also calculate Modular of given number. Delete button is present there to delete the incorrect digit or sign pressed by the user. The best feature which attract me towards this calculator is that it can produce, BINARY, HEX, OCTAL representation of given decimal number. Special buttons are given to select the appropriate operator.
Some pictures of working module is shown below.
Advantages:
it consumes low power and less space.
Its also gives a negative answer.
percentages is shown accurately up-to two digit after decimal point.
No use of analog keys, used for input purpose, which saves the hardware .
Each and every button animates after pressing it.
It capable to print data to any serial device easily.
Working Video:
Limitations:
It can perform an operation on a maximum of 6 digit numbers individually.
32767 this is the last number which can be converted into its equivalent HEX, BINARY or OCTAL number.
any answer which contents more than 10 digit will likely to be wrong.
At a time only one operation can be perform.
Its not possible to use brackets "()" in this calculator.
Comments
Share the code, please to try it