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

    The definition of "Support" is where there is a problem with the product that needs addressing. I think everyone will agree that this forum goes way beyond that... Ultimately, people need to be nudged into thinking for themselves (even if it is as simple as reading the Datasheet, or Manual, or Searching the Forum or MeLabs Archives) - because always asking for an answer and expecting it to be handed to you "ready-packaged, debugged and royalty-free" on a plate is not the way to learn. This will apply to whatever compiler you chose to use.

  2. #2
    Join Date
    May 2005
    Posts
    33


    Did you find this post helpful? Yes | No

    Default

    darkman stop being a loser... anyway for the rest who are viewing i've tried and its impossible with shiftout.. referring to myke's site on the 2 wire lcd the way the datapin and clockpin toggles are different frm ****out? anyway i've tried the shiftout command and doesnt work... tried manual subroutines still aint working... any clues melanie? u dnt haf to giv the answer just clues...

  3. #3
    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?

  4. #4
    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?

  5. #5
    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

  6. #6
    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.

  7. #7
    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.

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