Shop OBEX P1 Docs P2 Docs Learn Events
New 4.3" touchscreen LCD for Propeller: "used" screens almost free w/purchase. — Parallax Forums

New 4.3" touchscreen LCD for Propeller: "used" screens almost free w/purchase.

RaymanRayman Posts: 14,670
edited 2012-10-30 05:44 in Propeller 1
Many of you have asked for a touchscreen version of my PSM (Propeller System Module)...· I was in the middle of prototyping such a thing when (like mana from heaven) someone approached me with large quantities of very low cost 4.3" microreflective touchscreen LCD displays!· This was just too good of an opportunity to pass up, so I dropped everything to see if I could make this work...· Those of you at the Expo may have seen me happily·demonstrating a prototype board with functioning display.·

These displays will soon be for sale on my website.· There are two varieties:· "As New" and "Used".· The "As New" ones have had their touchpanels replaced and really are as good as new.· These will cost ~$30 ("As New" displays being held for PSB boards).· The "Used" ones may have a few minor blemishes but will cost less.

Of course, there will soon be a board for it too, tentatively called PSB (Propeller System Board) [noparse][[/noparse]because it will be bigger with more stuff on it].· There may also be a barebones adapter to get this working at minimal cost...

I think you'll find that these displays are perfect for many applications...· They are large enough to use the touchpanel effectively for input, but not too big for embedded apps or controls.· The microreflective technology makes them ideal for indoor and outdoor use (you can see it in direct sunlight).·

I'm going to provide full details (schematics and code) on how to interface these displays to the Prop.··I have modified·the standard VGA driver so that we can show text and images on the display.

Here's a photo of my prototype with a test app that puts color bars on the display with 14 Hz refresh rate (slow because·not using the Prop's video generator).· The I2C touscreen controller is working as is the backlight controller.·

Also, I post the datasheet again here.· Note that these are from a very large, well-known company.··(But,·it's better for them if I don't use their trademarks or logos when advertising these, so I'm not using their·name and I've redacted company specific info from the datasheet.)·

Update: A used screen is now free with breakout board or PSB purchase.


If you wish to order some, send an email to ray@rayslogic.com with your your order.
Due to limited supply, LCDs are now only sold with a breakout board, but you may get up to 2 LCDs for each breakout board.

Breakout boards are $30.

(SMT Connectors are also available $1 each...)


Shipping within US is $5 (via USPS Priority Mail).···Email me regarding larger quantities...

Revised source code for Paint and VGA demo apps on page 10!

Breakout board schematics and layout on page 4!

Andrew of WBA Consulting has compiled a shorter version of this thread here: compacted thread is here


More information is posted on my website:

http://www.rayslogic.com/Propeller/Products/PSB/PSB_Display.htm



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm

Post Edited (Rayman) : 12/20/2009 1:13:54 PM GMT
1329 x 779 - 232K
1227 x 859 - 143K
1428 x 952 - 218K
«13456724

Comments

  • RaymanRayman Posts: 14,670
    edited 2009-08-26 12:37
    Here I'm going to post info on the connector and my test app...

    The 60-pin FPC connector I'm using is this one:· Digikey part# 609-3439-1-ND

    Here's some more images of the display with various drivers:

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm

    Post Edited (Rayman) : 12/25/2009 4:53:30 PM GMT
    1496 x 1122 - 483K
    1496 x 1122 - 838K
    1496 x 1122 - 490K
    1496 x 1122 - 729K
  • photomankcphotomankc Posts: 943
    edited 2009-08-26 13:26
    Niiiiccceeee. Would be a neat interface for my home security deal I'm brain-storming now.
  • Agent420Agent420 Posts: 439
    edited 2009-08-26 13:28
    Sounds great.· What kind of connection do these use?· Is it one of those flexible leads that require a special socket?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
  • RaymanRayman Posts: 14,670
    edited 2009-08-26 13:37
    I've posted the Digikey part# for the connector I'm using above...

    It is a 60-pin FPC connector.· The pitch is 0.5 mm.

    This might scare some people, but I soldered it with just a regular soldering iron...· But, there are 2 things you need to do this:· Solder wick and a magnifying glass (preferrably a 10X loop).· Solder wick is just like magic for cleaning up the connection...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • AleAle Posts: 2,363
    edited 2009-08-26 13:52
    Rayman:

    I ordered 2 of these displays (from that auction site), I'd from you but shipping is just not cost effective, sorry. A method like Bill Hennig's may be the way to go to get many colors. What do you think ?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit some of my articles at Propeller Wiki:
    MATH on the propeller propeller.wikispaces.com/MATH
    pPropQL: propeller.wikispaces.com/pPropQL
    pPropQL020: propeller.wikispaces.com/pPropQL020
    OMU for the pPropQL/020 propeller.wikispaces.com/OMU
  • RaymanRayman Posts: 14,670
    edited 2009-08-26 14:08
    Yeah, the RGB interface is really a lot like the VGA inteface... There's no easy way to do photos, for instance, at this high resolution. That would require something like Bill's expanded memory. I'm not sure it could be done with just 1 Prop, it would probably take 2 or 3 to make a system that way...

    I tend to follow the KISS principle when practical...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • AleAle Posts: 2,363
    edited 2009-08-26 14:34
    I just do not want to use a CPLD or FPGA solution but It may be cheaper. With a SPI end to minimize pins...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit some of my articles at Propeller Wiki:
    MATH on the propeller propeller.wikispaces.com/MATH
    pPropQL: propeller.wikispaces.com/pPropQL
    pPropQL020: propeller.wikispaces.com/pPropQL020
    OMU for the pPropQL/020 propeller.wikispaces.com/OMU
  • Brian CarpenterBrian Carpenter Posts: 728
    edited 2009-08-26 14:46
    May i please buy 2

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    It's Only A Stupid Question If You Have Not Googled It First!!
  • Bill HenningBill Henning Posts: 6,445
    edited 2009-08-26 14:55
    You are right, large color LCD's do need expanded memory, and ideally, a dedicated processor. Eventually I will make LCD boards for Morpheus/Propteus, but that is months away at best.

    I am looking forward to looking at your design!
    Rayman said...
    Yeah, the RGB interface is really a lot like the VGA inteface... There's no easy way to do photos, for instance, at this high resolution. That would require something like Bill's expanded memory. I'm not sure it could be done with just 1 Prop, it would probably take 2 or 3 to make a system that way...

    I tend to follow the KISS principle when practical...
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
    Morpheus & Mem+dual Prop SBC w/ 512KB kit $119.95, 2MB memory IO board kit $89.95, both kits $189.95
    www.mikronauts.com - my site 6.250MHz custom Crystals for running Propellers at 100MHz
    Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
  • RaymanRayman Posts: 14,670
    edited 2009-08-26 15:00
    PS: Ale, I just shipped a little box to Europe for $12 using USPS International Priority, so it's not too bad...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • Adam WieslerAdam Wiesler Posts: 81
    edited 2009-08-26 19:54
    Rayman, I picked up one of those lcds at the expo, and i was wondering if this breakout board had the right type of connector.

    http://www.seeedstudio.com/depot/lcd-ext-breakout-of-05mm-fpc-p-200.html

    Thanks

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My website www.quigleyelectronics.com/
  • RaymanRayman Posts: 14,670
    edited 2009-08-26 20:46
    It does indeed look like the right kind of connector...
    The important things are:
    1.  60 pins
    2.  0.5-mm pitch
    3.  bottom contacts (well, I suppose top contacts would work too, upside down)...
    4.  The connectors generally give a thickness of FPC they can work with, but I'd guess it'd work.
    5.  New connectors have something called board-lock or such where the FPC has a special shape, but that appears to be the regular type...
    
    

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • mikedivmikediv Posts: 825
    edited 2009-08-26 23:27
    Ray can we order direct from you are you going to post cost and can you also just include the connector for a price of course but just get everything from you???
  • RaymanRayman Posts: 14,670
    edited 2009-08-27 00:59
    Mike,

    I'm not much of a businessman! I'm just here to have fun... But, I do have a little Prometheus streak, so I like to share when I have something cool...

    It would seem to me that if someone buys this display they will probably need a lot of other stuff to make it work, so it would be better for them to just get the connector with other orders than to buy it from me...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • RaymanRayman Posts: 14,670
    edited 2009-09-12 20:25
    Well, I almost got simultaneous VGA/TFT working with a modified VGA driver (see pic)...

    But, I can't get it exactly right...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
    1920 x 1080 - 843K
  • AleAle Posts: 2,363
    edited 2009-09-12 20:41
    That looks impressive. I'm going for an FPGA though

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit some of my articles at Propeller Wiki:
    MATH on the propeller propeller.wikispaces.com/MATH
    pPropQL: propeller.wikispaces.com/pPropQL
    pPropQL020: propeller.wikispaces.com/pPropQL020
    OMU for the pPropQL/020 propeller.wikispaces.com/OMU
  • KMyersKMyers Posts: 433
    edited 2009-09-12 22:09
    Well done Rayman you do very nice work, still over my head on the Prop.
    I love to see your projectsjumpin.gif

    Ken
  • mctriviamctrivia Posts: 3,772
    edited 2009-09-12 23:53
    Cool. I like reflective screens. Would be fun to hook to 1 of my super props.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    propmod_us and propmod_1x1 are in stock. Only $30. PCB available for $5

    Want to make projects and have Gadget Gangster sell them for you? propmod-us_ps_sd and propmod-1x1 are now available for use in your Gadget Gangster Projects.

    Need to upload large images or movies for use in the forum. you can do so at uploader.propmodule.com for free.
  • RaymanRayman Posts: 14,670
    edited 2009-09-13 19:06
    Just finished a driver for the display!

    It works just like the VGA driver (basically, I just hacked the Parallax VGA driver to give the proper display).

    You may notice that the colors don't exacly match, but that's because of an error in the PCB wiring...
    (I was supposed to tie the 6 Prop color bins to the 2 most significant bits of all three colors, but I instead wired them to the 2 least significant bits...· End results is that I only have 8 colors instead of 64 colors.· But, this will be remedied in the next revision).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
    1920 x 1080 - 928K
  • RaymanRayman Posts: 14,670
    edited 2009-09-13 19:25
    This board is drawing 420 mA with the backlight on full blast... I can still power it off USB, but just barely...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • localrogerlocalroger Posts: 3,451
    edited 2009-09-13 21:03
    Ray, are you posting your driver for the LCD anywhere? I ask because I've been working on propellerizing the Philips PET720 DVD display, of which I have a couple, and it uses a RGB interface with NTSC-like timing that reverses the polarity of the signal each scan line. It's the same pixel resolution as yours and I suspect the driver requirements might be similar.
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2009-09-13 22:38
    Awesome! I think that as soon as there is a breakout board I will buy a used one and a breakout board. The used one should be budget-friendly.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Computers are microcontrolled.

    Robots are microcontrolled.
    I am microcontrolled.

    But you·can·call me micro.

    If it's not Parallax then don't even bother.

    I have changed my avatar so that I will no longer be confused with others who use generic avatars (and I'm more of a Prop head then a BS2 nut, anyway)



  • JRetSapDoogJRetSapDoog Posts: 954
    edited 2009-09-14 00:18
    Nice work, Rayman!· Your persistance is amazing.· Thanks for the progressive updates.· I thought you'd run into a deal-breaker, but apparently not.

    For what it's worth (probably not·much, but just for fun) and for anyone that's interested, I mocked up a graphic (.png & .gif from Adobe Flash) showing the 64 colors you'll be able to display once you use the 2 most-significant bits for each of the RGB colors (I believe the .png conversion preserved the colors well, if not perfectly).· I haven't dove into the VGA driver much yet, so I'm not completely sure if these are the exact colors it generates, but I would guess so (or nearly so).· In the attached graphic, the colors are shown in a 4-Row x 16-column grid in a numerically increasing format, first from top-to-bottom and then from left-to-right, with 24-bit RGB colors values shown in HEX displayed above them as indicated by the lines to the left.

    Offhand, I forget how many bits-per-pixel your new display has, but if it's 15, 18 or 24, then the colors should appear like·those in the graphic below.· However, if it's a 16-bit display, colors would be a bit different.· I know you know that already; I'm just stating it for the convenience of others curious about what colors will be generated.· Overall, it's a fairly decent color set, but, as one can tell from the graphic, the colors are not distributed as evenly across the color spectrum as one would probably like.· That is, many of the colors are close together in hue.· If hand-picking a palette, one would probably make some different choices, but the major colors would still be the same.··Anyway, this is the set of colors that one gets if using·the 2 most-significant bits for each of R, G & B, and·the set is·not bad and probably more than suitable for many Propeller-related purposes.

    For your colors to match these, you'll (of course) have to tie the "lesser-significant" color data pins to the 2 most significant bits in order to cover the spectrum from full black to full white (and thus match the colors in the graphic).··For example, looking at just one color, say red, for a 24-bit display,·one would run·2·color data bit from the·Prop to the 2 most-significant bits of the display (Prop MSB-to-DataBit7 and Prop 2nd MSB-to-DataBit6, of course), then color data bits 5, 3 and 1 of the display would be tied to DataBit7 of the display, and color data bits 4, 2 and 0 (of the display) would be tied to DataBit6 (of the dispay).· Again, you're well ahead of me on this and no doubt are already configuring the new board this way.· I've never actually done this, but that's the way I believe it's supposed to work (it makes sense and I've seen LCD data sheets with similar recommendations).· Okay, I guess that's enough of stating the obvious for one day.· Anyway, good luck with your exciting endeavor.

    Update:· I added a drawing to illustrate the last paragraph (1 Pic = 1000 Words).· Incidentally, a·design using serial-RGB would be similar, but only 2 bits would go in at a time, so only 1/3rd of the drawing would be used (for example, the red circuitry, only it would be used·for R, G & B sequentially).

    Post Edited (JRetSapDoog) : 9/15/2009 5:05:52 AM GMT
    550 x 450 - 23K
    550 x 450 - 21K
    550 x 450 - 7K
  • FredBlaisFredBlais Posts: 370
    edited 2009-09-14 01:08
    Rayman said...

    It works just like the VGA driver (basically, I just hacked the Parallax VGA driver to give the proper display).

    What changes did you make to the VGA driver in order to make it work?
  • RaymanRayman Posts: 14,670
    edited 2009-09-14 10:14
    I'll be posting the code very soon... I just need to clean it up a bit first...

    It really wasn't that hard to do... The changes are mostly just to the timings and the handling of the Data Enable and Display Enable pins...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • RaymanRayman Posts: 14,670
    edited 2009-09-14 19:43
    JRetSapDoog: I was thinking of a different wiring scheme, but I like yours better!

    I'll have to remember to do that with my next revision...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • JRetSapDoogJRetSapDoog Posts: 954
    edited 2009-09-15 05:14
    I had a harmless/superfluous connection dot in the LCD drawing, which I've now edited out.

    When you say that the board draws 420mA with full backlight, at what voltage is the board (3.3V or 5V)? I'm curious about total power consumption.

    For the actual LCD driver, how many cogs are involved, one or two? I'm also curious about your final frame rate and the degree of perceptible flicker.
  • RaymanRayman Posts: 14,670
    edited 2009-09-15 13:27
    420 mA is total current from a 9V exteral supply...

    Just one cog, just like the basic VGA driver from which it was derived...

    I've played around with varying the dot clock all the way from 0.5 to 15 MHz...·
    I have to see if there's any power dependence...

    Display is rock solid with no flicker at any frequency in this range....

    I think I'll pick 8 or 10 MHz for the driving frequency.
    I haven't measured the vertical refresh, but I think it's about 40 Hz or so...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
  • JRetSapDoogJRetSapDoog Posts: 954
    edited 2009-09-15 16:29
    Sounds wonderful! You're the ray, eh...I mean the man. Okay, maybe both. Yeah, probably not the first time you've read that with your 2100+ posts.

    In following your work, it seems like you take an open-minded and optimistic approach to your design experiments. I should learn from that. I would have thought that one would have had to have precisely calculated all that timing stuff--front porch, back porch, data hold times and what not--before conducting a test (and perhaps you did or estimated things), but you seem to be able to work magic by quickly varying things in code and just trying a range of parameters.· Hmm...considering how flexible that display appears to be timing-wise, now I'm kind of wondering just a little bit·if it's a standard "raw" RGB display.· It seems like one of the pics showed it attached to its own PCB.· Guess I should dig up one of your related threads·for the display data and look into that, but I'm still assuming that it's a fairly standard·display in terms of operation.

    Anyway, let me go take a patience pill and stop distracting you from your work and progress (but please do keep us in the peanut gallery posted, as you've been doing).

    Post Edited (JRetSapDoog) : 9/15/2009 4:42:45 PM GMT
  • ManetherenManetheren Posts: 117
    edited 2009-09-22 12:33
    I have been looking for a slightly larger touchscreen like this for a while but cannot find any cheap suppliers. Do you mind me asking when you find your supplier?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tia'Shar Manetheren
Sign In or Register to comment.