Handmade goods are always special don’t you think? Right from our childhood, haven’t we all felt handmade postcards with crayons and colours were far better than greeting cards? If you are someone like me, who loves to take up challenges, struggle and pull off feats, you would love this post. Today, we would shed light on how you can build a simple Arduino based calculator. For all the anxious souls out there, this post is going to get interesting and in the end, you would get a sense of accomplishment because building one is not as simple as it sounds. So read on!
For this project, you need a few things and they are:
The Logic Behind the Working
The entire set up is based on instructions and feedback. This means that the system has a blank LCD screen at the starting, which waits for you to feed instructions. When you press a number from the 4X4 keypad, the system receives the data and when you press a function, the system immediately memorizes the first number you entered and waits for your second instruction. When you press another number, it performs the intended operation. When you press the = symbol, it prints the result and waits for further instructions, which is the clearing of the process using the C key. You can also reset the entire process at any given time using the C key.
Important Factor to Consider
Now before you start working on the set up, you need to make sure you that you have installed two crucial libraries in your Arduino board. These two libraries are the keypad.h and LiquidCrystal.h. There are two ways to go about doing this. You can simply make use of the library manager if the Arduino board you are using is either 1.6.2 or above or by copying the two libraries into the folder called libraries in your Arduino devices.
The set up from now would require you to code a little, wire the keypads, set the numbers, work on the circuits and perform a couple of other small yet crucial tasks. To make things easier to understand and follow, we have decided to share a video that will completely walk you through the process and build an error-free system.
To begin with the set up, all you have to do is click here.
The video shows you the arrangement and the set up step by step and makes it easier to keep track of your progress as well. If you are done, let us know on the comments if it worked!