{"id":25321260,"url":"https://github.com/desifish/epaper-display-ntp-clock","last_synced_at":"2025-04-07T20:35:46.673Z","repository":{"id":243188187,"uuid":"811724283","full_name":"desiFish/EPaper-Display-NTP-Clock","owner":"desiFish","description":"E-Paper Display based efficient NTP Clock","archived":false,"fork":false,"pushed_at":"2025-04-05T13:47:09.000Z","size":23168,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T14:22:38.503Z","etag":null,"topics":["32650","arduino","arduino-ide","bh1750","bms","clock","ds3231","e-paper","e-paperdisplay","esp32","lifepo4","lifepo4-battery","ntp","smart-clock","temperature-sensor","tp5000","usbc","waveshare-epaper","xiao-esp32-c3","xiao-esp32c6"],"latest_commit_sha":null,"homepage":"https://iotthings.pythonanywhere.com/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/desiFish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-07T07:11:10.000Z","updated_at":"2025-04-05T13:45:36.000Z","dependencies_parsed_at":"2024-12-21T04:25:03.209Z","dependency_job_id":"65164c46-aef2-4f5a-8bc6-56b6612b2903","html_url":"https://github.com/desiFish/EPaper-Display-NTP-Clock","commit_stats":null,"previous_names":["chikne97/e-paper-display-ntp-clock","kamadotanjiro-beep/esp32-epaper-display-ntp-clock","desifish/esp32-epaper-display-ntp-clock","desifish/epaper-display-ntp-clock"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desiFish%2FEPaper-Display-NTP-Clock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desiFish%2FEPaper-Display-NTP-Clock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desiFish%2FEPaper-Display-NTP-Clock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desiFish%2FEPaper-Display-NTP-Clock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desiFish","download_url":"https://codeload.github.com/desiFish/EPaper-Display-NTP-Clock/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247726407,"owners_count":20985890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["32650","arduino","arduino-ide","bh1750","bms","clock","ds3231","e-paper","e-paperdisplay","esp32","lifepo4","lifepo4-battery","ntp","smart-clock","temperature-sensor","tp5000","usbc","waveshare-epaper","xiao-esp32-c3","xiao-esp32c6"],"created_at":"2025-02-13T22:17:48.657Z","updated_at":"2025-04-07T20:35:46.664Z","avatar_url":"https://github.com/desiFish.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003e🌟 Minimalistic E-Paper NTP-RTC Clock 🕒\u003c/h1\u003e\n  \u003cp\u003e\n    \u003cimg src=\"https://img.shields.io/badge/ESP32-C6-blue?style=flat-square\u0026logo=espressif\"/\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Battery-6000mAh-green?style=flat-square\"/\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Display-3.52%22-orange?style=flat-square\"/\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Eco-Friendly-brightgreen?style=flat-square\"/\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003cimg src=\"https://img.shields.io/badge/status-active-success.svg\" alt=\"Status\"\u003e\n    \u003ca href=\"/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/desiFish/ESP32-ePaper-Display-NTP-Clock\" alt=\"License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/desiFish/ESP32-ePaper-Display-NTP-Clock/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/desiFish/ESP32-ePaper-Display-NTP-Clock.svg\" alt=\"GitHub Issues\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/desiFish/ESP32-ePaper-Display-NTP-Clock/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/desiFish/ESP32-ePaper-Display-NTP-Clock\" alt=\"Release\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003e 🚨 **IMPORTANT**: Please read the [Notes \u0026 Warnings] section carefully before proceeding with this project. It contains crucial safety information about battery configuration, charging, and sensor placement.\n\n\u003csummary\u003e🎯 System Specifications\u003c/summary\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth colspan=\"2\"\u003e🖥️ Core Components\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e🧠 Microcontroller\u003c/td\u003e\n    \u003ctd\u003eXiao ESP32 C6 (Compatible with most ESP32 boards)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e📺 Display\u003c/td\u003e\n    \u003ctd\u003eWaveshare 3.52\" BiColor (Black and White) E-paper (360x240)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e🔋 Power Source\u003c/td\u003e\n    \u003ctd\u003eLiFePO4 6000mAh 3.2V\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth colspan=\"2\"\u003e⚡ Power Specifications\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eOperating Voltage\u003c/td\u003e\n    \u003ctd\u003e~3.2V\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eSleep Duration\u003c/td\u003e\n    \u003ctd\u003e~60 seconds\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eBattery Thresholds\u003c/td\u003e\n    \u003ctd\u003e\n      📈 High: 3.4V\u003cbr\u003e\n      📉 Low: 2.9V\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth colspan=\"2\"\u003e🔌 Communication\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eI2C Speed\u003c/td\u003e\n    \u003ctd\u003e400kHz (Fast Mode)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eNTP Server\u003c/td\u003e\n    \u003ctd\u003easia.pool.ntp.org\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eTime Offset\u003c/td\u003e\n    \u003ctd\u003e19800 (India, UTC+5:30)\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003c/div\u003e\n\n## 🛠️ Hardware Components \u003csub\u003e\u003csup\u003e🔩 Parts List\u003c/sup\u003e\u003c/sub\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n  \u003cth\u003eComponent\u003c/th\u003e\n  \u003cth\u003eSpecifications\u003c/th\u003e\n  \u003cth\u003eDetails\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/esp32c6.jpg\" width=\"100\"\u003e\u003cbr\u003eXiao ESP32 C6\u003c/td\u003e\n  \u003ctd\u003e\n    • MCU: ESP32-C6 RISC-V\u003cbr\u003e\n    • Clock: 160MHz\u003cbr\u003e\n    • RAM: 512KB SRAM\u003cbr\u003e\n    • Flash: 4MB\u003cbr\u003e\n    • WiFi: 2.4GHz (WiFi6)\u003cbr\u003e\n    • Bluetooth: BLE 5.0\u003cbr\u003e\n    • Size: 21x17.8mm\u003cbr\u003e\n    • Deep Sleep: ~16µA (when powered via BAT pins)\u003cbr\u003e\n  \u003c/td\u003e\n  \u003ctd\u003eNote: Deep sleep current specified when battery connected to BAT pins\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/epd.jpg\" width=\"100\"\u003e\u003cbr\u003eWaveshare 3.52\" E-Paper\u003c/td\u003e\n  \u003ctd\u003e\n    • Resolution: 360x240\u003cbr\u003e\n    • Colors: BiColor\u003cbr\u003e\n    • Refresh: 1.5 secs\n  \u003c/td\u003e\n  \u003ctd\u003eDisplay unit with low power consumption\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/bh1750.jpg\" width=\"100\"\u003e\u003cbr\u003eBH1750\u003c/td\u003e\n  \u003ctd\u003e\n    • I2C Address: 0x23\u003cbr\u003e\n    • Mode: ONE_TIME_HIGH_RES\u003cbr\u003e\n    • Precision: 1-65535 lux\n  \u003c/td\u003e\n  \u003ctd\u003eAmbient light sensor for night mode\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/ds3231.jpg\" width=\"100\"\u003e\u003cbr\u003eDS3231\u003c/td\u003e\n  \u003ctd\u003e\n    • Accuracy: ±2ppm\u003cbr\u003e\n    • Temperature comp.\u003cbr\u003e\n    • Battery backup\n  \u003c/td\u003e\n  \u003ctd\u003eReal-time clock for timekeeping\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/battery.jpg\" width=\"100\"\u003e\u003cbr\u003eIFR32650 LiFePO4\u003c/td\u003e\n  \u003ctd\u003e\n    • Model: IFR32650\u003cbr\u003e\n    • Capacity: 6000mAh\u003cbr\u003e\n    • Voltage: 3.2V nominal\u003cbr\u003e\n    • Chemistry: LiFePO4\u003cbr\u003e\n    • Cycle Life: \u003e2000 cycles\u003cbr\u003e\n    • Size: 32x65mm\u003cbr\u003e\n    • Max Discharge: 2C\u003cbr\u003e\n    • Temperature Range: -20°C to 60°C\u003cbr\u003e\n    • Self-discharge: 3% per month\n  \u003c/td\u003e\n  \u003ctd\u003eHigh-capacity, safe chemistry battery with long cycle life and stable voltage output\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/tp5000.jpg\" width=\"100\"\u003e\u003cbr\u003eTP5000\u003c/td\u003e\n  \u003ctd\u003e\n    • Input: 5V USB\u003cbr\u003e\n    • Output: 3.2V\u003cbr\u003e\n    • Current: Up to 2A\n  \u003c/td\u003e\n  \u003ctd\u003eBattery charging module\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd\u003e\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/usbc.jpg\" width=\"100\"\u003e\u003cbr\u003eUSB-C Breakout\u003c/td\u003e\n  \u003ctd\u003e\n    • USB 2.0 Compatible\u003cbr\u003e\n    • 5V Input\u003cbr\u003e\n    • Data lines available\n  \u003c/td\u003e\n  \u003ctd\u003ePower input and debugging interface\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## 💫 Key Features ✨\n\u003cdiv align=\"center\"\u003e\n  \u003ctable\u003e\n    \u003ctr\u003e\n      \u003ctd align=\"center\"\u003e⚡️\u003cbr\u003e\u003cspan style=\"color: #4CAF50\"\u003ePower Efficient\u003c/span\u003e\u003c/td\u003e\n      \u003ctd align=\"center\"\u003e🌙\u003cbr\u003e\u003cspan style=\"color: #2196F3\"\u003eNight Mode\u003c/span\u003e\u003c/td\u003e\n      \u003ctd align=\"center\"\u003e🔄\u003cbr\u003e\u003cspan style=\"color: #FF9800\"\u003eAuto Update\u003c/span\u003e\u003c/td\u003e\n      \u003ctd align=\"center\"\u003e📊\u003cbr\u003e\u003cspan style=\"color: #9C27B0\"\u003eBattery Monitor\u003c/span\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003e\u003cspan style=\"color: #4CAF50\"\u003e~60s Deep Sleep\u003c/span\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003cspan style=\"color: #2196F3\"\u003eLight Sensor Based\u003c/span\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003cspan style=\"color: #FF9800\"\u003ePeriodic NTP Sync\u003c/span\u003e\u003c/td\u003e\n      \u003ctd\u003e\u003cspan style=\"color: #9C27B0\"\u003eVoltage Tracking\u003c/span\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/table\u003e\n\u003c/div\u003e\n\n## 📈 System Architecture 🔄\n```mermaid\ngraph TD\n    A[Wake Up] --\u003e B{Check Light}\n    B --\u003e|Dark| C[Sleep Mode]\n    B --\u003e|Light| D[Update Display]\n    D --\u003e E{Battery OK?}\n    E --\u003e|Yes| F[Update Time]\n    F --\u003e G[Update Display]\n    G --\u003e H[Deep Sleep]\n```\n\n## 🚀 Quick Start 🎯\n\u003cdetails\u003e\n\u003csummary\u003ePrerequisites\u003c/summary\u003e\n\n```yaml\nRequired Libraries:\n  - Check header section inside .ino file\n  - OEM Display Libraries (Included in src)\n```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eInstallation Steps\u003c/summary\u003e\n\n1. Clone repository\n2. Configure WiFi:\n```cpp\nconst char *ssid = \"Your_SSID\";\nconst char *password = \"Your_PASSWORD\";\n```\n3. Update pins in `src/epdif.h`\n4. Upload code\n\u003c/details\u003e\n\n## 🔋 Battery Performance ⚡\n\u003cdiv align=\"center\"\u003e\n\u003cdetails\u003e\n\u003csummary\u003e📊 Battery Life Analysis - Test #1 (With ESP32 C3)\u003c/summary\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth colspan=\"4\"\u003e\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cstrong\u003eStart Date\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eEnd Date\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eRuntime\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eStatus\u003c/strong\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eJune 6, 2024\u003c/td\u003e\n    \u003ctd\u003eNovember 1, 2024\u003c/td\u003e\n    \u003ctd\u003e4 months 27 days\u003c/td\u003e\n    \u003ctd\u003e✅ Completed\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"4\"\u003e\n      \u003cstrong\u003ePerformance Metrics\u003c/strong\u003e\u003cbr\u003e\n      🔋 Initial Voltage: 3.6V\u003cbr\u003e\n      📉 Final Voltage: ~2.84V\u003cbr\u003e\n      🌡️ Temperature Range: 17-38°C\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003c/details\u003e\n\n\u003cbr\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e📊 Battery Life Analysis - Test #2 (With ESP32 C3)\u003c/summary\u003e\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cstrong\u003eStart Date\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eEnd Date\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eRuntime\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eStatus\u003c/strong\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eNovember 1, 2024\u003c/td\u003e\n    \u003ctd\u003eApril 2, 2025\u003c/td\u003e\n    \u003ctd\u003e5 months 2 days\u003c/td\u003e\n    \u003ctd\u003e✅ Completed\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"4\"\u003e\n      \u003cstrong\u003ePerformance Metrics\u003c/strong\u003e\u003cbr\u003e\n      🔋 Initial Voltage: 3.6V\u003cbr\u003e\n      📉 Final Voltage: 2.79V\u003cbr\u003e\n      🌡️ Temperature Range: 15-36°C\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003c/details\u003e\n\n\u003cbr\u003e\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003cth colspan=\"4\"\u003e📊 Battery Life Analysis - Test #1 (With ESP32 C6)\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cstrong\u003eStart Date\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eEnd Date\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eRuntime\u003c/strong\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003cstrong\u003eStatus\u003c/strong\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eApril 6, 2025\u003c/td\u003e\n    \u003ctd\u003eTBD\u003c/td\u003e\n    \u003ctd\u003eTBD\u003c/td\u003e\n    \u003ctd\u003eTBD\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd colspan=\"4\"\u003e\n      \u003cstrong\u003ePerformance Metrics\u003c/strong\u003e\u003cbr\u003e\n      🔋 Initial Voltage: 3.54V\u003cbr\u003e\n      📉 Final Voltage: TBD\u003cbr\u003e\n      🌡️ Temperature Range: TBD\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003c/div\u003e\n\n## 📸 Gallery 🖼️\n\u003cdiv align=\"center\"\u003e\n\u003ctable border=\"0\" cellspacing=\"0\" cellpadding=\"10\"\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/epdClock.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eFront 1\u003c/sub\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x1.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eSide 1\u003c/sub\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x2.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eBack\u003c/sub\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x3.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eFront 2\u003c/sub\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x4.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eInside 1\u003c/sub\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x5.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eInside 2\u003c/sub\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x0.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eNew UI\u003c/sub\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x7.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eESP32 C3 \u0026 C6\u003c/sub\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e    \n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x10.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eNew Sleep UI\u003c/sub\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x11.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eInside 4\u003c/sub\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x12.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eInside 5\u003c/sub\u003e\n    \u003c/td\u003e\n     \u003ctd align=\"center\"\u003e\n      \u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x13.jpg\" width=\"200\"\u003e\u003cbr\u003e\n      \u003csub\u003eInside 6\u003c/sub\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\u003c/div\u003e\n\n## ⚙️ Development 🔧\n\u003cdetails\u003e\n\u003csummary\u003eBuild Requirements\u003c/summary\u003e\n\n- 💻 Arduino IDE 2.3.x or newer (tested)\n- 📦 ESP32 Board Support Package\n- 🔧 USB-C cable for programming\n- 📚 Required libraries (see Prerequisites)\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDebug Tips\u003c/summary\u003e\n\n- 🔍 Serial Monitor: 115200 baud\n- 📊 Test points available for voltage monitoring (just lift the cover)\n\u003c/details\u003e\n\n## 🌐 Connectivity 📡\n- 📡 WiFi6 2.4GHz\n- 🕒 NTP synchronization\n- 💤 Auto sleep when dark\n\n### 🌙 Deep Sleep Implementation with DS3231 RTC\n\u003e ⚠️ **Important Note**: No single source provided a complete working solution for deep sleep with DS3231 RTC. This implementation combines key elements from multiple references to create a reliable solution.\n\nThe project implements an efficient deep sleep mode using the DS3231 RTC's external alarm feature. This approach significantly reduces power consumption while maintaining accurate timekeeping.\n\n#### How it Works\n1. The DS3231 RTC SQW pin is connected to GPIO7 (MTDO) (RTC GPIO)\n2. The RTC alarm triggers a signal on the SQW pin\n3. ESP32-C6 wakes up from deep sleep on the falling edge\n\n#### Key Implementation Points\n- Wake-up Source: `esp_sleep_enable_ext0_wakeup(GPIO_NUM_7, 0)`\n- Wake Up Interval: 60 seconds (configurable)\n- Current Consumption: ~16µA in deep sleep (for XIAO ESP32C6 only)\n\n#### References\nThese sources were combined to create a working implementation:\n1. [ESP32 Wake-Up Using DS3231 RTC](https://randomnerdtutorials.com/esp32-wake-up-deep-sleep-external-alarms-ds3231/) - Basic RTC alarm setup\n2. [XIAO ESP32C6 Deep Sleep Guide](https://wiki.seeedstudio.com/xiao_esp32c6_getting_started/#demo1-deep-sleep-with-external-wake-up) - ESP32-C6 specific wake-up configuration\n3. [ESP32 External Wake-Up Implementation](https://randomnerdtutorials.com/esp32-external-wake-up-deep-sleep/) - External wake-up pin handling\n\n## ⚠️ Important Notes \u0026 Warnings 🚨\n\n### 🔄 DS3231 Battery Safety ⚡\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x8.jpeg\" width=\"300\"\u003e\u003cbr\u003e\nMost DS3231 modules are sold with CR2032 or similar cells which are not rechargeable. If you are using a non-rechargeable cell then **REMOVE** either the resistor or the diode marked in the above image.\n\u003c/div\u003e\n\n### 🔌 TP5000 Charging Configuration ⚡\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://github.com/KamadoTanjiro-beep/E-Paper-Display-NTP-Clock/blob/main/src/images/x9.png\" width=\"300\"\u003e\u003cbr\u003e\nThere are some misinformation over internet regarding the charging mode of TP5000. If you are going to use LiFePO4 cell with TP5000 then **DO NOT** short the above marked area with caption F.\n\u003c/div\u003e\n\n### 🔋 Battery Configuration Safety 🛡️\n\n### Power Management Considerations\n- ⚡ **Current Draw**: This project's extremely low current consumption (well below rated cell capacity) makes the cell configuration safer\n- 🛡️ **Protection**: Always use proper BMS protection for your cells\n- 📝 **BMS Setup**: Due to limited 1S LiFePO4 BMS availability:\n  - Using 4.2V BMS for 2.5V cutoff protection (Low Discharge Cutoff)\n  - TP5000 connected directly to the cell for proper 3.6V charging\n  - This is a temporary solution until better 1S LFP BMS options become available\n\n### USB Charging Safety\n- ⚡ **USB Connection Warning**: Disconnect battery when connecting USB to ESP32C6 (Use a switch to cutt-off battery)\n  - XIAO modules are designed for LiPo/Li-ion batteries (4.2V charging)\n  - Not compatible with LFP battery charging (3.6V required)\n  - Connect USB-C module output to TP5000 input\n  - Detailed schematics will be provided later\n  - Simple setup despite complex explanation\n\n### Voltage Compatibility\n- ✅ **Operating Range**: \n  - All components work perfectly with LFP's lower voltage\n  - Tested operational down to 2.8V\n  - No impact on battery life or performance\n  - LFP cells maintain stable 3.2V for extended periods\n  - 6+ months of testing\n  - Components designed for wide voltage range operation\n\n### Enclosure Design\n- 💨 **Ventilation Requirements**: \n  - Proper air vents are crucial\n  - Ensures accurate sensor readings\n  - Prevents heat buildup\n\n\u003e ⚠️ **Please consider these points carefully before replicating this setup. Battery safety is crucial!**\n---\n\n## 📜 License 📃\n\u003cdetails\u003e\n\u003csummary\u003eGNU General Public License v3.0\u003c/summary\u003e\n\nThis project is licensed under the GNU GPL v3.0 - see below for details:\n\n- ✅ Commercial use\n- ✅ Modification\n- ✅ Distribution\n- ✅ Patent use\n- ✅ Private use\n\n#### Limitations\n- ⚠️ Liability\n- ⚠️ Warranty\n- ℹ️ License and copyright notice required\n- ℹ️ State changes\n- ℹ️ Disclose source\n- ℹ️ Same license\n\n[Read full license](/LICENSE)\n\u003c/details\u003e\n\n## 🤝 Contributing 👥\nWe welcome contributions! Here's how you can help:\n\n1. 🔍 Fork the repository\n2. 🌿 Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. 💾 Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. 🚀 Push to the branch (`git push origin feature/AmazingFeature`)\n5. 📝 Open a Pull Request\n\n### Pull Request Guidelines\n- ✅ Clear description of changes\n- ✅ Test your changes thoroughly\n- ✅ Update documentation if needed\n- ✅ Follow existing code style\n- ✅ Add comments where necessary\n---\n\u003cdiv align=\"center\"\u003e\n\u003cp\u003eMade with ❤️ and ♻️ materials by 🌍 Earth-conscious developer\u003c/p\u003e\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesifish%2Fepaper-display-ntp-clock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesifish%2Fepaper-display-ntp-clock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesifish%2Fepaper-display-ntp-clock/lists"}