AVR Simple Calculator is a simple calculator program for AVR microcontrollers written in C. It supports addition, subtraction, multiplication, and division operations and has a user-friendly interface with a 16x2 LCD display and a keypad for input. It is designed to work with AVR microcontrollers such as the ATmega328P.
To use AVR Simple Calculator, you'll need:
- An AVR microcontroller such as the ATmega32
- A programmer to flash the program onto the microcontroller
- A keypad for input
- A 16x2 LCD display
To install AVR Simple Calculator:
- Clone the repository to your local machine.
git clone https://github.com/the7ag/AVR_Simple_Calculator.git
-
Connect the AVR microcontroller to the computer using a programmer.
-
Open a terminal and navigate to the project directory.
-
Run the command "make" to build the program.
make
- Run the command "make flash" to flash the program onto the microcontroller.
make flash
-
Connect the keypad and LCD to the microcontroller.
-
Power on the microcontroller and use the keypad to input numbers and operations.
To use AVR Simple Calculator:
-
Power on the microcontroller.
-
Use the keypad to input numbers and operations.
-
The LCD display will show the current input or result.
-
Press the "equals" button to calculate the result.
-
Press the "clear" button to clear the input.
- AVR GCC Compiler - The compiler used to build the program.
Contributions to AVR Simple Calculator are welcome! Please create a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.