Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Project Name: Multifunctional Mechanical Axis Scientific Calculator

Project Author: shaoduan

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Introduction
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

When you think I’m… using a calculator to do math?

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Actually, I’m…

Playing Mario!

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Playing COTD!

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Playing Snake!

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Oh my, if I had this? Who could tell I’m slacking off?

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Project Description
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Back to the point! Thisslacking off toolcalculatoris made using ESP32.

It is aperfect calculator that integrates “calculator + numeric macro keyboard + game console + fully functional development board”!

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Let’s take a look at its hardware configuration!

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Hardware Description
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Schematic Diagram
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
PCB Diagram
Hardware Configuration
1

Main Control: ESP32 WROOM32 E driver datasheet.

2

Axis: Kailh v1 choc low profile.

3

Screen: 256×64 OLED (SSD1322).

4

Serial Chip: CH340C.

4

Power Supply Description: Uses a 1000mAh battery + tp4056 + dw01 battery protection, supports charging while in use.

5

Supports microSD card for program storage.

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Appearance Design
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

The appearance of the calculator mainly consists of: a black translucent acrylic plate + PCB + bottom transparent acrylic plate.

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Very sturdy, cost-effective, and very easy to assemble, everyone who has used it says it’s great.

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Function Key Description
1

Layer Switch Key/shift:

  • Single press temporarily switches, like a shift key

  • Double press switches and locks, like caps lock.

2

Angle Switch Key: Switch between degree and radian

3

Tab: Used to switch between calculator input box and history records

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Part Function Description
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Calculator Section
1

Supports basic arithmetic, power and square root, trigonometric functions, exponential and logarithmic functions. May add automatic differentiation and solving equations in the future.

2

History Record: Used to record calculations, through tab + enter can also copy answers from the history, greatly improving calculation efficiency.

Numeric Keypad Section
1

The calculator can act as a numeric keypad plus 10 customizable macro keys, the defined keys will be displayed on the left side of the screen.

2

Can set multi-layer macro keys, allowing switching layers based on the software currently in use. For example: programming, PS, editing

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Software Description
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
01
Upload Program

By saving the compiled program’s.bin file to the microSD card, the calculator will read the files on the card and run them.

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

02
ESP32 Development Board

This calculator exposes the ESP32’s pins, allowing it to be used as a development board with Arduino IDE.

The exposed pins can also connect to expansion modules.

03Firmware Installation

The calculator’s firmware is developed using vscode + PlatformIO.

All programs and configuration files are explained in the original project.

After flashing the program into the ESP32, it will not run immediately. You need to copy the .bin file from the SD card to run it.

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Open Source Materials Download Link
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

If you need【circuit + code】 and other materials for DIY learning, please scan the code to enter the original project to obtain!

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Scan to enter【original project】

Get【circuit + code】

Contact the author for【consultation + likes】

Original project URL:

https://oshwhub.com/shaoduan/sci-calc#P4

PS: Want to view the circuit in the cloud? After entering the original project, click “Open Editor”!

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
More Exciting Recommendations
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking

*This article is a reprint of user creation from the “Lichuang Open Source Hardware Platform”. If there is any infringement, please contact to delete.

Like if you see this!
Creating a Universal Calculator with ESP32: The Ultimate Tool for Multitasking
Click here to view the original project

Leave a Comment

Your email address will not be published. Required fields are marked *