+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Member level 4
    Points: 2,163, Level: 10
    Achievements:
    7 years registered
    kit_714's Avatar
    Join Date
    Jul 2006
    Posts
    70
    Helped
    0 / 0
    Points
    2,163
    Level
    10

    at89s52 interfacing

    Hi all,

    i am doing a project which needs to control the text LCD with AT89S52. i got scuuess in initializing the LCD by connecting the 8 data pin to port 0 without using external pull-up resistor. However, when i try to connect to port 1 instead and make appropritate changes in programme, it can;t work.

    can anyone explain the reason of failure?

    Thanks!

    Kit

    •   AltAdvertisement

        
       

  2. #2
    Member level 5
    Points: 1,944, Level: 10

    Join Date
    Oct 2007
    Location
    Nasik-India-Asia
    Posts
    88
    Helped
    13 / 13
    Points
    1,944
    Level
    10

    at89s52 lcd schematic

    Try using the resistor bank for pull up.It usually works.U need to use the pull ups wherever mentioned fror the controller.

    read the datasheet of the lcd and give proper signals for initialising the Lcd.

    If u want i may send u the code for lcd for 89c51.

    Also check the voltage levels of the LCD and Controller....Sometimes the unwanted voltage drops occur which can cause reduced supply voltages for the circuit..

    Ishan.



    •   AltAdvertisement

        
       

  3. #3
    Member level 4
    Points: 2,163, Level: 10
    Achievements:
    7 years registered
    kit_714's Avatar
    Join Date
    Jul 2006
    Posts
    70
    Helped
    0 / 0
    Points
    2,163
    Level
    10

    interfacing lcd 16x2 and at89c52

    Hi,

    in fact i got the c code for the interfacing of LCD and MCU. i still have questions about....

    1. For AT89S52, other than port 0, port 1, 2 and 3 are internally pulled-up. i just wonder why i still need to add an external pull-up resistor for port 1....

    2. is it possible to connect the data port to other port pins than port 0 for the interfacing of LCD?

    Thanks in advanced.

    Kit



    •   AltAdvertisement

        
       

  4. #4
    Full Member level 5
    Points: 4,220, Level: 15

    Join Date
    May 2005
    Location
    Egypt
    Posts
    243
    Helped
    29 / 29
    Points
    4,220
    Level
    15
    Blog Entries
    1

    lcd 16x2 to at89s52

    Hi my frind

    There is no problem for 89s52 with lcd nither with port 0 ,nor with any port
    port1,2,3

    I test all ports of AT89s52 with lcd with no problem

    port 0,may be not working with some lcd's if the lcd itself dose't have a pull up resistors ..... note that i said may be ...

    please upload your code and schematic to debuge and solve your problem


    Regards

    MedTronic



--[[ ]]--