Skip to the content
2 layers76 × 170 mmOpenCalc pcb V2, the printed circuit board in 3D

OpenCalc pcb V2

CoryPearl/opencalc2

A new and improved, better than the TI-84, open-source, graphing calculator

Size
76 × 170 mm
Copper layers
2
Thickness
1.6 mm
Parts
85
Nets
72
Pads
393
Tracks, vias
1,850, 222
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
7 May 2026
Updated
21 Sep 2026

Overview

OpenCalc pcb V2 is an open-source printed circuit board by CoryPearl, from the CoryPearl/opencalc repository on GitHub. It is a 2-layer board of 76 × 170 mm with 85 parts on 72 nets, routed with 1,850 tracks and 222 vias.

It is built around the ESP32-S3-WROOM-1-N8, AP63203WU and TP4056-42-ESOP8. Its parts include 51 switches, 20 resistors, 3 capacitors, 3 ICs and 2 diodes. It belongs with the ESP32 boards of this library.

Main components

3

README

README.md

OpenCalc logo OpenCalc logo

Prototype sponsored by PCBWay.

OpenCalc is an open-source graphing calculator inspired by the TI-84, built around an ESP32-S3, a color LCD, USB-C, Python-style scripting, games, and expandable firmware.

OpenCalc-authored software is licensed under GPL-3.0-or-later. Bundled components retain their original licenses; see Third-Party Notices.

The calculator runs OpenCalc OS, the project’s open-source ESP32-S3 operating environment. OpenCalc OS includes the calculator interface, math and graphing engines, built-in apps, scripting runtime, USB file storage, keypad handling, display drivers, game support, and power management.

Website: https://corypearl.github.io/opencalc/product-website/

Blog: https://corypearl.github.io/opencalc/blog.html

OpenCalc revised case rotating, exploding apart, and reassembling OpenCalc V5 PCB OpenCalc OS demo

Click an image to enlarge. The UI tour visits all 12 apps and the game menu.

Highlights

  • A real graphing calculator: textbook-style input, exact and numerical math, complex numbers, calculus, history, typed persistent variables, and unit-aware expressions such as 8 m / 2 s.
  • Integrated CAS and graphing: Giac/KhiCAS symbolic math linked to Cartesian, parametric, polar, and sequence graphs, tables, roots, derivatives, tangents, integrals, and points of interest. Alpha + Graph opens exact symbolic analysis for the selected graph, including its derivative, integral, roots, asymptotes, tangent line, and integral shading. CAS results have selectable solution branches, exact/decimal views, domain controls, assumptions, and a searchable command catalog. All graph modes support per-series colors/styles, mode-aware trace and tables, scalable image backgrounds, and direct or recurrent sequences.
  • A complete math toolkit: Statistics, Lists, Matrices, Solver, Finance, Conics, Inequalities, and a searchable science and engineering reference.
  • Reference Center: press Alpha + Zoom for an interactive periodic table and browsable math, physics, and engineering formulas and explanations.
  • Programmable on the device: edit, run, upload, and debug Tiny Python programs with math, statistics, exceptions, local modules, cancellable forever loops, CAS access, graphics, storage, audio, and protected CircuitPython-style sensor objects.
  • Built for science and electronics: use Tiny Python, 12 bidirectional digital pins, four 16-bit analog inputs, and shared I2C to control experiments, plot live sensor data, and analyze recordings in Stats.
  • Games included: press Alpha + 2nd for Tetris, Doom, Snake, Breakout, and NES/Mario support with persistent high scores, multi-key controls, and optional audio.
  • Open hardware: ESP32-S3, 320x240 color display, diode-isolated keypad, rechargeable battery, USB-C, expandable storage, and a documented V5 PCB.
  • One-cable workflow: the same USB-C connection handles charging, firmware flashing, serial monitoring, and file storage.
  • Dual-core OpenCalc OS: one core keeps the interface and graphics responsive while the other handles background math and system work, with persistent worksheets, configurable performance, and power-saving controls.

Rough production Cost Estimate

Cost areaEstimate per unit
PCB electronics parts from BOM$11-$16
320x240 LCD$5
3.7 V 2000 mAh Li-ion battery$3-$5
Cheap keycaps / keypad plastics$2-$4
3d printed case$3-$6
PCB fabrication + SMT assembly$5-$9
Bulk shipping / logistics allowance$3-$6
Estimated production cost$32-$51

