Mosques, temples, gurdwaras, and churches across India use prayer time displays to inform their congregations of service timings. An automated system calculates prayer times based on geographical location and displays them alongside the current time. This guide covers building a prayer time display with automatic alerts suitable for any place of worship.
The Need for Automated Prayer Time Displays
- Prayer times change daily based on solar position and location
- Manual boards require daily updates and are prone to errors
- Automated displays are always accurate with zero maintenance
- Optional audio alerts (adhan for mosques, bell for temples) triggered automatically
Calculating Prayer Times Programmatically
Islamic prayer times are calculated from solar position. Libraries available:
- PrayerTimes library: Arduino/ESP32 library that calculates Fajr, Dhuhr, Asr, Maghrib, and Isha based on latitude, longitude, and calculation method
- Multiple calculation methods: ISNA, MWL, Umm Al-Qura, Karachi — configurable based on local practice
- Hindu puja times (Brahma Muhurta, Sandhya) can be calculated similarly from sunrise/sunset data
Display Options for Places of Worship
- MAX7219 dot matrix: Scrolling display showing next prayer name and time. Visible from a distance.
- Large seven-segment: Current time display with next prayer countdown.
- TFT display: Full schedule with all five prayer times and current/next indicators.
- E-paper: Full daily schedule, ultra-low power, paper-like readability.
Building with ESP32 and LED Matrix
Recommended architecture:
- ESP32 fetches accurate time via NTP (WiFi)
- PrayerTimes library calculates daily prayer schedule
- Dot matrix displays scrolling prayer information
- DS3231 RTC maintains time during WiFi outages
Automatic Adhan and Bell Alerts
- DFPlayer Mini module plays audio files at prayer times
- For mosques: Pre-recorded adhan in the desired recitation style
- For temples: Bell or conch sound at puja times
- Volume control via potentiometer
- Option to disable audio and use visual alert only
Multi-City Support and Customisation
- Location-based configuration: set latitude and longitude for accurate times
- Calculation method selector for different Islamic schools of thought
- Iqama offset: configurable delay between adhan and iqama
- Juma (Friday) prayer special timing
Enclosure and Installation
- Use a wooden frame matching the aesthetic of the worship space
- Mount at eye level in a visible location (entrance hall, main prayer area)
- Power from mains with UPS backup for uninterrupted display
- Weather-resistant enclosure for outdoor-mounted displays
Recommended Display Components
Frequently Asked Questions
How accurate are calculated prayer times?
Typically within 1-2 minutes of published timetables. The accuracy depends on the calculation method and local horizon conditions.
Can this support both mosque and temple timings?
Yes. The system is configurable. For mosques, use PrayerTimes library. For temples, calculate from sunrise/sunset times.
Does it need internet to work?
WiFi is used for initial NTP time sync. After that, the DS3231 RTC maintains accurate time for weeks without internet.
Shop Display Modules at Zbotic.in
India’s trusted source for OLED, LCD, TFT, LED matrices, and more. Fast shipping across India.
Add comment