This repository presents an Arduino project that implements a simple calculator using a 4x4 keypad and an LCD display. Additionally, a Atmega328p
Proteus simulation is included to visualize the circuit and test the functionality without the need for physical components.
You will find a video in which I explain the code with audio here.
- Connect the rows (r1-r4) to pins 0-3 on the Arduino.
- Connect the columns (c1-c4) to pins 4-7 on the Arduino.
- Connect the LCD display to pins 8-13 on the Arduino.
The keypad layout is as follows:
7 8 9 /
4 5 6 *
1 2 3 -
C 0 = +
- Enter the first number using the keypad.
- Press an operator (+, -, *, /).
- Enter the second number.
- Press '=' to see the result on the LCD display.
- Press 'C' to clear the calculator and start over.
Calculator.ino
: Arduino code for simple Calculator implementation.Calculator.pdsprj
: Proteus simulation file for visualizing the implementation.Calculator.ino.with_bootloader.hex
: The hex file from the arduino compile.Explaining mycode.mp4
: This is a short video of the arduino code and the proteus implementation , you will find it with Audio here.
Feel free to explore, modify, and use this code and simulation for your own Arduino and Proteus projects!