+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Junior Member level 2
    Points: 196, Level: 2

    Join Date
    May 2019
    Posts
    22
    Helped
    0 / 0
    Points
    196
    Level
    2

    junk values in lcd connected to arduino

    hello, i'm trying to interface an lcd to an arduino and keypad. The keys of the keypad are connected to the arduino and prints values of keys and performs functions based on the key pressed. the arduino is coded using c programming in IDE software. however i've been getting junk values in the lcd. sometimes the code works just fine. sometimes the lcd prints junk values. i cant figure out whether the issue is caused by hardware or the code. kindly help. thanks in advance.

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 81,448, Level: 69
    Achievements:
    7 years registered
    Awards:
    2nd Helpful Member
    betwixt's Avatar
    Join Date
    Jul 2009
    Location
    Aberdyfi, West Wales, UK
    Posts
    13,351
    Helped
    4457 / 4457
    Points
    81,448
    Level
    69

    Re: junk values in lcd connected to arduino

    i cant figure out whether the issue is caused by hardware or the code.
    Without seeing either its difficult to comment.
    However, it sounds like a timing problem when the LCD is initialized.

    Brian.
    PLEASE - no friends requests or private emails, I simply don't have time to reply to them all.
    It's better to share your questions and answers on Edaboard so we can all benefit from each others experiences.



    •   AltAdvertisement

        
       

  3. #3
    Junior Member level 2
    Points: 196, Level: 2

    Join Date
    May 2019
    Posts
    22
    Helped
    0 / 0
    Points
    196
    Level
    2

    Re: junk values in lcd connected to arduino

    any rectification methods?



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 77,915, Level: 68
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,795
    Helped
    3593 / 3593
    Points
    77,915
    Level
    68

    Re: junk values in lcd connected to arduino

    Hi,

    please understand that we first need information before we can give solutions.

    As far as we currently know.. my recommendation is:
    Read the datasheet and follow the specifications.. acording data, sequence, timing....
    If you do it this way, then the LCD will work correctly.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



--[[ ]]--