+ Reply to Thread
Results 1 to 13 of 13

Thread: LCD Wiring Example

  1. #1

    Default LCD Wiring Example

    I recently purchased one of these

    http://store.gravitech.us/13secogrlcd.html

    and I am looking for a simple wiring example of how to wire it ti my BS2px24 on the super carrier board.
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  2. #2

    Default

    I bought one of those items and ran it up using the materials I have attached below - there's a PDF manual and the code I used with my BS2 and my BS2sx. The 2sx was markedly faster in driving the display, but the refresh rate was far too slow for any serious use. The 2px MIGHT give you a useful screen refresh rate. I'd probably say the propeller chip would drive these better - but then again, the propeller drives full scale video...

    Let me know if the attached items help you get the display running OK, I'll be happy to help if you have any problems.

    Dave X
    Attached Files Attached Files
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  3. #3

    Default

    I have managed to get it powered up and get the backlight on but I am still confused what pins on carrier board to wire the lcd to. Can anyone help?
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  4. #4

    Default

    ON YOUR BS2---------------------------------------------------- ON YOUR LCD
    Reset P3 ' Connect ALL pins with 10K resistors --> 4 RESET Input LCD reset (active low)
    SData P2 ' Connect ALL pins with 10K resistors --> 5 SDATA Input Serial data
    SClock P1 ' Connect ALL pins with 10K resistors --> 6 SCLK Input Serial clock
    CS P0 ' Connect ALL pins with 10K resistors --> 7 CS Input Chip select (active low)
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  5. #5

    Default

    Got it. Now how do I get some text on it?
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  6. #6

    Default

    I am trying to use the LCDOUT command but I am having problems generating text or character on the LCD. Could anybody give me some suggestions?
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  7. #7

    Default

    Best response I can give is that, from the sample program they provide that makes the sine waves, the unit is designed to make a given pixel's x/y coordinate a given color. You would probably have to make a lookup table that would be the equivalent of a character map. If I am correct in my belief, the program would very large. Given this, and the slow speed of the screen draw on the BS2sx, I chose to not pursue this option with the stamps. I am planning on getting the professional propeller development board, and that chip does regular video, so I will probably play with this device again at that time. The display has pretty low contrast though, and the OLED displays are starting to come into their own...

    Dave
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  8. #8
    Parallax Engineering

    Chris Savage's Avatar
    Location
    Rocklin, CA
    Posts
    12,199
    Blog Entries
    8

    Default

    Hello,

    You would not use the LCDOUT command with this LCD as it is not a Parallel display. The post from Clock Loop described wiring it up. You need to use SHIFTOUT as the display is a 9-bit SPI device. I hope this helps, take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  9. #9

    Default

    I just bought a JHD 204A 20X4 LCD display. Can anybody provide me with any wiring examples or code examples. I am using the BS2px24 on the super carrier board. Any help would be appreciated.
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  10. #10

    Default

    Try linking a datasheet and maybe we could help. Next time buy a Parallax display.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  11. #11

    Default

    Here is a link.

    http://rds.yahoo.com/_ylt=A0geuy.TVEVKqu8AjvBXNyoA;_ylu=X3oDMTEycDdmMXM 0BHNlYwNzcgRwb3MDMwRjb2xvA2FjMgR2dGlkA0Y3NTRfOTY-/SIG=12go8tmvp/EXP=1246144019/**http%3a//sirbot.org/sirbot-modules/datasheets/LCD_JHD_204A.pdf
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  12. #12

    Default

    jhwatts,, is it serial or parallel I have code for both in Spin and for the BS2 I have a lot more code for the serial displays though PM or Email and I will send them to you
    I also have wiring diagrams if you need them for the BS2 and Prop chip
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

  13. #13

    Default

    @mikediv I emailed you. Thank you.
    Last edited by ForumTools; 10-01-2010 at 08:01 AM. Reason: Forum Migration

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts