LCD not working with PIC16

Comments

5 comments

  • Michael_L

    What voltage are you using for VDD and your logic levels?  What voltage are you using for pin 3 (V0)?  Do you have an adjustable voltage source for this pin?  It is possible you may be communicating with the display but you don't see anything because of the contrast voltage on pin 3 being off.  Also, can you change your first line of code in your init() routine to E = 1?

    0
  • fxdxrdr

    Thank you for the reply
    I will try changing E=0 to E= 1. Voltage to Pin3 (V0) is run through a trimmer. However the trimmer is turned all the way, at this point and Pin3 is receiving 4.6 volts.

    0
  • fxdxrdr

    Changed E = 0 to E= 1, connected 9v with power supply to get 4.88 volts at pic 3 as well as pin 2. Still nothing

    0
  • Michael_L

    Pin 3 should have approx. 0.5V, as stated in the pin description of the datasheet.  With the voltage you are applying to it, you wont see anything on the display at all.  Please correct this and try again.

    0
  • fxdxrdr

    Michael_L,
    you are correct! Thank you so much, that did it!

    0

Please sign in to leave a comment.