Arduino Nano ESP32-Based Real-Time Clock and OLED Display System
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino Nano ESP32, an SSD1306 128x64 SPI OLED display, and an RTC DS3231 module. The document covers the components used, their wiring details, and the embedded code for the microcontroller.
Component List
Arduino Nano ESP32
- Description: A compact microcontroller board based on the ESP32 chip, suitable for IoT applications.
- Pins: D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, GND, RST, RX0, TX1, D13, 3.3V, B0, A0, A1, A2, A3, A4, A5, A6, A7, VBUS, B1, VIN
SSD1306 128x64 SPI OLED
- Description: A 128x64 pixel OLED display module that uses the SPI communication protocol.
- Pins: GND, Vcc, SCLK, MOSI, Reset, DC, CS
RTC DS3231
- Description: A real-time clock module with a temperature-compensated crystal oscillator.
- Pins: 32K, SQW, SCL, SDA, VCC, GND
Wiring Details
Arduino Nano ESP32 to SSD1306 128x64 SPI OLED
- D12 (Arduino) to CS (OLED)
- D11 (Arduino) to DC (OLED)
- D13 (Arduino) to Reset (OLED)
- D9 (Arduino) to MOSI (OLED)
- D10 (Arduino) to SCLK (OLED)
- 3.3V (Arduino) to Vcc (OLED)
- GND (Arduino) to GND (OLED)
Arduino Nano ESP32 to RTC DS3231
- A5 (Arduino) to SCL (RTC)
- A4 (Arduino) to SDA (RTC)
- 3.3V (Arduino) to VCC (RTC)
- GND (Arduino) to GND (RTC)
SSD1306 128x64 SPI OLED to RTC DS3231
- Vcc (OLED) to VCC (RTC)
- GND (OLED) to GND (RTC)
Code Documentation
Arduino Nano ESP32 Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
This document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the embedded code for the Arduino Nano ESP32 microcontroller.