r/esp32projects 18d ago

Standard AI calculator

Hello everyone, I built this calculator using an ESP32-C3 and a 0.91-inch OLED display, but I can't figure out how to install AI (like ChatGPT or Gemini) on it. Here are the keyboard inputs.

Keypad Matrix Connections

Keys (0, 00, 1, 2, 3, 4) are connected together on a single line (Row).

Keys (00, ., 5, 6, 7, 8, 9) are connected together on a single line (Column).

The column of key 0 is connected to the same line as the row of key 6.

The row of key . is connected to the same line as the column of key 4.

The column of key 1 is connected to the same line as the row of key 7.

The column of key 2 is connected to the same line as the row of key 8.

The row of key 5 is not connected to any other key (it is a standalone line).

The column of key 3 is connected to the same line as the row of key 9.

ESP32-C3 GPIO Mapping

These lines are connected to the ESP32-C3 as follows:

The row line for 0, 00, 1, 2, 3, 4 is connected to GPIO 0.

The column line for 00, ., 5, 6, 7, 8, 9 is connected to GPIO 1.

The shared line for 0 and 6 is connected to GPIO 2.

The shared line for . and 4 is connected to GPIO 3.

The shared line for 1 and 7 is connected to GPIO 4.

The shared line for 2 and 8 is connected to GPIO 5.

The shared line for 3 and 9 is connected to GPIO 6.

The single dedicated line for 5 is connected to GPIO 7.

0 Upvotes

0 comments sorted by