Simple Calculation Design Using 8051 | Simulation
----------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------
Introduction
-------------------------
Today's post is about designing a simple calculator with 8051 Microcontroller, as we are going to use both keypad and LCD in order to design the simple calculator with 8051 Microcontroller.
Actually we have already understood the working of both keypad and LCD so I thought to share this small project as it will give you the practical application of both keypad and LCD. And if you are new to 8051 Microcontroller then its always better to first design a small project and then move to pro one.But my suggestion is to design it by yourself as it will help you in learning. You will do mistakes but obviously it will help you in learning so make mistakes and learn with it. So, let's get started with it.
--------------------------
Design
-------------------------
The calculator we are going to design in this post is quite basic calculator, it will only perform 4 tasks, which are as follows:
1. When you press the (+) button then it will add the two digits.
1.1 For example, you want to add 2 and 3 then you need to press 2 + 3 = these four buttons in sequence and when you press the = button it will automatically will give you the sum.
1.2 When you press (-) button it will subtract the two digits like 3 - 2 = and it will give you the result.
1.3 When you press (x) button it will multiply the two digits.
1.4 When you press the (/) button it will simply divide the two digits.
1.5 Whenever you press the (=) button, it will give you the output depending on the function you used before and if you press (=) in the start then it will give "Wrong Input".
1.6 Finally, there's (ON/C) button on the Calculator, when you press this it will simply reset the code and will clear the LCD.
So, that's how this calculator is gonna work. Moreover, it will always reset when you try to calculate new value.
As its a simple calculator, so its only limited to 1 digit, means it will only apply the operation on single digit input like 2+3 but it won't work on more than 1 digit like 12 + 13.
So, now let's design this calculator, so first we are gonna have a look at the Proteus simulation of Simple calculator with 8051 Microcontroller.
--------------------------
Tune with us on
-------------------------
🏷️Facebook : / electronicsdeveloper
🏷️Instagram : / electronics_developer
🏷️Tweeter : https://twitter.com/Electronics_Dev?s=09
🏷️LinkedIn : / electronics-with-shreyash
🏷️Pinterest : / electronics_developer
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Thank you !