Skip to content

yuhkm/STM32_Calculator_Keypad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

STM32_Calculator_Keypad

STM32 Based USB Keypad and Calculator Project

Overview

Development Period : 2024.08 ~ 2024.11

HW

  • MCU : STM32F401RET6
  • Displsy : ST7789 1.9" TFT LCD
  • Battery : Li-Po 500mAh 3.7V
  • Interface: USB (for keypad mode and charging)
  • Switches: Cherry MX compatible mechanical switches
    ( Kailh hot-swap sockets )

SW

  • Maximum expression length: 70 characters
  • Calculator supported Operations
    Basic arithmetic : +, -, ×, ÷
    Parentheses : (), {}, []
    Trigonometric functions : sin, cos, tan
    Planned support for : asin, acos, atan, log, ln

Key Features

  • Mode 0 : Calculator
  • Mode 1 : USB Keypad

USB C Power S/W Mode S/W Function Power source
0 0 X Power off -
0 1 0 Calculator mode Battery
0 1 1 - -
1 0 X Power off Battery charge
1 1 0 Calculator mode USB + Battery charge
1 1 1 USB Keypad mode USB + Battery charge

About

STM32 Based USB Keypad and Calculator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages