4 Bit Lcd Hookup


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    GEEZER's Avatar
    GEEZER Guest


    Did you find this post helpful? Yes | No

    Default 4 Bit Lcd Hookup

    Thanks Edward,

    The serial port need is to output to a digital to analog converter (pot). Both it and the lcd will be changing constantly. All I really need is another clocking pin for the lcd, and I can put the lcd on portb. There is no clocking pin on portb of the 16F877A. One more clocking pin will solve all my problems.

    The Geezer

  2. #2
    EDWARD's Avatar
    EDWARD Guest


    Did you find this post helpful? Yes | No

    Default

    the lcd's E bit is not an actual clock remember. there is no signal at all going to the lcd when its not be "updated", like it doesnt need a constant clock signal to keep the same stuff on the screen.

    you just need 6 standard I/O ports to run the lcd.

    i might not fully understand the operation of your device, but if the lcd can be updated after the the serial device id just use the setup below. and have the lcd sub run every time the serial sub is done.

    PIC | LCD
    -----------------------------
    portb.0 to D4
    portb.1 to D5
    portb.2 to D6
    portb.3 to D7

    portb.4 to RS ' 0 mean you are sending intructions, 1 means ur sending asci
    portb.5 to E 'tells the lcd you want it to read the 4 data pins (high-low trans)

    im didnt look at the datasheet of your pic, so i hope this works for ya bud.

    'holla

Similar Threads

  1. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  2. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  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. encoder wowes
    By wallaby in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 6th December 2005, 21:56

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