Difference between revisions of "Interfacing RTC with Atmega128 Breakout"
Raghavendra (Talk | contribs) (Created page with "category:Atmega128 Breakout In this tutorial we will interface the RTC ( Real Time Clock ) with Atmega128 Breakout. We need the following Components/Breakout boards for i...") |
Raghavendra (Talk | contribs) |
||
Line 1: | Line 1: | ||
[[category:Atmega128 Breakout]] | [[category:Atmega128 Breakout]] | ||
In this tutorial we will interface the RTC ( Real Time Clock ) with Atmega128 Breakout. We need the following | In this tutorial we will interface the RTC ( Real Time Clock ) with Atmega128 Breakout. We need the following | ||
− | + | Breakout boards and Display for interfacing. | |
*[https://www.exploreembedded.com/product/RTC%20&%20EEPROM%20Breakout RTC Breakout] | *[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] | *[https://www.exploreembedded.com/product/LCD%20Breakout%20Board%20for%2016x1%2016x2%2020x4%20128x64 LCD Breakout] | ||
* [https://www.exploreembedded.com/product/Character%20LCD%2016%20x%202%20-%20Black%20on%20Green0on%20Green 16X2 LCD] | * [https://www.exploreembedded.com/product/Character%20LCD%2016%20x%202%20-%20Black%20on%20Green0on%20Green 16X2 LCD] | ||
+ | |||
+ | == Basics== | ||
+ | In this example we are using DS1307 serial Real Time Clock. DS1307 which communicate with Atmega128 through I2C ( Inter-Integrated-Circuit) protocol. | ||
+ | Befor we continue please refer the Basics of [http://exploreembedded.com/wiki/Real_Time_Clock(DS1307)_with_AVR Real Time Clock with AVR]. In [https://www.exploreembedded.com/product/RTC%20&%20EEPROM%20Breakout RTC Breakout] SCL and SDA pins are broken out which are needs to be connected to Atmega128 controller I2C lines. LCD data lines (Lower 4 bit D4 to D7) are connected to Port B4 to Port B7 of Atmega128, and similarly LCD control lines(RS,R/W and Enable) are connected to Port B0 to Port B2 of Atmega128. |
Revision as of 19:11, 6 April 2016
In this tutorial we will interface the RTC ( Real Time Clock ) with Atmega128 Breakout. We need the following Breakout boards and Display for interfacing.
Basics
In this example we are using DS1307 serial Real Time Clock. DS1307 which communicate with Atmega128 through I2C ( Inter-Integrated-Circuit) protocol. Befor we continue please refer the Basics of Real Time Clock with AVR. In RTC Breakout SCL and SDA pins are broken out which are needs to be connected to Atmega128 controller I2C lines. LCD data lines (Lower 4 bit D4 to D7) are connected to Port B4 to Port B7 of Atmega128, and similarly LCD control lines(RS,R/W and Enable) are connected to Port B0 to Port B2 of Atmega128.