+ Post New Thread
Results 1 to 5 of 5
  1. #1
    Advanced Member level 2
    Points: 4,007, Level: 14
    Achievements:
    7 years registered
    imranahmed's Avatar
    Join Date
    Dec 2011
    Location
    Karachi,Pakistan
    Posts
    649
    Helped
    3 / 3
    Points
    4,007
    Level
    14

    LCD connections and interfacing with PC by using 89c52 (Atmel MCU)

    Please let me know that how to interface LCD with PC and how program the 89c52 (MCU).
    Can anyone send me C code for LCD interface with 89c52?
    My e-mail address is xxxxxxxxxxxxxxxxxxxxxxxx


    NO PRIVATE SHARING
    READ RULES BEFORE POSTING
    :MOD
    IMRAN

    •   AltAdvertisement

        
       

  2. #2
    Full Member level 3
    Points: 2,965, Level: 12
    Achievements:
    7 years registered
    amol_shah's Avatar
    Join Date
    Apr 2008
    Location
    Nasik
    Posts
    153
    Helped
    32 / 32
    Points
    2,965
    Level
    12

    Re: LCD connections and interfacing with PC by using 89c52 (Atmel MCU)



    1 members found this post helpful.

    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 2
    Points: 4,007, Level: 14
    Achievements:
    7 years registered
    imranahmed's Avatar
    Join Date
    Dec 2011
    Location
    Karachi,Pakistan
    Posts
    649
    Helped
    3 / 3
    Points
    4,007
    Level
    14

    Re: LCD connections and interfacing with PC by using 89c52 (Atmel MCU)

    Dear amol_shah
    I wrote LCD interfacing C code program for 89c52 ,program runs successfully , i used LCD 20x4 but problem is that if 1st line of LCD complete than next should be started from 2nd line but it cannot start from 2nd line it start from 3rd line.Please let me know how resolve this problem .C Code is attached.
    IMRAN



    •   AltAdvertisement

        
       

  4. #4
    Full Member level 3
    Points: 2,965, Level: 12
    Achievements:
    7 years registered
    amol_shah's Avatar
    Join Date
    Apr 2008
    Location
    Nasik
    Posts
    153
    Helped
    32 / 32
    Points
    2,965
    Level
    12

    Re: LCD connections and interfacing with PC by using 89c52 (Atmel MCU)

    The addresses for 4 line lcd is as follows:

    line1: 80h to 94h
    line2: 0C0h to 0C4h
    line3: 95h to A9h
    line4: 0c5h to D9h


    1 members found this post helpful.

  5. #5
    Advanced Member level 2
    Points: 4,007, Level: 14
    Achievements:
    7 years registered
    imranahmed's Avatar
    Join Date
    Dec 2011
    Location
    Karachi,Pakistan
    Posts
    649
    Helped
    3 / 3
    Points
    4,007
    Level
    14

    Re: LCD connections and interfacing with PC by using 89c52 (Atmel MCU)

    Dear amol_shah

    This address cannot work on proteus,data is screened only 1st line and 3rd line but not on 2nd and 4th line.Please check my previous given code and erase any bug.
    IMRAN



--[[ ]]--