ESP32 38 pin vs 30 pin
ESP32 30 Pin Pinout ESP32 38 Pin Pinout

The pin numbers are alike for the Nuclear Clock, but the layout is very different.

The DS3231 also has a 24C32 Non-Volatile Ram chip on board.
DS3231 RTC pinout.  
DS3231 has and I2C interface,
CLK goes to ESP32->22
DAT goes to ESP32->21
The DS3231 also has an on-board 24C32 Non-Volatile RAM.



Led Matrix

MAX7219 Led Matrix conectors.  
MAX7219 has an SPI interface:
DIN -> ESP32->13
CLK -> Esp32->14
CS -> ESP32->27


Cllck for larger PIC.