Skip to the content
2 layers72 × 22 mmCheating calc, the printed circuit board in 3D

A mod that gives your TI-84 Wi-Fi, ChatGPT, and the ability to disappoint your math teacher in ways never thought possible. Original idea by Chromalock, reconstructed by myself after his repo is taken down.

Size
72 × 22 mm
Copper layers
2
Thickness
1.6 mm
Parts
8
Nets
16
Pads
32
Tracks, vias
39, 4
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Jan 2026
Updated
29 Oct 2026

Overview

Cheating calc is an open-source printed circuit board by ChinesePrince07, from the ChinesePrince07/TI-84-GPT-HACK repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 72 × 22 mm with 8 parts on 16 nets, routed with 39 tracks and 4 vias.

It is built around the MMBF170. Its parts include 4 resistors, 2 transistors, 1 IC and 1 connector. It belongs with the ESP32 and RISC-V boards of this library.

Main components

1

README

README.md

TI-84 GPT Hack, an ESP32 link-port bridge that gives a graphing calculator Wi-Fi tools, GPT, and wireless updates

A graphing calculator with a network sidecar.
An ESP32 speaks the TI link protocol, makes web requests, and sends text, programs, and 96×63 images back as calculator variables.

Watch the repository demo

Built TI-84 ESP32 interface PCB

This is a hardware and protocol research project—not an exam aid. Follow your school’s device and academic-integrity rules.

What it can do

  • Ask an OpenAI-compatible model questions with persistent chat sessions
  • Page long text responses on the calculator screen
  • Connect through a phone-friendly captive portal, including WPA2-Enterprise networks
  • Scan and select nearby Wi-Fi networks from the calculator
  • Download calculator programs and 96×63 monochrome images
  • Update both ESP32 firmware and the calculator launcher over the air
  • Serve a built-in AP Physics C E&M reference without a network request
  • Run GPT-backed physics and math prompts
  • Expose a Telnet serial monitor over the local network
  • Sleep after two minutes of inactivity and wake when the calculator sends a command

The link-port trick

text
TI-BASIC launcher
       │ command + arguments as TI variables
       ▼
TI-84 link port ── TIP / RING ── ESP32
                                      │
                         Wi-Fi / HTTPS / OTA
                                      │
                                      ▼
                    GPT API · firmware · programs

The ESP32 uses CBL2, TICL, and TIVar to behave like another calculator. The launcher sends a command ID and arguments; firmware performs the network or local operation, then returns a TI string, number, picture, or program. The calculator never needs to understand HTTP.

Project layers

LayerResponsibility
programs/ANDYGPT.8xpcalculator menus and interaction
esp32/esp32.inolink protocol, Wi-Fi, commands, sleep, and OTA
server/GPT, program, image, firmware, log, and request routes
pcb/KiCad board, schematic, Gerbers, and build photos
compile_launcher.py + scriptsprepare launcher and firmware assets

Use the existing build

The firmware currently points to https://api.andypandy.org.

  1. Run ANDYGPT on the calculator.
  2. Open Settings → SETUP.
  3. Join the temporary Wi-Fi network named calc from a phone or computer.
  4. Use the captive portal—or open 192.168.4.1—to save network credentials.
  5. Return to the launcher and choose a connected feature.

The ESP32 stores Wi-Fi credentials for later boots. For mixed-case input on the TI-84 keyboard, letters are lowercase by default and parentheses mark uppercase letters: (H)ELLO becomes Hello.

Build your own hardware

The KiCad sources, schematic, Gerbers, firmware, and calculator programs are included. A detailed assembly tutorial is intentionally out of scope: this build involves a custom PCB, fine-pitch hardware work, and a timing-sensitive calculator bus. It is not a first soldering project.

At the software level:

  1. Open esp32/esp32.ino in Arduino IDE.
  2. Install the ESP32 board support and the libraries included by the sketch: TICL, CBL2, TIVar, and UrlEncode.
  3. Flash the firmware to the ESP32 target used by your board.
  4. Transfer programs/ANDYGPT.8xp to the TI-84, or use the launcher update path once the bridge is working.

If you change hardware, verify the TIP and RING pin definitions before powering the interface.

Run a private server

The backend requires Node.js 18 or later, an OpenAI-compatible API, and S3-compatible object storage for chat and firmware state.

bash
cd server
npm install

Create server/.env:

