Hardware Question


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2008
    Location
    Florida
    Posts
    64

    Default Hardware Question

    I have 16x4 LCD I am playing with here.
    First two lines are fine, however the next two begin half way across the screen. I think I know the answer, but what the heck.

    Does this mean I have my starting addresses wrong for lines 3 and 4?
    These are el cheapo LCD and I am still running down the datasheet.

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


    Did you find this post helpful? Yes | No

    Default

    Is it Half-way across the screen, or 4 spaces over?

    For a 4x16 the adresses are ...
    Line1 $80
    Line2 $C0
    Line3 $90
    Line4 $D0

    For a 4x20 they would be ...
    Line1 $80
    Line2 $C0
    Line3 $94
    Line4 $D4
    <br>
    DT

  3. #3
    Join Date
    May 2008
    Location
    Florida
    Posts
    64


    Did you find this post helpful? Yes | No

    Default

    Located the datasheet it appears my 4X16 are really 4X20.
    They have a HD44780 controller and the addresses are indeed
    $80
    $C0
    $94
    $D4

    Thanks Darrel for confirming.
    I was using the EasyPic5 to test them because they have the same pinout as their LCD.
    I used MikroB to compile so I used their LCD commands and got the strange output. I wasn't sure if it was me or them. Can't plug a 4X20 into something that expects 4X16!

    Hmm what a deal ordered 4X16 and got 4X20 instead for the same price, saved $6

Similar Threads

  1. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  2. Hardware PWM Question?
    By jhorsburgh in forum General
    Replies: 1
    Last Post: - 18th August 2008, 03:07
  3. High voltage hardware question
    By Christopher4187 in forum General
    Replies: 12
    Last Post: - 7th November 2007, 19:07
  4. really simple, dumb question
    By picster in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 3rd March 2007, 22:02
  5. Please answer my first question
    By John_001 in forum Off Topic
    Replies: 1
    Last Post: - 15th September 2006, 06:49

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