how? 2 wire lcd with pbp?


Closed Thread
Results 1 to 24 of 24

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    I assume you successfully initialised your LCD to work in 4-bit mode before throwing data at it?

  2. #2
    Join Date
    May 2005
    Posts
    33


    Did you find this post helpful? Yes | No

    Default

    do i haf to always shift out 6 "0"s b4 sending every instruction set? how long do i ahf to pause b4 sending the next instruction?

  3. #3
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    What about I2C?

    * * *

    Nuts & Volts Column #109 May 2004 by Jon Williams:

    Easy IO – Easy LCD Terminal
    (I2C to LCD + Pushbuttons).

    http://www.parallax.com/dl/docs/cols.../col/nv109.pdf
    http://www.parallax.com/dl/docs/cols...code/nv109.zip

    Microchip MCP23016 16-Bit I2C™ I/O Expander
    http://ww1.microchip.com/downloads/e...Doc/20090b.pdf

    Luciano

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


    Did you find this post helpful? Yes | No

    Default

    Actually I just LOVE the MCP23008 from Microchip... you could do it with that too (using LCD 4-bit mode)...

    I find that the skinny DIP (16F876/P type) is a nice economic package... but sometimes you just plain run out of I/O's... the 40-pin plastic package (16F877/P) takes up far too much real-estate and additional expense, so adding I/O's with the MCP23008 or 20016 is a very easy and neat solution - and they've got weak pull-up's too! Just perfect for remote Keypad/Display interface applications.

    There's a lot of ways you can do LCD down two wires... (the obvious is to put a PIC at the LCD end), but at only a few cents for the package, the 74LS174 method (strictly it's 3-wires if you count Ground) has to be the rock-bottom cheapest.

    PS... nimonia... use the same timing as PBP's LCD defines.

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Smile

    Hi, nimonia

    Devantech sells a ready to use I2C LCD ...

    Here, for example :
    http://www.robopolis.com/produit/156...I2C--serie.php

    or Here : http://www.robot-electronics.co.uk/s..._LCD022058.htm

    sooooooo easy.

    Alain
    Last edited by Acetronics2; - 21st May 2005 at 13:30.

  6. #6
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,159


    Did you find this post helpful? Yes | No

    Thumbs up Just a tiny correction.

    "adding I/O's with the MCP23008 or 20016 is a very easy and neat solution"

    Melanie is referring to the MCP23016, in case anyone is trying to find a 20016.

    I agree, I'm in love with the MCP23008/16 chip (8 and 16 I/O pins). It's an awesome way to increase I/O pins on older chips like the 16F628 (a good strong and proven workhorse if you ask me).

    The 16F877 is better, but at a cost. If you don't need more I/O pins AND extra memory, then it's overkill in a lot of applications.

    Robert
    Last edited by Demon; - 26th September 2005 at 02:04.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  7. #7
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Smile Hope this helps

    Hi,

    This is a serial LCD using a PIC. It takes commands in the LCDOUT style, hence is easy to incorporate.

    Regards

    Sougata
    Attached Files Attached Files

Similar Threads

  1. lcd stops after about 5 minutes and gets stuck
    By robertpeach in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 15th September 2009, 12:03
  2. one wire
    By karenhornby in forum General
    Replies: 7
    Last Post: - 18th June 2008, 20:24
  3. cant get my Lcd to work using Pic18f452
    By civicgundam in forum General
    Replies: 13
    Last Post: - 7th October 2007, 00:13
  4. encoder wowes
    By wallaby in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 6th December 2005, 21:56
  5. 2 decimal display on LCD
    By pt3rg in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th January 2004, 14:28

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