{"schema_version":1,"id":"medma07-adhan-clock","name":{"en":"Adhan Clock","zh":"带礼拜时间、历法、祈祷提醒和扫码配网的 ESP32 时钟。"},"summary":{"en":"ESP32 Islamic clock: prayer times, Hijri date, adhkar, QR phone setup","zh":"带礼拜时间、历法、祈祷提醒和扫码配网的 ESP32 时钟。"},"purpose":"prayer-times clock","tier":"community","author":"MedMA07","repository":"https://github.com/MedMA07/Adhan-clock","license":"MIT","shape":"wide","scenes":["art"],"boards":[{"name":"ESP32"}],"motion":false,"hardware":{"en":"ESP32-class board. Verify the exact board revision, display, power source and wiring in the upstream build guide.","zh":"ESP32 类开发板；请在上游构建文档中核对具体板型、屏幕、供电与接线。"},"notes":{"en":"A 1.8-inch ST7735S TFT on an ESP32 38-pin devkit shows the time, Gregorian and Hijri dates, a large countdown to the next prayer, and a slideshow of more than sixty adhkar and du'a pages. Prayer times come from the Aladhan API with a local calculation fallback when there is no internet. One TTP223 touch sensor does all navigation: a tap advances from home to prayer times, adhkar and the QR screen, holds of roughly one and two seconds page through adhkar, and six seconds on the QR screen factory-resets. Pairing is by QR code, which joins the phone to the AdhanClock access point and opens the settings page at the board hotspot address. Arabic is not rendered by a font engine but pre-generated as compressed anti-aliased bitmaps from the Amiri font, rebuilt with a Python script. Arduino IDE with esp32 core 2.0.17 and the Huge APP partition scheme builds it.","zh":"ESP32 38 针开发板配 1.8 寸 ST7735S 屏，屏上是时间、公历和回历日期，以及到下一次礼拜的大号倒计时，外加 60 多页晨昏祈念和祷文轮播。礼拜时刻来自 Aladhan API 并做缓存，断网时改用本地推算。整机只有一个 TTP223 触摸片：点一下在主页、礼拜时刻、祈念、二维码四屏之间走，按住约 1 秒翻页、约 2 秒换分类，在二维码页按住 6 秒恢复出厂。配网靠扫码，手机连上 AdhanClock 热点后打开 the board hotspot address 填 Wi-Fi、城市和计算法。阿拉伯文没有用字体引擎，而是事先用 Amiri 字体生成压缩的抗锯齿点阵图，改文字要跑一遍 gen_assets.py 再重新烧录。Arduino IDE 里用 esp32 核心 2.0.17，分区选 Huge APP。"},"readme_excerpts":[{"label":"Build","quote":"Arduino IDE → Boards Manager → esp32 by Espressif, version 2.0.17"},{"label":"Feature","quote":"Prayer times for your city (Aladhan API, cached; offline fallback calculation)"},{"label":"Limit","quote":"Arabic text rendered as pre-generated, compressed anti-aliased bitmaps (Amiri font)"}],"images":{"type":"gallery","primary":"https://esp32gallery.com/previews/medma07-adhan-clock/poster.jpg","poster":"https://esp32gallery.com/previews/medma07-adhan-clock/poster.jpg","sources":["https://esp32gallery.com/previews/medma07-adhan-clock/frames/view-001.jpg","https://esp32gallery.com/previews/medma07-adhan-clock/frames/view-002.jpg"]},"media_credit":{"status":"upstream-project-media","creator":"MedMA07","source":"https://github.com/MedMA07/Adhan-clock/tree/ab298a704d9c936564ee43246d8b20861b79eb69","note":{"en":"Screenshots from the upstream README. Code and firmware were not executed. License notices are included.","zh":"来自上游 README 的真实截图；未运行代码或固件，预览包保留许可证声明。"},"reviewed":"2026-10-20"},"preview":{"browser_playable":false,"kind":"media_gallery","label":{"en":"Project screenshots","zh":"项目截图"},"width":960,"height":720,"shape":"square","source_commit":"ab298a704d9c936564ee43246d8b20861b79eb69"},"stars":0,"pushed_at":"2026-10-31T22:04:59Z","added_at":"2026-10-20T14:44:01+08:00","urls":{"html":"https://esp32gallery.com/projects/medma07-adhan-clock/","html_zh":"https://esp32gallery.com/zh/projects/medma07-adhan-clock/","json":"https://esp32gallery.com/data/catalog/projects/medma07-adhan-clock.json","markdown":"https://esp32gallery.com/data/catalog/projects/medma07-adhan-clock.md"}}
