{"id":25862829,"url":"https://github.com/mkwapisz2000/c-atmega328p-rtc-i2c","last_synced_at":"2026-05-13T09:35:39.278Z","repository":{"id":278034986,"uuid":"934309668","full_name":"MKwapisz2000/c-atmega328p-rtc-i2c","owner":"MKwapisz2000","description":"This project implements real-time clock (RTC) PCF8563 support on ATmega328P using the I2C bus. Additionally, it supports an alarm triggered by an external INT0 interrupt, allowing reaction to a set alarm time.","archived":false,"fork":false,"pushed_at":"2025-02-17T16:10:20.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T23:56:59.819Z","etag":null,"topics":["atmega328p","avr","electronics","embedded","i2c","interrupts","microcontroller","pcf8563","rtc"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MKwapisz2000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-02-17T16:05:19.000Z","updated_at":"2025-02-17T16:10:23.000Z","dependencies_parsed_at":"2025-02-17T17:25:46.407Z","dependency_job_id":"293c29c5-dda5-4d13-9bed-cf224ff1d6d5","html_url":"https://github.com/MKwapisz2000/c-atmega328p-rtc-i2c","commit_stats":null,"previous_names":["mkwapisz2000/c-atmega328p-rtc-i2c"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MKwapisz2000/c-atmega328p-rtc-i2c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-rtc-i2c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-rtc-i2c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-rtc-i2c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-rtc-i2c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MKwapisz2000","download_url":"https://codeload.github.com/MKwapisz2000/c-atmega328p-rtc-i2c/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MKwapisz2000%2Fc-atmega328p-rtc-i2c/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32976752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: 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":["atmega328p","avr","electronics","embedded","i2c","interrupts","microcontroller","pcf8563","rtc"],"created_at":"2025-03-01T23:57:14.063Z","updated_at":"2026-05-13T09:35:39.248Z","avatar_url":"https://github.com/MKwapisz2000.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c-atmega328p-rtc-i2c\n\n**Project Description - English**\n\nThis project implements real-time clock (RTC) PCF8563 support on ATmega328P using the I2C bus. Additionally, it supports an alarm triggered by an external INT0 interrupt, allowing reaction to a set alarm time.\n\nFeatures:\n\n- Communication with PCF8563 via I2C interface\n\n- RTC clock handling: setting and reading time and date\n\n- Alarm setting with INT0 external interrupt handling\n\n- Verification of I2C communication and device address\n\n- Displaying the current time and date via USART\n\nHardware Requirements:\n\n- ATmega328P microcontroller (e.g., Arduino Nano or standalone AVR)\n\n- RTC PCF8563 connected to the I2C bus (SDA – PC4, SCL – PC5)\n\n- USB-UART converter (e.g., CP2102, FT232RL) for monitoring data\n\n- LED on PB5 as an alarm indicator\n\n- Connecting wires\n\n- 5V power supply\n\nUsage Instructions:\n\n- Compile the code in an AVR C-compatible environment (e.g., Atmel Studio, PlatformIO, AVR-GCC).\n\n- Connect the PCF8563 RTC to ATmega328P (SDA – PC4, SCL – PC5, INT – PD2).\n\n- Connect ATmega328P to a computer via a USB-UART converter (TX – RX, RX – TX, GND – GND).\n\n- Set the initial time and alarm in the code.\n\n- Run the program, open a serial terminal (e.g., PuTTY, Tera Term) at 9600 baud and monitor the current time and alarm triggering.\n\n---------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n**Opis projektu - Polski**\n\nTen projekt implementuje obsługę zegara czasu rzeczywistego (RTC) PCF8563 na ATmega328P poprzez magistralę I2C. Dodatkowo obsługuje alarm wyzwalany przerwaniem zewnętrznym INT0, co umożliwia reagowanie na ustawiony czas alarmu.\n\nFunkcjonalność:\n\n- Komunikacja z PCF8563 przez interfejs I2C\n\n- Obsługa zegara RTC: ustawianie i odczyt czasu oraz daty\n\n- Ustawianie alarmu z obsługą przerwania INT0\n\n- Weryfikacja komunikacji I2C oraz adresu urządzenia\n\n- Wyświetlanie aktualnej godziny i daty przez USART\n\nWymagania sprzętowe:\n\n- Mikrokontroler ATmega328P (np. Arduino Nano lub standalone AVR)\n\n- RTC PCF8563 podłączony do magistrali I2C (SDA – PC4, SCL – PC5)\n\n- Konwerter USB-UART (np. CP2102, FT232RL) do monitorowania danych\n\n- Dioda LED na PB5 jako sygnalizacja alarmu\n\n- Przewody połączeniowe\n\n- Zasilanie 5V\n\nInstrukcja użytkowania:\n\n- Skompiluj kod w środowisku obsługującym AVR C (np. Atmel Studio, PlatformIO, AVR-GCC).\n\n- Podłącz RTC PCF8563 do ATmega328P (SDA – PC4, SCL – PC5, INT – PD2).\n\n- Podłącz ATmega328P do komputera przez konwerter USB-UART (TX – RX, RX – TX, GND – GND).\n\n- Ustaw początkowy czas oraz alarm w kodzie.\n\n- Uruchom program, otwórz terminal szeregowy (np. PuTTY, Tera Term) na 9600 baud i monitoruj aktualną godzinę i wyzwolenie alarmu.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkwapisz2000%2Fc-atmega328p-rtc-i2c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkwapisz2000%2Fc-atmega328p-rtc-i2c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkwapisz2000%2Fc-atmega328p-rtc-i2c/lists"}