An open API service indexing awesome lists of open source software.

https://github.com/desiFish/GPS-CLOCK-V1

A precision timepiece that syncs with satellites and monitors your environment!
https://github.com/desiFish/GPS-CLOCK-V1

128x64 arduino bh1750 bme280-sensor bmp280 buzzer digital-clock esp32 esp32-devkit-v1 gps gps-clock gps-time iot lcd-clock lcd-display st7920 tmp117

Last synced: 2 months ago
JSON representation

A precision timepiece that syncs with satellites and monitors your environment!

Awesome Lists containing this project

README

        


🌟 ESP32 GPS Clock & Weather Station

[![License](https://img.shields.io/badge/License-GPL%20v3-blue.svg?style=for-the-badge)](LICENSE)
[![ESP32](https://img.shields.io/badge/ESP32-Developer-blue?style=for-the-badge&logo=espressif)](https://www.espressif.com/)
[![Arduino](https://img.shields.io/badge/Arduino-Compatible-green?style=for-the-badge&logo=arduino)](https://www.arduino.cc/)

[![Status](https://img.shields.io/badge/Status-Active-success?style=for-the-badge)](https://github.com/desiFish/ESP32-GPS-CLOCK-V1)
[![Issues](https://img.shields.io/github/issues/desiFish/ESP32-GPS-CLOCK-V1?style=for-the-badge)](https://github.com/desiFish/ESP32-GPS-CLOCK-V1/issues)


A precision timepiece that syncs with satellites and monitors your environment! šŸ›°ļø



>

āš ļø Enhanced Version Available āš ļø


>

An improved version of this project with physical buttons for better device configuration is available at:

>ESP32-GPS-CLOCK-V2


>

✨ Features


šŸ•’ Time
GPS-synchronized precise timekeeping


šŸŒ”ļø Environment
Temperature & humidity monitoring


šŸ”† Display
Auto-brightness & power saving


šŸ“± Connectivity
WiFi with OTA updates


🌟 Project Highlights




⚔ Fast GPS Lock
šŸŒ™ Auto Brightness
šŸ”„ OTA Updates


šŸ“± WiFi Manager
šŸ”‹ Battery Backup
šŸŒ”ļø Environment Monitor


šŸ› ļø Hardware Requirements

Core Components šŸ“‹

| Component | Purpose | Notes |
|-----------|---------|--------|
| ESP32 devkit v1 | 🧠 Controller | DOIT version recommended |
| BH1750 | šŸ’” Light sensor | I²C interface |
| BME280 | šŸŒ”ļø Environment | Temperature/Humidity |
| GPS Neo 6m | šŸ“” GPS receiver | UART interface |
| ST7920 LCD | šŸ–„ļø Display | 128x64 pixels |
| Buzzer | šŸ”Š Alerts | Active buzzer |

Optional Components šŸ”§

- šŸ”‹ LiFePO4 AAA 80mAh (GPS backup)
- ⚔ TP5000 charging circuit
- šŸ”Œ BMS with IN4007 diode
- šŸ› ļø Prototyping materials


šŸŽÆ Key Features Explained



  • šŸ•’ Precise Timekeeping: GPS-synchronized time with battery backup

  • šŸŒ”ļø Environmental Monitoring: Temperature and humidity tracking

  • šŸ“± Smart Connectivity: WiFi enabled with web configuration

  • šŸ”† Adaptive Display: Auto-brightness with power saving


āš ļø Important Notice



āŒ DO NOT USE AHT25 SENSOR!

Due to significant accuracy issues, we recommend using BME280/BMP280/TMP117 instead.


šŸ”‹ GPS Battery Modification

āš ļø Known Issue with GPS Module's Internal Battery



The NEO-6M GPS modules often come with problematic internal rechargeable batteries that:



  • Are frequently dead on arrival

  • Fail to hold charge properly

  • Only last 15-20 minutes when disconnected

  • Cannot be reliably recharged


šŸ› ļø Solution Implemented



To resolve this, I've made the following modifications:



  • Removed the internal battery and charging diode

  • Installed a LiFePO4 battery (AAA size)

  • Added TP5000 charging circuit for reliable charging

  • Implemented BMS for deep discharge protection

  • Added diode to drop voltage to 3V for GPS backup pin


šŸ’” User Options



You have two choices:


  1. Keep Original Battery:

    • Suitable if clock remains powered most of the time

    • No modifications needed




  2. Modify Battery (Recommended):

    • Better for frequent power cycles

    • Eliminates 5-10 minute GPS lock delay on cold starts

    • More reliable long-term solution





šŸ“Š Schematics



šŸ‘€ Circuit Diagram


GPS Clock Schematic

ESP32 GPS Clock Circuit Diagram



šŸ“ Format
High-resolution PNG


šŸ” Zoom
Click image to enlarge


šŸ’¾ Download
Full Resolution


šŸ“ø Gallery







Internal Components

Internal Components šŸ”§




PVC Case

PVC Case šŸŽØ




Front View

Front View šŸ“±







PCB Layout

PCB Layout šŸ”Œ




Internal View 2

Internal View 2 šŸ”Œ






šŸ“œ License



GNU General Public License v3.0

āœ… Permissions



  • Commercial use

  • Modification

  • Distribution

  • Patent use

  • Private use

āš ļø Conditions




  • License and copyright notice: Include the original license and copyright


  • State changes: Document all modifications


  • Disclose source: Make source code available


  • Same license: Use the same license for derivatives

āŒ Limitations



  • No liability

  • No warranty


šŸ¤ Contributing





šŸ“ Fork
šŸ”§ Code
šŸ“¤ Push
šŸ“« PR


šŸ“ž Support



If this project helps you, please consider:



⭐ Giving it a star

šŸ› Reporting issues

šŸ’” Suggesting improvements

šŸ¤ Contributing code


---


Made with ā¤ļø




Stars