diff --git a/.gitignore b/.gitignore index 89cc49c..9617f15 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ .vscode/c_cpp_properties.json .vscode/launch.json .vscode/ipch +src/credentials.h \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..7f3e749 --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ +# LED Matrix Monitor 2 + +A customizable LED matrix display project using ESP32 and MAX7219 LED matrix modules. This project creates a "Matrix"-style rain effect combined with a functional digital clock that synchronizes time via WiFi/NTP. + +![LED Matrix Monitor 2](https://via.placeholder.com/800x400?text=LED+Matrix+Monitor+2) + +## Features + +- Matrix-style falling characters rain effect with realistic brightness simulation +- Real-time clock display with seconds progress bar +- WiFi connectivity for automatic time synchronization with NTP servers +- Configurable LED brightness levels +- Multiple text display modes (scrolling, centered) +- Modular code architecture for easy customization + +## Hardware Requirements + +- ESP-WROOM-32 development board +- 4 MAX7219 LED matrix modules (8x8 each, cascaded) +- Micro USB cable for programming and power +- Jumper wires for connections + +## Wiring Diagram + +| ESP32 Pin | MAX7219 Pin | +|-----------|-------------| +| 5 | CS | +| 23 | DIN | +| 18 | CLK | +| GND | GND | +| 5V | VCC | + +## Software Dependencies + +- PlatformIO IDE +- Arduino framework for ESP32 +- [MD_MAX72XX](https://github.com/MajicDesigns/MD_MAX72XX) library for controlling MAX7219 LED matrices +- ESP32 Arduino Core (includes WiFi and Time libraries) + +## Project Structure + +The code is organized into modules to improve maintainability: + diff --git a/src/credentials.h b/src/credentials.h.exmple similarity index 84% rename from src/credentials.h rename to src/credentials.h.exmple index 5975803..2d88662 100644 --- a/src/credentials.h +++ b/src/credentials.h.exmple @@ -3,7 +3,7 @@ // WiFi credentials #define WIFI_SSID "MatCaverna" // Replace with your WiFi SSID -#define WIFI_PASSWORD "nonlasai?" // Replace with your WiFi password +#define WIFI_PASSWORD "*****" // Replace with your WiFi password // NTP Server settings #define NTP_SERVER "pool.ntp.org"