Skip to content

Scientific Calculator made by using STM32G031K8 which is based ARM CORTEX M0+

Notifications You must be signed in to change notification settings

aykutshahin/ScientificCalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scientific Calculator

INTRO

In this project, we have aimed to create a fully operational scientific calculator in C by using STM32 G031K8 MCU. A 4x4 keypad has been connected to microcontroller GPIO ports to enter the numbers and execute basic scientific and trigonometric functions. In addition, a 4-digit seven segment displayer used to display these numbers. To achieve these, we have drawn a rough flowchart to make our developing path clearer so that we could choose our methods to approach some estimated problems. For example, we decided to use external interrupts rather than using polling methods in main loop. Also we have decided to do displaying utilities in main loop because displaying is continuous process in this project so creating another interrupt for this utility did not make any sense. Lastly, we have been aware of button debouncing. To solve this issue, there are three common ways but software prevention method has been used instead of hardware prevention method that is RC debouncing filter.

FEATURES

  • Addition,Subtraction,Multiplication,Division
  • Log,Ln,Square Root,Square Power
  • Sin,Cos,Tan,Cot
  • Pi Quality
  • Floating Display
  • Negative Display
  • Invalid,Overflow Flags
  • Ans Quality

DOCS

Project Setup

project setup

Block Diagram

block diagram

Flowchart

flowchart

Numerical Works

numerical works

About

Scientific Calculator made by using STM32G031K8 which is based ARM CORTEX M0+

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages