An ESP8266-based Arduino project showcasing a MAX7219 LED display for displaying the current time with flashing separators.
- ESP8266 board
- MAX7219 LED Module
- Jumper wires
Connect the ESP8266 board to the MAX7219 LED Module as shown in the wiring diagram below:
ESP8266 MAX7219 LED Module
(NodeMCU) 8 Digit Display
_______________ ________________________
| | | |
| D5 (GPIO14)|---->|DIN (Data In) |
| | | |
| D6 (GPIO12)|---->|CS (Chip Select) |
| | | |
| D7 (GPIO13)|---->|CLK (Clock) |
| | | |
| 3V3 |---->|VCC |
| | | |
| GND |---->|GND |
|_______________| |________________________|
Make sure to double-check the pin assignments and connections with your specific ESP8266 board and MAX7219 LED Module.
- Arduino IDE
- Required Libraries:
- Adafruit_GFX
- Adafruit_LEDBackpack
- WiFiUdp
- NTPClient
Include a circuit diagram image here or provide a clear description of the wiring connections between the ESP8266 and MAX7219 LED Module.
-
Clone or download this repository to your local machine.
-
Open the Arduino IDE.
-
Install the required libraries via the Arduino Library Manager:
- Open the Library Manager:
Sketch -> Include Library -> Manage Libraries
. - Search for each library name mentioned above.
- Click on each library and click the "Install" button.
- Open the Library Manager:
-
Connect the ESP8266 board to your computer using a USB cable.
-
Open the
led_display.ino
Arduino script in the Arduino IDE. -
Set up the Wi-Fi credentials:
- Replace
your_wifi_ssid
with your Wi-Fi network name (SSID). - Replace
your_wifi_password
with your Wi-Fi network password.
- Replace
-
Upload the sketch to your ESP8266 board.
-
Monitor the serial output to see the current time being displayed.
- The LED display will show the current time with flashing separators (:).
- The time will automatically update every second.
- If the time changes to reflect daylight saving, the display will adjust accordingly.
- You can customize the brightness of the LED display by modifying the
matrix.setBrightness()
value in the code (0-15).
Contributions are welcome! Please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature:
git checkout -b feature-name
. -
Implement your changes and test thoroughly.
-
Commit your changes:
git commit -m "Add feature description"
. -
Push to the branch:
git push origin feature-name
. -
Create a new Pull Request on GitHub.
This project is licensed under the MIT License.
Feel free to use this code for personal and commercial purposes.
- Mention any acknowledgments or resources you found helpful for this project.