4 Bit Lcd Hookup


Results 1 to 11 of 11

Threaded View

  1. #2
    EDWARD's Avatar
    EDWARD Guest


    Did you find this post helpful? Yes | No

    Default sup dude

    yo dude im not sure if this is what u mean but you want to be able to control the lcd by hooking the data pins from the LCD to random (unused) I/O Ports on the PIC?

    i have a hardware design problem that is causing me to create much more code than i would like, it is that the lcd data pin are not on the same port next to eachother. If I were you i would make sure that you wire your lcd like this

    ' portB could be anyport as with portC its just to show the relationship

    D7 - portB.3
    D6 - portB.2
    D5 - portB.1
    D4 - portB.0

    E - portC.0
    RS - portC.1


    it is important that the D lines are connected sequentially like this then you wont need to do much BIT math and be able to use the LCDOUT cmmand.

    finally, if a sequential connection really 100% for sure is not an option then check out the Pic BAsic Compiler forums (not pic basic pro). and look for a title called "lcd on porta and portb" ill be in there. there is alot of data on how to control the lcds using simple commands. itll work but take a lot more code.

    im sure that if your proto'ing the circuit youll find room to put these bad boys next to eachother. yes E is the clock, the lcd need 2 clock cycles when in 4 bit mode to get a complete byte. bite her back!.. the dog that is.
    Last edited by EDWARD; - 7th May 2005 at 08:00.

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, 20:54
  2. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  3. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 18:27
  4. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 13:22
  5. encoder wowes
    By wallaby in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 6th December 2005, 22: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