dotenv
OPENAI_API_KEY=your-key
OPENAI_BASE_URL=
LLM_MODEL=gpt-5.4-nano
LLM_MODEL_MATH=

R2_ENDPOINT=https://your-account.r2.cloudflarestorage.com
R2_ACCESS_KEY_ID=your-access-key
R2_SECRET_ACCESS_KEY=your-secret-key
R2_BUCKET_NAME=your-bucket

OPENAI_BASE_URL and LLM_MODEL_MATH are optional. Keep .env out of version control.

Run locally:

bash
npm start

The default local port is 8080. Change the SERVER definition near the top of esp32/esp32.ino to the HTTPS URL of your deployment, then reflash.

AP Physics C E&M mode

The launcher includes local reference branches for equations, derivations, field and circuit behavior, common graphs, and right-hand-rule mnemonics. These static references do not require Wi-Fi. The SOLVER branch sends numeric or free-form prompts to the configured model.

Use ◀/▶ to move through long pages and CLEAR to return. Type expressions in plain words when possible; many special TI math glyphs do not decode cleanly over the current link layer.

Updates

From Settings → UPDATE, the ESP32 checks the server’s firmware version, downloads a newer binary when available, reboots, and can push the updated launcher back to the calculator.

Firmware artifacts and launcher data are stored through the server’s S3-compatible storage layer. Protect upload routes if you deploy the backend publicly.

Known limits

  • Link communication is timing-sensitive; retry or power-cycle both devices after a stalled transfer.
  • The ESP32 radio requires 2.4 GHz Wi-Fi.
  • Image transfer is experimental and not consistently reliable.
  • TI tokens for complex math symbols are only partially decoded; plain-text math is safer.
  • Several lower-level math and utility handlers remain in firmware even though the current launcher does not expose them.
  • The optional camera code is disabled by default.

Origin and license

The concept was inspired by ChromaLock’s 2024 video. This reconstruction, firmware, PCB design, server, and launcher are maintained by Andy / ChinesePrince07.

Licensed under the GNU GPL v3.

Parts

8
QtyValueFootprintReferences
4RResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1, R2, R3, R4
2MMBF170Package_TO_SOT_SMD:SOT-23Q1, Q2
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1MOUDLE-SEEEDUINO-XIAO-ESP32C3xiao ESP32C3_PCB:MOUDLE14P-SMD-2.54-21X17.8MMU1

Similar boards

  • 2 layers14 × 14 mmTry2, the printed circuit board in 3D

    Try2

    SKGleba/psp2sdboot

    Tools and guides for achieving code execution in Playstation Vita/TV BootROM's "SD boot mode"

    10 parts51MIT
  • 6 layers44 × 118 mm3210retro test, the printed circuit board in 3D

    3210retro test

    DasBasti/NokiaRetroFit

    Retrofitting a Nokia 3210 with modern Processor

    195 parts9Apache-2.0
  • 2 layers114 × 89 mmAyn-4b, the printed circuit board in 3D

    Ayn-4b

    afiskon/ayn-4b

    Portable QRP CW Transceiver

    278 parts7MIT
  • 6 layers105 × 70 mmBUDDY v1.0.0, the printed circuit board in 3D

    BUDDY v1.0.0

    bobc/Prusa-Mini-assembly

    A Prusa Mini 3D model assembly using OpenSCAD

    364 parts7MIT
  • 2 layers100 × 90 mmAyn dc, the printed circuit board in 3D

    Ayn dc

    afiskon/ayn-dc

    DC QRP CW transceiver

    226 parts5MIT
  • 2 layers45 × 75 mmRelay board, the printed circuit board in 3D

    Relay board

    waterloo-rocketry/rlcsv3

    Arduino code and electrical schematics for Waterloo Rocketry Remote Launch Control System V3

    51 parts5MIT
  • 4 layers150 × 100 mmZynq eame 1, the printed circuit board in 3D

    Zynq eame 1

    DRubioG/Zynq-eame

    Projects based on Zynq SoCs

    185 parts3MIT

Questions

How big is the Cheating calc PCB?

It measures 72 × 22 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Cheating calc use?

8 parts, built around the MMBF170. 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 Cheating calc KiCad files?

From the ChinesePrince07/TI-84-GPT-HACK repository on GitHub, at the commit this page was made from: the board is pcb/cheating-calc.kicad_pcb and its schematic pcb/cheating-calc.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cheating calc design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).