Calculator Project Guide
Table
| Matrix net | ESP32 pin |
|---|---|
| ROW0 | IO13 |
| ROW1 | IO14 |
| ROW2 | IO16 |
| ROW3 | IO17 |
| ROW4 | IO18 |
| ROW5 | IO19 |
| COL0 | IO25 |
| COL1 | IO26 |
| COL2 | IO27 |
| COL3 | IO32 |
| COL4 | IO33 |
| COL5 | IO34 |
Table
| Switch | Matrix | Label | Firmware purpose |
|---|---|---|---|
| SW1 | ROW0,COL0 | 2nd/Mode | Dedicated mode toggle for numbers, math symbols, and multi-tap letters |
| SW2 | ROW0,COL1 | 1 abc | 1 or a/b/c by repeated taps in text mode |
| SW3 | ROW0,COL2 | 2 def | 2 or d/e/f by repeated taps in text mode |
| SW4 | ROW0,COL3 | 3 ghi | 3 or g/h/i by repeated taps in text mode |
| SW5 | ROW0,COL4 | + | Addition |
| SW6 | ROW0,COL5 | Backspace | Delete previous character |
| SW7 | ROW1,COL0 | 4 jkl | 4 or j/k/l |
| SW8 | ROW1,COL1 | 5 mno | 5 or m/n/o |
| SW9 | ROW1,COL2 | 6 pqr | 6 or p/q/r |
| SW10 | ROW1,COL3 | - | Subtraction/minus |
| SW11 | ROW1,COL4 | ( | Left parenthesis |
| SW12 | ROW1,COL5 | ) | Right parenthesis |
| SW13 | ROW2,COL0 | 7 stu | 7 or s/t/u |
| SW14 | ROW2,COL1 | 8 vwx | 8 or v/w/x |
| SW15 | ROW2,COL2 | 9 yz space | 9 or y/z/space |
| SW16 | ROW2,COL3 | x | Multiply operator or graphing variable x |
| SW17 | ROW2,COL4 | ^ | Exponent |
| SW18 | ROW2,COL5 | Graph | Graph/evaluate equation |
| SW19 | ROW3,COL0 | 0 | Number 0 |
| SW20 | ROW3,COL1 | . | Decimal point |
| SW21 | ROW3,COL2 | = | Equals/evaluate |
| SW22 | ROW3,COL3 | ÷ | Division |
| SW23 | ROW3,COL4 | Clear | Clear current input |
| SW24 | ROW3,COL5 | Enter | Accept expression/character |
| SW25 | ROW4,COL0 | Up | Navigation up |
| SW26 | ROW4,COL1 | Down | Navigation down |
| SW27 | ROW4,COL2 | Left | Cursor left |
| SW28 | ROW4,COL3 | Right | Cursor right |
| SW29 | ROW4,COL4 | sin | Sine function |
| SW30 | ROW4,COL5 | cos | Cosine function |
| SW31 | ROW5,COL0 | tan | Tangent function |
| SW32 | ROW5,COL1 | log | Logarithm; use 2nd/mode for ln |
| SW33 | ROW5,COL2 | sqrt | Square root; use 2nd/mode for square |
| SW34 | ROW5,COL3 | Menu | Calculator menu/settings |
| SW35 | ROW5,COL4 | Shift | Capital letters/alternate entry |
| SW36 | ROW5,COL5 | Space | Text-entry space helper |
ESP32 GPIO assignment
Key map
Multi-tap behavior
Firmware scanning note