{"id":19012654,"url":"https://github.com/naguissa/urtclib","last_synced_at":"2026-02-02T10:27:57.292Z","repository":{"id":30440403,"uuid":"33993732","full_name":"Naguissa/uRTCLib","owner":"Naguissa","description":"Really tiny library to control RTCs on Arduino. DS1307, DS3231 and DS3232 RTCs are supported.","archived":false,"fork":false,"pushed_at":"2026-01-12T07:31:55.000Z","size":1549,"stargazers_count":96,"open_issues_count":2,"forks_count":28,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-12T16:30:31.431Z","etag":null,"topics":["alarm","arduino","arduino-library","clock","naguissa","power","rtc","sqwg"],"latest_commit_sha":null,"homepage":"https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Naguissa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"Naguissa","custom":"https://www.paypal.me/foroelectro"}},"created_at":"2015-04-15T12:55:16.000Z","updated_at":"2026-01-12T07:02:26.000Z","dependencies_parsed_at":"2025-06-06T10:27:32.118Z","dependency_job_id":"56473473-cc9a-42ba-be6c-28b9bc3eae64","html_url":"https://github.com/Naguissa/uRTCLib","commit_stats":null,"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/Naguissa/uRTCLib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuRTCLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuRTCLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuRTCLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuRTCLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naguissa","download_url":"https://codeload.github.com/Naguissa/uRTCLib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naguissa%2FuRTCLib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alarm","arduino","arduino-library","clock","naguissa","power","rtc","sqwg"],"created_at":"2024-11-08T19:19:02.212Z","updated_at":"2026-01-28T13:05:20.343Z","avatar_url":"https://github.com/Naguissa.png","language":"C++","funding_links":["https://github.com/sponsors/Naguissa","https://www.paypal.me/foroelectro","https://paypal.me/foroelectro"],"categories":[],"sub_categories":[],"readme":"# Arduino, ESP8266, STM32, ESP32 and others uRTCLib\n\nMaster status:  ![Arduino CI](https://github.com/Naguissa/uRTCLib/workflows/arduino_ci/badge.svg)\n\n\n## What is this repository for?\n\nReally tiny library to basic RTC functionality on Arduino, ESP8266, STM32, ESP32 and other microcontrollers.\n\nDS1307, DS3231 and DS3232 RTCs are supported (and compatibles)\n\n\nSupported features:\n* SQuare Wave Generator\n* Fixed output pin for DS1307\n* RAM for DS1307 and DS3232\n* temperature sensor for DS3231 and DS3232\n* Alarms (1 and 2) for DS3231 and DS3232\n* Power lost flag reading and clearing\n* Enable Oscillator flag to check if Oscillator will run on VBAT\n* Set Clock in 12 hour or 24 hour mode. Get AM PM if in 12 hour mode. (Alarm set still in 24 hour mode)\n\nEEPROM support has been moved to https://github.com/Naguissa/uEEPROMLib\n\n\n\n## How do I get set up?\n\nYou can get it from Arduino libraries directly, searching by uRTCLib.\n\nFor manual installation:\n\n * Get the ZIP.\n * Rename to uRTCLib.zip\n * Install library on Arduino\n\n\n\n## Documentation and extras\n\nYou can find all documentation and extras in this repository: https://github.com/Naguissa/uRTCLib_doc_and_extras\n\nYou can read documentation online here: https://naguissa.github.io/uRTCLib_doc_and_extras/\n\n\n\n## Examples\n\nIncluded on example folder, available on Arduino IDE.\n\n\n## See also\n\nIf you want/need to work with UNIX Timestamps, check out my uUnixDate Library: https://github.com/Naguissa/uUnixDate\nThis library allows you to do it in practical and complete way.\n\nFor ESP32 and ESP8266, you have a very useful example called \"uRTCLib_example_uEspConfigLib\".\nIt lets you configure WiFi parameters and RTC date-time and control registers.\n\n\n## Important notes\n\n - Check .h file to see all constants and per-model limitations\n - Alarm pin is normaly HIGH and turns LOW when active.\n - When using alarms, you need to clear the alarm flag manually using alarmClearFlag(). If not done alarm maintains its LOW state.\n - Alarm Flags, A1F and A2F, will be triggered whether or not Alarm Interrupts, A1IE and A2IE, are Enabled.\n - When the RTC register values match alarm register settings, the corresponding Alarm Flag, A1F or A2F, bit is set to logic 1.\n - If using alarmTriggered function to check for alarm trigger, be sure to check alarmMode function to see if alarm is enabled or not.\n - When using alarm interrupts, SQWG is turned off. When using SQWG, alarm interrupts are turned off. They're mutually excluding.\n\n\n\n## Who do I talk to?\n\n * [Naguissa](https://github.com/Naguissa)\n * https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html\n * https://www.naguissa.com\n\n\n\n## Contribute\n\nAny code contribution, report or comment are always welcome. Don't hesitate to use GitHub for that.\n\n\n * You can sponsor this project using GitHub's Sponsor button: https://github.com/Naguissa/uRTCLib\n * You can make a donation via PayPal: https://paypal.me/foroelectro\n\n\nThanks for your support.\n\n\nContributors hall of fame: https://www.foroelectro.net/hall-of-fame-f32/contributors-contribuyentes-t271.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaguissa%2Furtclib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaguissa%2Furtclib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaguissa%2Furtclib/lists"}