Shop OBEX P1 Docs P2 Docs Learn Events
P2 7" LCD - Page 2 — Parallax Forums

P2 7" LCD

2»

Comments

  • rogloh wrote: »
    TonyB_ wrote: »
    The product page https://www.parallax.com/product/27390 says there is no datasheet available, but one must exist somewhere. What chipset does it use?

    I'm interested to know how low the TMDS clock could be for 800x480 with reduced blanking. The typical value seems to ~332 MHz without reduced blanking. I think these 800x480 HDMI displays also support 640x480 at standard timings but no other modes.

    I found this data but it may not be the exact model and the AT070TN92 might be a generic name for many different panels (can't be sure there) but might be a reasonable start though. If it is valid it looks like it takes a 26.4-46.8MHz dot clock with a decently wide range of sync/blanking timing possible. This would be nice to try with a P2 at 264MHz or 270MHz perhaps, operating at the 10x pixel rate for DVI. It is quite easy to experiment with the timing in my driver to find what might work for native resolution. The Realtek(?) converter part may have some of its own timing constraints however, so maybe that can be looked up too.

    https://www.olimex.com/Products/Retired/A13-LCD7-TS/resources/S700-AT070TN92.pdf

    Thanks for the link. I'd seen this file before but forgot to save it.

    270MHz would produce a 60Hz display with 862 pixels/line (min.) and 522 lines, or 882 pixels/line and 510 lines (min.)
  • David Betz wrote: »
    I hooked up the 7" LCD display to my bench supply and now it seems to be working with the P2 Eval board. It still doesn't work with the Raspberry Pi though. I don't plan to use it with the Pi anyway so I guess that isn't a problem. It seems that neither the P2 5V supply nor my breadboard supply provide enough current to drive the display.
    I switched to using a USB C power supply intended for a Raspberry Pi 4 and the 7" LCD display seems to be working fine. Does anyone have code to put text on the display?

  • dgatelydgately Posts: 1,621
    edited 2020-08-20 17:38
    David,

    I was able to get rogloh's driver to work with the 7" display (Look for the DVI initialization, which is commented out, I believe):
    http://forums.parallax.com/discussion/170676/p2-dvi-vga-driver/p1
    It's this version that I used (the complexdemo.spin2 code):
    p2videodrv0_91b.zip

    I'm still working out the regions that are used (4 in the example)... Modifying the code around what gets displayed (text, vs graphics, cursor, etc...) still had me a bit confused, but I was able to put some text onto the screen other than the examples
    ' create a VGA display
    	'THE DEFAULT
    	'vid.initDisplay(@display1, VID#VGA, VGA_BASE_PIN, VGA_VSYNC_PIN, VID#RGBHV, @lineBuffer1, LINEBUFSIZE, timing)
    
    	' or turn one of these other video outputs...
    	'vid.initDisplay(@display1, VID#COMPONENT_SDTV, COMPONENT_BASE_PIN, 0, VID#PROGRESSIVE+VID#PAL, @lineBuffer1, LINEBUFSIZE, 0)	
    	'vid.initDisplay(@display1, VID#COMPONENT_HDTV, COMPONENT_BASE_PIN, 0, VID#PROGRESSIVE, @lineBuffer1, LINEBUFSIZE, 0)	
    	'vid.initDisplay(@display1, VID#SVIDEO_CVBS, SVIDEO_BASE_PIN, 0, VID#INTERLACED+VID#NTSC, @lineBuffer1, LINEBUFSIZE, 0)
    	'vid.initDisplay(@display1, VID#CVBS, SVIDEO_BASE_PIN+2, 0, VID#INTERLACED+VID#NTSC, @lineBuffer1, LINEBUFSIZE, 0)
    	'vid.initDisplay(@display1, VID#SVIDEO, SVIDEO_BASE_PIN, 0, VID#PROGRESSIVE+VID#NTSC, @lineBuffer1, LINEBUFSIZE, 0)
      ' HDMI TEST
    USE THIS: ==>	vid.initDisplay(@display1, VID#DVI, DVI_BASE_PIN, 0, VID#DVI_NORMAL, @lineBuffer2, LINEBUFSIZE, 0)	' create a VGA display over DVI
    

    dgately

  • dgatelydgately Posts: 1,621
    edited 2020-08-22 01:53
    A cheesy stand for the 7 inch Display, for 3D printing:
    NOTE: I used KISSlicer to create a .gcode for my printer (thanks to Jonathan Dummer)... It came out with a really high-grade object!

    7Inch%20LCDFront.jpg7InchLCDBack.jpg

    The .stl file is attached (zipped).


    dgately
    1663 x 2218 - 896K
    1663 x 2218 - 628K
  • Cluso99Cluso99 Posts: 18,069
    Nice job. Thanks for posting :)
  • @"David Betz"

    I have the same trouble the screen go blue and then off.
    After a while i notice my hdmi cable was not wel plugged in the screen

    dumb

  • Ltech wrote: »
    @"David Betz"

    I have the same trouble the screen go blue and then off.
    After a while i notice my hdmi cable was not wel plugged in the screen

    dumb
    My problem ended up being an insufficient power supply.

  • RaymanRayman Posts: 13,859
    @dgately Thanks for posting stl file. I may have to print that out.

    Wondering if one of those right angle hdmi adapters will work there...
  • Rayman wrote: »
    @dgately Thanks for posting stl file. I may have to print that out.

    Wondering if one of those right angle hdmi adapters will work there...
    That would be nice as it would hide the HDMI cable as it leaves the top of the LCD's board. I did make a cut-away in the stand to give room for the HDMI cable end, but it was probably not needed.

  • @dgately
    A cheesy stand for the 7 inch Display, for 3D printing:


    I like it. Great job. I may print one for mine when I pick up a 3D printer. :)
Sign In or Register to comment.