LCDOUT custom commands - how to?


Closed Thread
Results 1 to 40 of 69

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex
    It is the DATA wire (brown) coming from ICSP programmer (AN589).

    Wires:
    black = GND (Vss)
    red = +5V (Vdd)
    yellow = MCLR
    orange = Clock
    brown = Data
    Ok. might be worth trying with R/W just connected to 0V.

    You're right. The LED you are talking about is there and as you suggest, I use it as an optical check. Do you mean I should connect more LEDs just to make sure it works fine?
    Yes. Put 8 leds on there and observe the count eg
    Code:
    OFF OFF OFF OFF OFF OFF OFF OFF (0)
    OFF OFF OFF OFF OFF OFF OFF ON  (1)
    OFF OFF OFF OFF OFF OFF ON  OFF (2)
    OFF OFF OFF OFF OFF OFF ON  ON  (3)
    OFF OFF OFF OFF OFF ON  OFF OFF (4)
    OFF OFF OFF OFF OFF ON  OFF ON (5)
    ......
    ON  ON  ON  ON  ON  ON  OFF OFF (252)
    ON  ON  ON  ON  ON  ON  OFF ON (253)
    ON  ON  ON  ON  ON  ON  ON  OFF (254)
    ON  ON  ON  ON  ON  ON  ON  ON (255)
    If the sequence doesnt work then the port isnt being correctly set

    Yes. As mentionned earlier, I made this check too and with my other displays (have lots of them), no problem!!
    Sorry, missed that.

    Good luck !!!!

    Keith
    Keith

    www.diyha.co.uk
    www.kat5.tv

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default Hardware issue now: LEDs....

    I must wait unil tomorrow morning: missing a few LEDs...
    Roger

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    flotul,

    I've been looking at the pictures, and it appears that the data bus is reversed.

    There's 4 wires (2 geen, 2 white) on lcd pins 28-31. They are connected like this.

    <pre> LCD PIC <br> 31 (D4) 9 (B3)<br> 30 (D5) 8 (B2)<br> 29 (D6) 7 (B1)<br> 28 (D7) 6 (B0)<br></pre>Should be the other way around.
    <br>
    DT

  4. #4
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    flotul,

    I've been looking at the pictures, and it appears that the data bus is reversed.

    There's 4 wires (2 geen, 2 white) on lcd pins 28-31. They are connected like this.

    <pre> LCD PIC <br> 31 (D4) 9 (B3)<br> 30 (D5) 8 (B2)<br> 29 (D6) 7 (B1)<br> 28 (D7) 6 (B0)<br></pre>Should be the other way around.
    <br>
    You have better eyes than me. I cant tell from the photos.

    Would be a lot easier with 4 different colours though, or even GGWW instead of GWWG because at least you could tell it was reversed
    Keith

    www.diyha.co.uk
    www.kat5.tv

  5. #5
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Yeah, I was going Bug-Eyed too trying to follow them all.

    PICT0003small.JPG in Post#34 helped.

    Had to save it to disk so I could zoom in and out with an Image Preview.
    <br>
    DT

  6. #6
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Zoom

    Quote Originally Posted by Darrel Taylor
    Yeah, I was going Bug-Eyed too trying to follow them all.

    PICT0003small.JPG in Post#34 helped.

    Had to save it to disk so I could zoom in and out with an Image Preview.
    <br>
    I use Firefox and it's Zoom plugin, very helpful, Zoom in right in browser.
    JS

  7. #7
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    938


    Did you find this post helpful? Yes | No

    Default data lines

    Yes, this is something not clear.

    In one of my previous posts, I mentionned that I cabled the data lines according to the AE support. They say it has to be connected something like D7 = DB0, D6 = DB1 and so on.

    But, as you say, I can't believe it is correct; it looks to be reversed. Logically, D4 is connected to DB0 (B0), D5 to DB1 (B1) and so on.

    Until now, I'm testing every program modification with both configuration of data lines since absolutely nothing appears on the display.

    Another thing: I have two (alsmost ) same displays. One is 2x16 and the second is a 3x16 one. I swap them too just to make sure both react the same.

    MCLR, DATA and CLOCK lines from the programmer are physically disconnected from the circuit after the burning process.

    I'll recable this with different colours this afternoon and with the "logical" data bus lines way.
    Roger

  8. #8
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    Yeah, I was going Bug-Eyed too trying to follow them all.

    PICT0003small.JPG in Post#34 helped.

    Had to save it to disk so I could zoom in and out with an Image Preview.
    <br>
    That did the trick, can see it now

    I do like the look of those displays. also found the following datasheet in English which makes things a bit clearer

    http://www.electronic-assembly.de/en...oma/dog-me.pdf

    I notice that initialisation is different for 3.3V and 5V working for the Power Control, Follower and Contrast registers.
    Keith

    www.diyha.co.uk
    www.kat5.tv

Similar Threads

  1. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 07:56
  2. need help in coding..
    By daphne8888 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 19th March 2008, 07:31
  3. Help GPS read with serin
    By leinske in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 5th September 2007, 02:33
  4. Crystalfontz LCD
    By jman12 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th February 2007, 15:04
  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