Line 2: Line 2:
 
In this tutorial we'll see, how to interface RTC with Starter AVR board. For this I am using [https://www.exploreembedded.com/product/RTC%20&%20EEPROM%20Breakout 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.  
 
In this tutorial we'll see, how to interface RTC with Starter AVR board. For this I am using [https://www.exploreembedded.com/product/RTC%20&%20EEPROM%20Breakout 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=
 
=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=
 
=Hookup=
 
=Code=
 
=Code=

Revision as of 10:46, 7 April 2016

In this tutorial we'll see, how to interface RTC with Starter AVR board. For this I am 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

Code

Demo

Downloads