[51] Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

Status
Not open for further replies.

Sudhp

Member level 4
Joined
Oct 11, 2013
Messages
69
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
India
Visit site
Activity points
528
Help us in Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller, plz provide us codes too........:roll::roll::roll:
 

hello,

wich kind of RTC

DS1302 SPi
DS1307 I2C
other ?

LCD 4bits 2x16 , 4x20 ?
direct or trough I2C ?

so with 2 wires SDA,SCL you can drive LCD,EEPROM,RTC
 
Reactions: Sudhp

    Sudhp

    Points: 2
    Helpful Answer Positive Rating
i think you should go with i2c based EEPROM and RTC if your controller support built in I2C. other go for SPI based if support.
if no one condition is satisfied then u have to write software I2C.

- - - Updated - - -

normally i2c based EEPROM are easily available
 
Reactions: Sudhp

    Sudhp

    Points: 2
    Helpful Answer Positive Rating
hello,

wich kind of RTC

DS1302 SPi
DS1307 I2C
other ?

LCD 4bits 2x16 , 4x20 ?
direct or trough I2C ?

so with 2 wires SDA,SCL you can drive LCD,EEPROM,RTC


Thanks sir for your reply


we are using DS1307 through i2c
using LCD 4bits 2x16
 

Which uC are you using? Does it have internal eeprom or do you want to use external eeprom. What is the Clock frequency? Which Compiler are you using? mikroC PRO Compiler?
 
Reactions: Sudhp

    Sudhp

    Points: 2
    Helpful Answer Positive Rating
Hey,
Thanks to all for reply.......
As I am new in this field and I havn't much idea about this.....
I am using NXP 89V51RD2 microcontroller,24C16 EEPROM and have to use only for data lines of Lcd....
I have to show 'WELCOME' on the lcd after the complete read and write operation on EEPROM....
please somebody help me and provide me the codes for this.......


please .........

- - - Updated - - -

Which uC are you using? Does it have internal eeprom or do you want to use external eeprom. What is the Clock frequency? Which Compiler are you using? mikroC PRO Compiler?



Thanks to show your interest.....
We are using external eeprom nd keil uVision3.the clock frequency is 11.0592 Mhz.
 

You can find asm and C codes for RTC DS1307, LCD, EEPROM in the book "The 8051 Microcontroller and Embedded Systems Using Assembly and C by Muhammed Ali Mazidi"
 
Reactions: Sudhp

    Sudhp

    Points: 2
    Helpful Answer Positive Rating
can anybody provide me c codes for rtc DS1307?
I am using 4bit 2*16 lcd.....

- - - Updated - - -

hey......
thanks for the reply....
I am using DS1307 RTC and 4bit 2*16 lcd......
 

thanks Jayanth........
The links provided by u is very helpful for us.......
thanks once again......
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…