In this tutorial we'll see, how to interface RTC with Starter AVR board. For this we will be using RTC breakout which has DS1307 RTC on it. For basics of RTC just have a look at our Real Time Clock(DS1307) with AVR tutorial.

Basic

As starter AVR has facility to connect LCD on board, we will display RTC data on LCD in this tutorial. So as shown in hookup connect LCD on starter board. Then connect SCL pin of RTC breakout to PC0 and SDA pin to PC1. PC0 is SCL and PC1 is SDA pin of Atmega 32 microcontroller.

Hookup

0 RTC Starter AVR fritzing.png

Code

Demo

00Interface RTC with Atmega128.gif

Downloads

Download the complete project folder from the below link: https://github.com/ExploreEmbedded/ATmega32_ExploreStarterAvr/archive/master.zip


Have a opinion, suggestion , question or feedback about the article let it out here!