/AVR_Simple_Calculator

AVR Simple Calculator is a project that provides a simple calculator program for AVR microcontrollers. It is written in C and designed to be user-friendly, with a 16x2 LCD display and a keypad for input. This project is compatible with AVR microcontrollers such as the ATmega32 and is built using the AVR GCC Compiler.

Primary LanguageC

AVR Simple Calculator

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.

Getting Started

Prerequisites

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

Installing

To install AVR Simple Calculator:

  1. Clone the repository to your local machine.
git clone https://github.com/the7ag/AVR_Simple_Calculator.git
  1. Connect the AVR microcontroller to the computer using a programmer.

  2. Open a terminal and navigate to the project directory.

  3. Run the command "make" to build the program.

make
  1. Run the command "make flash" to flash the program onto the microcontroller.
make flash
  1. Connect the keypad and LCD to the microcontroller.

  2. Power on the microcontroller and use the keypad to input numbers and operations.

Usage

To use AVR Simple Calculator:

  1. Power on the microcontroller.

  2. Use the keypad to input numbers and operations.

  3. The LCD display will show the current input or result.

  4. Press the "equals" button to calculate the result.

  5. Press the "clear" button to clear the input.

Built With

  • AVR GCC Compiler - The compiler used to build the program.

Contributing

Contributions to AVR Simple Calculator are welcome! Please create a pull request with your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.