Project Layout

text
firmware/   OpenCalc OS source for the ESP32-S3 calculator
hardware/   key layouts, graphics, PCB files, case files, and hardware docs
docs/       notes and project website files

Quick Start

Install and activate ESP-IDF first; see Espressif's ESP32-S3 Get Started guide. Then connect OpenCalc with a data-capable USB-C cable and build the firmware:

console
cd firmware
idf.py build

Find the serial port created by OpenCalc:

SystemTerminalCommand
macOSTerminalls /dev/cu.*
LinuxTerminalls /dev/ttyACM* /dev/ttyUSB* 2>/dev/null
WindowsPowerShell[System.IO.Ports.SerialPort]::GetPortNames()
WindowsCommand Promptmode

Look for a new USB serial device after connecting the calculator. Typical names are /dev/cu.usbmodemopencalc1 on macOS, /dev/ttyACM0 on Linux, or COM5 on Windows. Replace PORT below with that complete name; do not type the word PORT literally.

If automatic flashing does not enter the bootloader, hold Boot, tap Reset, and then release Boot. Flash using the detected port:

text
idf.py -p PORT flash

After OpenCalc restarts, find the port again because its name can change between bootloader and normal operation. Start the serial monitor with the runtime port:

text
idf.py -p PORT monitor

Press Ctrl+] to exit the monitor. The same USB-C cable supports flashing, serial monitoring, storage, and charging.

Documentation

  • Complete OpenCalc OS Guide: in-depth controls, app workflows, games, scripting, settings, build instructions, validation, and troubleshooting.
  • Tiny Python Start Guide: create, run, and debug scripts; use imports, math, files, graphics, audio, keys, and scientific I/O.
  • Firmware README: build settings, flashing, storage image, controls, apps, games, and firmware status.
  • App Status: implementation status for every OpenCalc OS app and game.
  • PCB README: current V5 PCB parts, pin map, power path, display, keypad, battery, audio, and bring-up checks.
  • Tiny Python README: scripting runtime details.
  • Tiny Python capability audit: supported Python and hardware APIs, limits, and the CircuitPython compatibility boundary.

Current Status

OpenCalc OS is a capable working prototype. Every built-in app has its main workflow in place, and the calculator, graphing, CAS, scripting, USB storage, power controls, and all five games are usable. The remaining work is mostly deeper edge-case handling, long-session reliability, and validation of the new V5-only hardware features.

AreaCurrent estimate
Primary app workflows implemented12/12 (100%)
Automated host test groups passing19/19 (100%)
Planned software feature coverageAbout 87%
Everyday workflow usabilityAbout 83%
Software reliability confidenceAbout 75%
Production-release readinessAbout 50%

These percentages are practical estimates, not test-coverage measurements. The biggest jobs left are closing Tiny Python's compatibility gaps, handling very large CAS results and unusual math edge cases, stress-testing large matrices and long sessions, and validating V5 audio and scientific I/O on real hardware. See the app-by-app status for more detail.

Credits

  • OpenCalc OS, hardware, and enclosure design: Cory Pearl.
  • CAS engines: Giac/Xcas by Bernard Parisse and contributors, with the KhiCAS ESP32 port lineage under GPL-3.0-or-later; Eigenmath remains as a BSD-2-Clause fallback.
  • Doom engine: id Software's GPL Doom source, Simon Howard's Chocolate Doom work, and doomgeneric by ozkl, under GPL-2.0-or-later notices.
  • NES emulation: Anemoia-ESP32 by Shim06 and contributors, under GPLv3.
  • Platform: Espressif ESP-IDF, TinyUSB, and the ESP LCD ILI9341/ST7789 panel drivers under their respective licenses.
  • Prototype project funding was provided in part by PCBWay.

Complete copyright, license, and game-data details are recorded in THIRD_PARTY_NOTICES.md. Doom WADs and NES ROMs are separate game data and are not licensed under the OpenCalc firmware license.

Parts

