Skip to content

abdotha/simple-calculator-using-89s51-MCU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

8051 Microcontroller Calculator

Project Description

This calculator project is built on the 8051 microcontroller platform. It supports basic arithmetic operations such as addition, subtraction, multiplication, and division. The operands can be up to three digits, with a maximum value of 255. The output is displayed with three digits and up to three decimal places, like 100.125.

Features

  • Arithmetic Operations: Performs addition, subtraction, multiplication, and division.
  • Operand Range: Accepts up to three-digit numbers, with a maximum value of 255.
  • Precision: Outputs results with up to three decimal places.
  • Error Handling: Manages invalid inputs and division by zero with appropriate messages.
  • Continuity: Allows continuation of calculations by pressing any key, retaining the last value on the screen.

Learning Outcomes

  • Understanding of 8051 registers and Instruction Set Architecture (ISA).
  • Interfacing and handling of LCD with the microcontroller.
  • Keypad interfacing and input management.
  • Assembly language operations handling.

How to Use

  1. Upload the provided assembly code to the 8051 microcontroller.
  2. Interact with the calculator through the keypad.
  3. View results on the connected LCD screen.
  4. Press any key to continue calculations with the current result.

Contributing

Feel free to fork this project, submit pull requests, or send suggestions to improve the code.

Acknowledgments

  • Thanks to all the contributors who have helped with testing, debugging, and refining the calculator's functionality.

About

This calculator project is built on the 8051 microcontroller platform. It supports basic arithmetic operations such as addition, subtraction, multiplication, and division.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors