Shop OBEX P1 Docs P2 Docs Learn Events
Can the Propeller control this LCD panel? — Parallax Forums

Can the Propeller control this LCD panel?

John PJohn P Posts: 5
edited 2009-04-27 11:22 in Propeller 1
I have a couple of LCD panels, Sharp model LM8V311. This panel has 640 x 480 pixels, but it's a color unit and effectively, each pixel is in triplicate, for the RGB colors. So you could call it 1920 x 480 pixels. The arrangement of the colors isn't helpful; the unit has to be fed with a byte at a time, and the bits of a byte represent the R, G, B subpixels in rotation, so the first byte is RGBRGBRG, the next one is BRGBRGBR, and the third one is GBRGBRGB, after which the sequence repeats; after 3 input bytes, data for 8 pixels would have been loaded.

Two bytes have to be fed in at a time, for upper and lower half-screens, with timing signals for the end of each line and the end of a full screen. I'm not totally clear on how rapid a screen time needs to be, but it seems to be somewhere from 75Hz to 120Hz.

The amount of data needed for a screen seems to be 640 x 480 x 3 / 8 bytes, or 115200 bytes. That appears to be a lot more than the Propeller can hold internally, but there's the possibility of controlling external memory.

If anyone's interested enough in this to want to see a data sheet, it's available in PDF form here:
http://datasheet.digchip.com/424/424-06349-0-LM8V311.pdf

So anyway, my question here is whether the Propeller can control this LCD without a totally unreasonable amount of external hardware. What I'd like to be able to do would be to create a few graphic commands, to draw lines and rectangles and display text, in any of the 8 colors selectable with 3 bits per pixel. If the Propeller can do it, I'd consider buying some and learning to use them.

p.s. Sorry to have initially posted this messaqe with no title. I thought I had one, but it must have escaped while my attention was elsewhere.

Post Edited (John P) : 4/22/2009 12:14:53 PM GMT

Comments

  • ElectricAyeElectricAye Posts: 4,561
    edited 2009-04-22 01:42
    Click on the pencil icon of your posting and enter a subject line so people know what you're asking for.

    Good luck.

    smile.gif
  • AleAle Posts: 2,363
    edited 2009-04-22 05:18
    John: What you have is a DSTN panel. after 3 bytes the colors repeat itself in position. Shades are achieved using frame modulation that means that the color will be on and off in different frames. For such resolution I'D recommend an external controller. There is not enough RAM in the propeller for a bitmapped driver. BUT you may only want text or half the resolution. In those cases you can do it with the propeller. There was some 1 year ago or so a thread about such a panel. look for DSTN with search.parallax.com. There is also a thread from me to drive a mono 640480 panel.
  • John PJohn P Posts: 5
    edited 2009-04-24 14:37
    Thanks for the response. I understand about the insufficient on-board memory. It might be possible to control off-board RAM, but that does push up the complexity. Without getting into some design work, I suppose it's very difficult to say just how much external hardware would be needed for a project of this kind. The "right" way to do it is probably a programmable chip like an SVGA, but I don't have experience there and it probably isn't worth learning and investing in the hardware to program the thing.

    I've also got a mono LCD running--did you get yours at All Electronics, by any chance?
    http://www.allelectronics.com/make-a-store/item/LCD-104/640-X-480-LCD-W/-CCFL-BACKLIGHT-AND-INVERTER/-/1.html

    I paid $11 for this, but they've cut the price to $6. That's a sweet deal, if you can get it working. My design involves a PIC processor with the display data stored in DRAM. It works very nicely, but it was a complex project in both hardware and software.
  • mparkmpark Posts: 1,305
    edited 2009-04-24 16:33
    Are you John Purbrick?
  • John PJohn P Posts: 5
    edited 2009-04-25 00:18
    Uh, yeah. But I can't help it.

    Insert emoticon for "apprehensive".
  • mparkmpark Posts: 1,305
    edited 2009-04-25 02:27
    [noparse]:)[/noparse] Not to worry, I just followed the link in your comments on that All Electronics LCD panel, saw the name John Purbrick, and made the connection.

    You should get a Propeller in any case. Regardless of whether it'll work with your color LCD, it's a ton of fun to play with.
  • kwinnkwinn Posts: 8,697
    edited 2009-04-25 02:45
    Not too sure about this particular display, the data sheet is not too clear on how many colors it can display. Looks like each color pixel has 4 levels (2 bits). We had a thread (http://forums.parallax.com/forums/default.aspx?f=25&m=324301) on interfacing a prop directly to an LCD panel.

    As you noted the prop does not have enough memory for a display of that resolution, but it could control an external memory and counters to do so.
  • John PJohn P Posts: 5
    edited 2009-04-27 11:22
    OK, thanks for the info. I've learned a bit about the Propeller and it does indeed look like a lot of fun, and a component to keep in mind for future projects.
Sign In or Register to comment.