Oxford CWM Team


A team for the Oxford Engineering Coursework Module

You are viewing an older revision! See the latest version

Tiny_RTC

A page collecting stuff relating to the Tiny RTC arduino module. /media/uploads/cstevens/sku_161172_1.jpg

This board has two i2c devices on board.. a maximum DS1307 realtime clock and an amtel A24C32 32kb Eeprom.

/media/uploads/cstevens/ds1307ckt.jpg

The Ds1307 runs at 100kbps whilst the A24C32 an do 400kbps.

Both are on the same bus lines with common pullup resistors on board of 3.3k.

The address for the DS1307 (RTC) is 0x1101000r whilst the A24C32 Eeprom is 0x1010xxxr where xxx are three bits set by address lines A2-A1. r is the read or write bit where r=0 to write to the slave (mbed is the master, peripherals are the slaves) and r=1 to read from it.

On the tiny RTC these address lines are all set to 0 so we have the Eeprom address as 0x1010000r where r is the read / write bit determining the operation.


All wikipages