Wiring
Always unplug USB before wiring. Follow the GPIO labels printed on the ESP32-C3 Super Mini. The GPIO signals and displays use 3.3 V. The microSD reader’s supply voltage depends on the module.
One display
| GC9A01 display | ESP32-C3 |
|---|---|
| VCC | 3.3 V |
| GND | GND |
| SCL / SCK | GPIO4 |
| SDA / MOSI | GPIO6 |
| DC | GPIO10 |
| RST | GPIO20 |
| CS | GPIO3 |
Two displays
The two displays share all signals except CS, which has its own pin for each display.
| Signal | Display 1 | Display 2 |
|---|---|---|
| VCC | 3.3 V | 3.3 V |
| GND | GND | GND |
| SCL / SCK | GPIO4 | GPIO4 |
| SDA / MOSI | GPIO6 | GPIO6 |
| DC | GPIO10 | GPIO10 |
| RST | GPIO20 | GPIO20 |
| CS | GPIO3 | GPIO7 |
After wiring, choose 2 displays in the Eyes web interface (1 · Pantallas in Base or Dispositivo → Pantallas in Studio and Visor). If the left eye appears on the right display, select Intercambiar (Swap). Available CS pins are GPIO3, GPIO7, GPIO5 and GPIO2.
Two displays and an SPI microSD reader
The pictured reader is a six-pin MicroSD Card Adapter measuring about 41 × 24 mm. With the socket and components facing you, the pins are labeled CS, SCK, MOSI, MISO, VCC and GND. Follow the labels printed on your module, since the connector appears reversed in some views.
The blue board shown appears to be the version with a 3.3 V regulator and a logic-level buffer. If the module specifies 5 V at VCC, connect VCC to 5 V/VBUS on the USB-powered ESP32. If the module specifies a direct 3.3 V input, use 3V3. Verify that MISO uses 3.3 V logic before connecting it to the ESP32. Follow the table for power and signal connections.
| Connection | Destination | ESP32-C3 Super Mini | ESP32-S3 |
|---|---|---|---|
| GND | Both displays and reader | Common GND | Common GND |
| Display VCC | Both GC9A01 displays | 3V3 | 3V3 |
| Reader VCC | microSD adapter | 5V/VBUS for the regulated version described above | 5V/VBUS for the same version |
| SCK / SCL | Both displays and reader | GPIO4 | GPIO4 |
| MOSI / SDA | Both displays and reader | GPIO6 | GPIO6 |
| MISO | Reader only | GPIO0 | GPIO11 |
| DC | Both displays | GPIO10 | GPIO10 |
| RST | Both displays | GPIO20 | GPIO8 |
| Left display CS | Display 1 | GPIO3 | GPIO7 |
| Right display CS | Display 2 | GPIO7 | GPIO2 |
| Reader CS | microSD adapter | GPIO5 | GPIO5 |
Tested setup with the ESP32-C3 SuperMini V1601
The tested setup uses the regulated adapter at 5V/VBUS, MISO on GPIO0 and CS on GPIO5. The diagram shows the reader alone. Use the table above for both GC9A01 displays and share SCK, MOSI and GND.
Use one shared breadboard row for SCK and one for MOSI, and wire each of the three CS lines to its own GPIO. Keep the SPI wires short. MicroSD mode disables the GPIO5 button. On the C3, leave the joystick disconnected because GPIO0 is used for MISO. On the S3, the joystick can still use GPIO1, GPIO9 and GPIO21.
In Eyes, select 2 displays and SPI microSD card. If the picture or card reads are unreliable, start with the display SPI at 20 MHz, check GND and boot with the card inserted. See how to prepare the card and install the firmware.
References: sharing the SPI bus with SD (Espressif) and ESP32-C3 GPIO.
HW-504 joystick (optional)
Connect the module pin marked +5V to 3.3 V. Its analog outputs go directly into the ESP32-C3.
| Joystick | ESP32-C3 |
|---|---|
| VCC / +5V | 3.3 V |
| GND | GND |
| VRx | GPIO0 |
| VRy | GPIO1 |
| SW | GPIO21 |
Enable Physical joystick in the configurator or use Dispositivo → Joystick e inicio on the device. Release the stick and click Calibrar centro (Calibrate center). Invert any axis that moves the wrong way. Pressing the stick makes the eyes blink.
Leave the feature disabled if you have no joystick. Floating inputs pick up noise and would make the eyes jerk.
Momentary push button (optional)
With the ESP32-C3 Super Mini turned off and unplugged, connect one wire from the button to GPIO5 (marked 5) and the other to GND. A simple two-contact button has no polarity. Keep the 5V power pin out of this circuit.
Use GPIO3 and GPIO7 for the displays’ CS lines. If a display already uses GPIO5, change its CS wire and setting before enabling the button.
Enable Features → Momentary push button in the configurator and download the BIN. Physical joystick can stay disabled. One press triggers an expression on the visible eyes, which then return to their original expression. Holding the button does not repeat the action. It works with automatic expressions disabled.
Breadboard setup
- Place the ESP32-C3 across the breadboard’s center gap so each pin row is accessible.
- Use the power rails for 3.3 V and GND to supply the displays and joystick.
- For two displays, share one row for each of SCK, MOSI, DC and RST. Run the CS wire directly from the ESP32 to each display.
- Keep SCK and MOSI wires under 15 cm. Long wires can cause lines or unusual colors.
- For a white display, check RST and DC first. For a black display, check VCC and CS.
Power
Use the computer’s USB port or a 5 V / 1 A charger. Two displays at full brightness draw more power. Try a different cable or charger if the ESP32 resets when Wi-Fi starts.