4-line LCD Help - using PortA instead of B


Closed Thread
Results 1 to 29 of 29

Hybrid View

  1. #1
    anj's Avatar
    anj Guest


    Did you find this post helpful? Yes | No

    Default

    You didnt mention it soooo, Do you have a pullup resistor on RA4?
    Read PICmicro MCU specific Issues in the manual ( sect 2.5.1 )

    Andrew

  2. #2
    Join Date
    Feb 2005
    Location
    Bellevue
    Posts
    125


    Did you find this post helpful? Yes | No

    Default

    Yes, 4.7k ohm on R4..

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    i didn't have any of those LCDs in stock but, can you place a trim pot on Vo pin. or just tie it to ground to see if you get at least some black square on???

    Some LCD may need to place unused data pin to ground. Refer to your datasheet for that.

    try removing thos DATAUS COMMANDUS defines
    try a 2 secondes startup delay
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    PAUSE 2000
    LCDOUT "Hello World"
    Attached Images Attached Images  
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  5. #5
    Ceug2005's Avatar
    Ceug2005 Guest


    Did you find this post helpful? Yes | No

    Thumbs up

    TOM
    "3. VO (Variable) Operating voltage for LCD -> I have this pinned to 5V "
    Try VO = GND

  6. #6
    Join Date
    Feb 2005
    Location
    Bellevue
    Posts
    125


    Did you find this post helpful? Yes | No

    Default

    Here is the startup sequence for 4-bits for this LCD display..

    I am going to try the POT on the VO line to see if that helps, but it has been at Vss and Vdd and nothing shows there.

    I am not sure how to comply with the attached startup sequence however... Where do I send the bit? When?
    Attached Images Attached Images  

  7. #7
    Join Date
    Feb 2005
    Location
    Bellevue
    Posts
    125


    Did you find this post helpful? Yes | No

    Default

    ... Hmmm Now, I've got a POT on the VO which allows me to vary the cells from white to black. Still no data.

    Same goes for both of the LDCs I have here, so it must be something with the PIC's treatment of the PortA?

    I moved to an 18F2525..

Similar Threads

  1. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  2. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 14:19
  3. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  4. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22
  5. 4 line LCD with 16F88
    By anj in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th February 2004, 09:06

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