https://github.com/devel0/iot-atmega8a-as-rtc
use of atmega8a as dummy rtc clock through i2c
https://github.com/devel0/iot-atmega8a-as-rtc
atmega8 i2c platformio rtc
Last synced: about 1 month ago
JSON representation
use of atmega8a as dummy rtc clock through i2c
- Host: GitHub
- URL: https://github.com/devel0/iot-atmega8a-as-rtc
- Owner: devel0
- Created: 2021-12-25T03:12:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-25T03:27:10.000Z (over 4 years ago)
- Last Synced: 2025-04-02T00:37:35.804Z (about 1 year ago)
- Topics: atmega8, i2c, platformio, rtc
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iot-atmega8a-as-rtc
use of atmega8a as dummy rtc through i2c
## description
pins:
- gnd common to other master i2c
- PC5 "A5" ( SCL )
- PC4 "A4" ( SDA )
SCL and SDA need to be pulled using 4.7k resistor each line.
## i2c commands
### set time utc
```
/set YYYY-MM-DD HH:mm:ss
```
set current time
### get time utc
```
/get
```
retrieve current time in YYYY-MM-DD HH:mm:ss format ( length: 19 bytes )