4-bit or 8-bit LCD?


Closed Thread
Results 1 to 3 of 3
  1. #1
    brodin's Avatar
    brodin Guest

    Default 4-bit or 8-bit LCD?

    I have always used my LCD with a 4-bit interface to my PIC. Is there any advantages using 8-bit interface. Will the transfer be faster?

    Why am i asking this?
    I have a lot of ports that i don't use in my PIC project right now. So i wounder if i should use 8-bit interface instead of a 4-bit.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Yes, as you rightly say, your data transfer will be at least twice as fast as you are transferring 8-bits of data in one hit rather than as two lots of 4-bit. Don't forget to change "LCD DEFINE LCD_BITS" to tell PBP that you are using 8-bit mode.

  3. #3
    Desterline's Avatar
    Desterline Guest


    Did you find this post helpful? Yes | No

    Default

    Unless you have a speed problem, I probably wouldn't worry about it. Yes, it will be faster - not twice as fast, but faster than it is with four bits.

    Added complication of changing the hardware, and supporting differnet interfaces have to be weighed against the value of the gains.


    Not that I wouldn't do it "at all", I just wouldn't do it if you don't have a speed problem. (BTW: Battery life IS a speed problem)

    -Denny
    Last edited by Desterline; - 24th October 2003 at 01:07.

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. Migrating from PIC16F690 to PIC18F4525 and having LCD issues
    By jblackann in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th June 2008, 20:05
  3. 4 or 8 bit LCD data bus (HD44780)
    By sumkrnboy in forum General
    Replies: 1
    Last Post: - 10th May 2008, 21:05
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. having problems with Hantronix 20x4 lcd
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd December 2005, 12:22

Members who have read this thread : 1

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