IOT based Smart synchronized clock
Automation are increasing numerously day by day to pay our part we are constructing an IoT based smart clock using raspberry pi which will be synchronized with a mobile application and will be able to inform or notify the exact timings of the jamaat. A smart clock will be placed in the
2025-06-28 16:33:43 - Adil Khan
IOT based Smart synchronized clock
Project Area of Specialization Internet of ThingsProject SummaryAutomation are increasing numerously day by day to pay our part we are constructing an IoT based smart clock using raspberry pi which will be synchronized with a mobile application and will be able to inform or notify the exact timings of the jamaat. A smart clock will be placed in the mosque and an admin mobile application will be developed in a way where it can make a connection with the cloud data base where timings of all the mosque is saved and the digital clock’s timings will appear on the user mobile application.
In addition to this we are adding two more features in android application for those who face the problem in getting up early for fajar prayers. This feature force the user to wake up and walk about ten steps with his smartphone to disable the activated alarm. While, in another feature sleep cycle uses sound analysis to identify sleep states, tracking your movements in bed. sleep cycle will monitor signals from user’s body to wake him/her softly when he/she is in the lightest possible sleep stage.
Project ObjectivesThe main purpose or objective of making ‘IoT Based Smart Synchronization clock ‘ is to notify the exact congregational timings of mosque nearest to your location. So, peoples who move around every where in city or country easily get updated about nearest masjid and its exact jamaat timings. Not only those people who travelled around the world and keen to offer prayers on time but also we students who are busy in their assignments, projects in way that he or she become out of surrounding or mind , one of the feature of mobile app will alert them through SMS function or azan alarm and help them to offer prayers on time .
Moreover, another aim of this project is to build features in android application that can force the user to wakeup early according to fajar jamaat timings or also according to his or her morning schedule. so, in the first feature user should take 10 footsteps to disable the alarm. For this feature application will use an accelerometer (that is present in cell phones) as a pedometer which senses user’s body motion and counts footsteps. Along with this other sleep cycle feature monitor signals from user’s body to wake him/her up softly without depending upon in which sleep stage he or she is in, using built-in microphone and accelerometer in mobile phones.
Project Implementation MethodOur ‘IoT based smart synchronized clock’ is hardware and software integrated project. Firstly, we have implemented hardware that is clock which is programmed through raspberry pi. In order to run raspberry pi, we used class 10 SD card for storage, HDMI to VGA converter for monitor screen connection, mouse, keyboard and 5V & 3.1A power bank which supply power to pi. Raspberry pi is not as simple as we plugged it in, and it starts working but we should have installed number of software including SD card formatter to format the SD card, Raspbian OS, Win32 Disk imager which write the OS on SD card, , IP scanner to find IP-address of pi, PuTTY to display the pi screen, etc. After that we have done coding on Python IDE to display prayer timings on screen.
we have to develop two android applications one is for admin(muezzin) and other is for common users. we used android studio for app development. Admin can change the prayers timings and mosque location through admin app. We assimilate the hardware clock and software android apps using firebase (open source google platform) to read or write real-time data. So, mobile application is sending all signals on firebase through android studio scripts and raspberry pi is continuously reading firebase activity to get updated timings of prayers.
Benefits of the ProjectHere the community that’s getting the advantage form this project is mainly the Muslim society, Specifically;
1)The smart clock synchronized with the android application provides the user with the exact location of all the nearest mosques in a specific area within 1Km.
2)A person who possesses this android app can also get the information of exact Jamaat timings of all the nearest Mosques.
3)This app also provides users with the shortest path direction towards the Mosque.
4)People who have difficulty in waking up for Fajar prayer. As the alarm keeps on ringing till the person takes 10 steps after waking up.
Technical Details of Final DeliverableIoT Based Smart Synchronized Clock is a hardware and software-based project which is develop by using raspberry-pi microcontroller and will be synchronized to a mobile application which will show the accurate jamaat timing of the mosque in which the clock is mounted.
It is a comprehensive clock controlled and managed by a mobile application by a human user. The digital synchronized clock is designed to install in a masjid to get updated prayer timings and connect it with mobile application that have two version one for muezzin(who have the authority to manage and update timing) and other for a common user who is actually a traveller around a city and keen to offer prayer on time.
The synchronization between the mobile application and the clock is done by synchronizing them to a cloud database(firebase) through raspberry pi. We can change the timings of the clock through muezzin(admin) app, this updated time will be uploaded in cloud database which will later be excessed by the user from the user side app.
Final Deliverable of the Project HW/SW integrated systemCore Industry OthersOther IndustriesCore Technology Internet of Things (IoT)Other Technologies Cloud Infrastructure, OthersSustainable Development Goals Good Health and Well-Being for PeopleRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 37200 | |||
| Raspberry Pi 3 model B | Equipment | 1 | 7000 | 7000 |
| SD card class 10(32 GB) | Equipment | 1 | 650 | 650 |
| HDMI to VGA convertor | Equipment | 1 | 600 | 600 |
| 5V ,2.5A Power Supply/ Adapter | Equipment | 1 | 300 | 300 |
| LED 29” | Equipment | 1 | 7500 | 7500 |
| Wooden Structure | Equipment | 1 | 4060 | 4060 |
| Mercury Glass | Equipment | 1 | 900 | 900 |
| Power Cords | Equipment | 1 | 450 | 450 |
| Electric joints & Wires | Equipment | 2 | 600 | 1200 |
| Ethernet cable | Equipment | 2 | 200 | 400 |
| Mouse | Equipment | 1 | 1000 | 1000 |
| Keyboard | Equipment | 1 | 3000 | 3000 |
| Power bank | Equipment | 1 | 3140 | 3140 |
| printings | Miscellaneous | 500 | 10 | 5000 |
| bindings | Miscellaneous | 4 | 500 | 2000 |