(Created page with "category:Atmega32 Breakout")
 
Line 1: Line 1:
 
[[category:Atmega32 Breakout]]
 
[[category:Atmega32 Breakout]]
 +
Now in this tutorial we will interface RTC (Real time clock) with Atmega32 breakout board. For this tutorial we will require [https://www.exploreembedded.com/product/RTC%20&%20EEPROM%20Breakout RTC Breakout] ,[https://www.exploreembedded.com/product/LCD%20Breakout%20Board%20for%2016x1%2016x2%2020x4%20128x64 LCD Breakout] and 16x2 LCD to display the time.
 +
 +
=Basics=
 +
In this example we are using DS1307 RTC. It will communicate through I2C protocol with controller. Connect SCL and SDA of  [https://www.exploreembedded.com/product/RTC%20&%20EEPROM%20Breakout RTC Breakout]  to SCL and SDA of ATmega32. Connect D4 to D7 of  [https://www.exploreembedded.com/product/LCD%20Breakout%20Board%20for%2016x1%2016x2%2020x4%20128x64 LCD Breakout] to PORT B4 to PORT B7
 +
and RS,R/W,E to PORT B0 to PORT B2 respectively as shown in hook up.

Revision as of 17:48, 5 April 2016

Now in this tutorial we will interface RTC (Real time clock) with Atmega32 breakout board. For this tutorial we will require RTC Breakout ,LCD Breakout and 16x2 LCD to display the time.

Basics

In this example we are using DS1307 RTC. It will communicate through I2C protocol with controller. Connect SCL and SDA of RTC Breakout to SCL and SDA of ATmega32. Connect D4 to D7 of LCD Breakout to PORT B4 to PORT B7 and RS,R/W,E to PORT B0 to PORT B2 respectively as shown in hook up.