+ Post New Thread
Results 1 to 12 of 12
  1. #1
    Member level 4
    Points: 1,110, Level: 7

    Join Date
    Oct 2013
    Location
    India
    Posts
    69
    Helped
    0 / 0
    Points
    1,110
    Level
    7

    Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    Help us in Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller, plz provide us codes too........

    •   AltAdvertisment

        
       

  2. #2
    Full Member level 5
    Points: 2,045, Level: 10
    errakeshpillai's Avatar
    Join Date
    Oct 2011
    Location
    Chennai, India
    Posts
    256
    Helped
    64 / 64
    Points
    2,045
    Level
    10
    Blog Entries
    5

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    Interfacing a 4-bit mode LCD is pretty simple.
    You can refer this Link

    And the EEPROM and RTC can be interface to the controller by using the I2C protocol.
    Hope it has helped you.....
    Don't be shy in asking questions..,
    Asking questions will help the cause of increasing your knowledge..


    1 members found this post helpful.

  3. #3
    Advanced Member level 4
    Points: 7,825, Level: 21
    Achievements:
    7 years registered
    paulfjujo's Avatar
    Join Date
    Jun 2008
    Location
    France 01120
    Posts
    1,291
    Helped
    261 / 261
    Points
    7,825
    Level
    21

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    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


    1 members found this post helpful.

  4. #4
    Advanced Member level 3
    Points: 3,983, Level: 14
    embpic's Avatar
    Join Date
    May 2013
    Location
    india
    Posts
    742
    Helped
    80 / 80
    Points
    3,983
    Level
    14

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    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


    1 members found this post helpful.

  5. #5
    Member level 4
    Points: 1,110, Level: 7

    Join Date
    Oct 2013
    Location
    India
    Posts
    69
    Helped
    0 / 0
    Points
    1,110
    Level
    7

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    Quote Originally Posted by paulfjujo View Post
    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



    •   AltAdvertisment

        
       

  6. #6
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    828 / 828
    Points
    23,048
    Level
    36

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    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?


    1 members found this post helpful.

  7. #7
    Member level 4
    Points: 1,110, Level: 7

    Join Date
    Oct 2013
    Location
    India
    Posts
    69
    Helped
    0 / 0
    Points
    1,110
    Level
    7

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    Quote Originally Posted by Sudhp View Post
    Thanks sir for your reply


    we are using DS1307 through i2c
    using LCD 4bits 2x16
    sir we are using Keil µvision3 compiler and we want to add external eeprom........



  8. #8
    Member level 4
    Points: 1,110, Level: 7

    Join Date
    Oct 2013
    Location
    India
    Posts
    69
    Helped
    0 / 0
    Points
    1,110
    Level
    7

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    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 - - -

    Quote Originally Posted by jayanth.devarayanadurga View Post
    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.



  9. #9
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    828 / 828
    Points
    23,048
    Level
    36

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    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"


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  10. #10
    Member level 4
    Points: 1,110, Level: 7

    Join Date
    Oct 2013
    Location
    India
    Posts
    69
    Helped
    0 / 0
    Points
    1,110
    Level
    7

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

    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......



  11. #11
    Banned
    Points: 23,048, Level: 36

    Join Date
    Dec 2012
    Location
    Bangalore, India
    Posts
    4,294
    Helped
    828 / 828
    Points
    23,048
    Level
    36


    2 members found this post helpful.

  12. #12
    Member level 4
    Points: 1,110, Level: 7

    Join Date
    Oct 2013
    Location
    India
    Posts
    69
    Helped
    0 / 0
    Points
    1,110
    Level
    7

    Re: Interfacing of EEPROM ,RTC, 4-BIT Lcd With Microcontroller

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



--[[ ]]--