85
QtyValueFootprintReferences
51SW_PushButton_Switch_THT:SW_PUSH_6mmSW1, SW2, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17, SW18, SW19, SW20, SW21, SW22, SW23 +35
1210kResistor_SMD:R_0402_1005MetricR1, R9, R11, R12, R13, R14, R15, R16, R17, R18, R19, R20
2100Resistor_SMD:R_0402_1005MetricR5, R6
2100kResistor_SMD:R_0402_1005MetricR7, R10
25.1kResistor_SMD:R_0402_1005MetricR2, R3
2LEDLED_SMD:LED_0402_1005MetricD1, D2
11.2kResistor_SMD:R_0402_1005MetricR4
1100nFCapacitor_SMD:C_0402_1005MetricC3
110uFCapacitor_SMD:C_0805_2012MetricC1
122uFCapacitor_SMD:C_0805_2012MetricC2
132kResistor_SMD:R_0402_1005MetricR8
14.7uHInductor_SMD:L_0603_1608MetricL1
1AP63203WUPackage_TO_SOT_SMD:TSOT-23-6U3
1Bat+TestPoint:TestPoint_Pad_D2.0mmTP1
1Bat-TestPoint:TestPoint_Pad_D2.0mmTP2
1Conn_01x24Connector_PinHeader_2.54mm:PinHeader_1x24_P2.54mm_VerticalJ2
1ESP32-S3-WROOM-1RF_Module:ESP32-S3-WROOM-1U1
1PMOSPackage_TO_SOT_SMD:SOT-23Q1
1TP4056-42-ESOP8Package_SO:SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.41x3.3mm_ThermalViasU2
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4085J1

More from CoryPearl/opencalc

2
  • 4 layers75 × 170 mmOpencalc pcb V5, the printed circuit board in 3D

    Opencalc pcb V5

    CoryPearl/opencalc

    A new and improved, better than the TI-84, open-source, graphing calculator

    194 parts2
  • 2 layers76 × 170 mmOpenCalc pcb V1, the printed circuit board in 3D

    OpenCalc pcb V1

    CoryPearl/opencalc

    A new and improved, better than the TI-84, open-source, graphing calculator

    18 parts2

Similar boards

  • 2 layers137 × 84 mmESP32-Geiger Counter, the printed circuit board in 3D

    ESP32-Geiger Counter

    AronASzucs/Avalanche32

    Handheld ESP32-S3 Geiger counter with a firmware-regulated 400 V boost, SBM-20 tube, USB-C charging and OLED display.

    89 parts3
  • 2 layers101.9 × 82.3 mmNivara Controls, the printed circuit board in 3D

    Nivara Controls

    Gabriel-dot-hub/Gabriel_Ortiz_Electiva_2025_C2

    Repositorio para las clases de la electiva con el profesor Carlos Antonio Pichardo Viuque

    91 parts2
  • 4 layers100 × 100 mmBrain, the printed circuit board in 3D

    Brain

    Pegoku/SarcasmOS

    Personal assistant characterized by Bender from Futurama

    225 parts2
  • 2 layers203.1 × 108.1 mmESP32 Breakouts Playground, the printed circuit board in 3D

    ESP32 Breakouts Playground

    PockyBum522/cad-pcb-projects

    Various PCB projects, mostly in KiCad

    117 parts2MIT
  • 4 layers80 × 50 mmGlowbuck, the printed circuit board in 3D

    Glowbuck

    Diamantenmine/glowbuck

    Together with Firefly Luciferin, you can create your own ambilight that connects via USB-C to your computer and draws power from a USB-C PD power supply. Glowbuck is in no way associated with the linked project.

    132 parts1GPL-3.0
  • 2 layers163 × 75.8 mmProjeto, the printed circuit board in 3D

    Projeto

    AlisonTristao/bally_robot

    Porjeto de Hardware - Bally

    97 parts
  • 4 layers102.2 × 83 mmZorionx nivara, the printed circuit board in 3D

    Zorionx nivara

    BRYANSFM/Bryan_Fernandez_ELECTIVA_2025_C2

    132 parts

Questions

How big is the OpenCalc pcb V2 PCB?

It measures 76 × 170 mm and has 2 copper layers, 1.6 mm thick.

What parts does the OpenCalc pcb V2 use?

85 parts, built around the ESP32-S3-WROOM-1-N8, AP63203WU and TP4056-42-ESOP8. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the OpenCalc pcb V2 KiCad files?

From the CoryPearl/opencalc repository on GitHub, at the commit this page was made from: the board is hardware/pcb/V2/openCalc-pcb-V2.kicad_pcb and its schematic hardware/pcb/V1/openCalc-pcb-V1.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the OpenCalc pcb V2 design in my own project?

Its repository states no licence, so its author keeps all rights: ask CoryPearl before reusing the design.