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

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

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 )