Lcd 16x2 circuit and sample program...


Closed Thread
Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    14


    Did you find this post helpful? Yes | No

    Default Re: Lcd 16x2 circuit and sample program...

    I'm using portb (pic16f877a),its must add pull up resistor for rs?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: Lcd 16x2 circuit and sample program...

    Why not show your code and connections? Then someone may be able to help you.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Lcd 16x2 circuit and sample program...

    If you use the MCLR pin, then yes. The example in the book does. The MCLR pin of the PIC (generally) can not drive a load and therefor requires a pull up resistor to provide that function. Other pins CAN drive a load and do NOT require a pull up resistor.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Lcd 16x2 circuit and sample program...

    Some devices have internal soft pullups on port B that must be enabled. I'm not sure yours is one or them - check the datasheet.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts