Giter VIP home page Giter VIP logo

kemploe / ntp-jadwal-sholat-esp8266-on-1.8-tft-display Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 16.63 MB

NodeMCU ESP8266 - Jadwal Sholat berbasis NTP dengan 1.8" TFT SPI Display -- NodeMCU ESP8266 - NTP driven islamic prayer times with 1.8" TFT SPI Display

License: MIT License

C++ 100.00%
clock ntp salat-timings esp8266 indonesia islamic-prayer-times prayer-times nodemcu-esp8266 tft-display wifi

ntp-jadwal-sholat-esp8266-on-1.8-tft-display's Introduction

NTP-Jadwal-Sholat-ESP8266-on-1.8-TFT-Display

NodeMCU ESP8266 - Jadwal Sholat berbasis NTP dan WiFiManager dengan 1.8" TFT SPI Display

NodeMCU ESP8266 - NTP driven islamic prayer times with WiFiManager on 1.8" TFT SPI Display

NTP Jadwal Sholat

1. Introduction

This is basically a NTP clock running on NodeMCU ESP8266 with Adafruit compatible 1.8" TFT SPI display.

Adding WiFiManager https://github.com/tzapu/WiFiManager to prevent hard coding SSID and Password.

Adding Jadwal Sholat (Islamic Prayer Times) by requesting it on a daily basis from https://api.myquran.com which on the other hand had the data scrapped from Direktorat Jenderal Bimas Islam Kementerian Agama Republik Indonesia https://bimasislam.kemenag.go.id/jadwalshalat

For more information regarding the validity of the data, please visit the respective web site from the above given links.

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY.

2. Bill of Material (BOM)

3. Cabling/Wiring the 1.8" TFT SPI display to NodeMCU

    Display | NodeMCU
      VCC <---> 5V or 3.3V
      GND <---> GND
       CS <---> GPIO 0
RESET/RST <---> GPIO 2
    A0/DC <---> GPIO 4
 SDA/MOSI <---> GPIO 13
 SCK/SCLK <---> GPIO 14
   LED/BL <---> GPIO 5

1.8" TFT SPI Display

Note:

On some Adafruit compatible 1.8" TFT SPI display, RESET is RST, A0 is DC, SDA is MOSI, SCK is SCLK and LED is BL. So pay attention to your wiring, double check before powering up the device.

4. Operation

Upon start up the WiFiManager kicks in. If a saved WiFi configuration found it will configure NodeMCU as a WiFi Station (STA) and connect to the WiFi Access Point that is configured in the saved configuration. Otherwise it will configure NodeMCU as an Access Point (AP) with SSID: "JamSholat" and spawn a web page (WiFiManager portal) with IP address: 192.168.4.1 that you can connect to and configure using web browser on your PC or Smartphone. Once the WiFi has been configured and connected to the internet, it will switch back to Station (STA) mode and start the clock.

Configure WiFi

1. In "WiFi" tap on "JamSholat", wait for the "WiFiManager" portal.

Configure WiFi

2. In "WiFiManager" portal, tap on "Configure WiFi".

Configure WiFi

3. In "Configure WiFi", tap on your WiFi SSID.

Configure WiFi

4. In "Configure WiFi", in "Password", provide the password for your WiFi then tap on "Save"

Configure WiFi

Once connected to the internet, it will start to synchronize and fetch the unix epoch from the configured NTP server. You do not need to manually adjust the date and time.

image

NTP sync status is displayed on the upper left inside the vertical frame as shown on the above picture.

NTP is displayed in green indicates it is good and synced in the last 1 hour.

NTP is displayed in yellow indicates it is synced in the last 1 - 24 hour.

NTP is displayed in red indicates it is stale or out of sync.

THANK YOU

Bruce E. Hall - W8BH

ntp-jadwal-sholat-esp8266-on-1.8-tft-display's People

Contributors

kemploe avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ntp-jadwal-sholat-esp8266-on-1.8-tft-display's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.