Shop OBEX P1 Docs P2 Docs Learn Events
TV TFT display problems — Parallax Forums

TV TFT display problems

MagIO2MagIO2 Posts: 2,243
edited 2014-01-06 13:19 in Propeller 1
On another thread I reported that my first propeller-board ever died: http://forums.parallax.com/showthread.php/149533-Quickstart-Rev-A-not-found-on-PC

Now the same thing happened with my second QS. In both cases it happened when I attached it to this 4.3" TV TFT display:
http://www.pollin.de/shop/downloads/D120915D.PDF

I really have no glue how this can happen because it has it's own external power supply and is only connected to P12-14 of the propeller via resistors and of course to ground.

Another problem I have with the display is, that it has some problems to display blue. It looks like waves of different brightnesses are overlaid over the blue areas. If I change the frequency fpal in the TV driver the pattern changes, but it never dissappears. Without color the display works quite fine.

So, my questions:
Is there a way to decouple the display? Would an opto-coupler work? Any idea which one?
Any ideas about the problem with blue color?
Any idea why the display can destroy the FTDI?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2013-12-27 15:26
    The TV video input should not be able to affect the Propeller's video output circuit. The Propeller's I/O pins are partly isolated by the resistor network and the resistors should protect them. If there's a problem with the ground connection, anything connected to the QuickStart board could potentially be damaged. The ground should be isolated from the AC supply. If you have a multimeter with an AC voltage setting, you might check the voltage between the ground on the TFT display video input jack and the USB ground on the PC. It should be zero or close to that.
  • RaymanRayman Posts: 14,673
    edited 2013-12-28 05:20
    Sounds like a power problem to me... I'd guess that somehow the Quickstart got too high an input voltage or that the I/O pins got too high a voltage.
    How did you power the Quickstart board?

    If you wanted to add isolation, maybe you could capacitively couple the video signal. That would leave only the grounds with a direct connection.
    Maybe just use an 0.1uF ceramic capacitor in series on the video line...
    This may require also some pulldown resistors on either side of the capacitor, not sure...
  • T ChapT Chap Posts: 4,223
    edited 2013-12-28 06:14
    Blowing up parts that are not in the path of the video signals is indicative of a voltage differential between several supply grounds. Disconnect the supply grounds from each other, remove the supply rails from the display, check the voltage from the USB shield to the display ground, and check the ground of the QS to the display power ground.
  • MagIO2MagIO2 Posts: 2,243
    edited 2013-12-28 08:24
    Thanks alot for your help. This kind of problem never happened to me before.

    So, I measured AC voltage between USB shield of the Netbook which was attached to the QS and the power supply of the display and it was ~40V. So my guess is that there was a weak connection in the wiring (video connector to pins plugged into breadboard and a wire from breadboard to QS header).

    I think in future I'm gonna put more efford in good ground connections.
  • T ChapT Chap Posts: 4,223
    edited 2013-12-28 08:35
    http://www.digikey.com/product-search/en?x=8&y=12&lang=en&site=us&KeyWords=NHD-4.3-480272EF-ATXL%23-CTP-ND

    Here is a 4.3 option for you with Touch from Newhaven. Rayman has a controller board for it, and this is a very nice display.
  • MagIO2MagIO2 Posts: 2,243
    edited 2013-12-28 12:38
    This display is meant for a cnc router controller, so it only shall display coordinates and menus. The Newhaven + adapter costs a bit more than 20Euro.
    And to be honest, for more quality I'd prefere this display: http://www.mikrocontroller-praxis.de/data_article/ITS-ITDB02-4.3/DS_IM120419007_ITDB02_4.3.pdf

    For 36 Euros it also includes touch, an SD card slot and has it's own display memory. My expectation is that the controller should also work in 8-bit or 9 bit mode in this module. Will see ...
  • MagIO2MagIO2 Posts: 2,243
    edited 2013-12-31 11:21
    News about my ground-problem:

    This time I connected my scope to the breadboard setup and only connected ground of scope to the board. When switching on the scope the QS stops working. Now being prepared I removed the power supply from my Netbook and everything worked fine again.

    So it looks like ground sometimes has a different potential ....
  • jmgjmg Posts: 15,173
    edited 2013-12-31 21:04
    MagIO2 wrote: »
    And to be honest, for more quality I'd prefere this display: http://www.mikrocontroller-praxis.de/data_article/ITS-ITDB02-4.3/DS_IM120419007_ITDB02_4.3.pdf

    For 36 Euros it also includes touch, an SD card slot and has it's own display memory.

    Another display option is this :
    http://www.digikey.com/product-detail/en/VM800B43A-BK/768-1194-ND/4332002
    Includes a smarter display engine, and a bezel (and of course a higher price)
  • JLockeJLocke Posts: 354
    edited 2013-12-31 22:38
    MagIO2 wrote: »
    ...
    So it looks like ground sometimes has a different potential ....

    The transmitter power supply for the sonar system I worked with in the Navy had a floating ground... about +75V above 'earth' ground. If you used the wrong o-scope when troubleshooting or doing planned maintenance, you would get a nasty shock when you tried to change any of the settings on the scope. Only made that mistake a couple of times!
  • MagIO2MagIO2 Posts: 2,243
    edited 2014-01-03 12:10
    The display problems regarding blue color seems no longer to be a display problem, it seems to be somewhere else. I bought a video grabber today and it shows the same problem. So, is this because of the breadboard setup (unshielded wires ...) or is it a problem with frequency multiplier (5MHz->80MHz) being not stable enough? I have no glue...

    (The ZIP includes an MP4-file)
  • MagIO2MagIO2 Posts: 2,243
    edited 2014-01-04 16:45
    Switched back to unsolved due to the other question (ground problem solved) and the previous reply from myself. Does somebody have an idea what causes those color-problems. Some other colors seem to work better than others.
  • T ChapT Chap Posts: 4,223
    edited 2014-01-04 16:50
    The only times I have seen strange color behavior is with bad connections to the controller board, or a bad controller.
  • potatoheadpotatohead Posts: 10,261
    edited 2014-01-05 16:57
    Looks to me like you are using a PAL display.

    The color fringing in the blue you showed us is due to the Propeller not producing a stable enough color reference. We've had this problem with PAL the whole time. NTSC can tolerate very significant variances from the standard. If you are anywhere even close, it mostly works. PAL has very tight tolerances and it needs to be spot on to avoid artifacts.

    Can you switch your display to NTSC? NTSC is a downgrade in terms of resolution, but it's going to be a lot more stable for color.

    Edit: After reviewing your movie, NTSC is going to bring another problem and that is artifacting on your higher resolution display elements. Standard composite video NTSC would not look as good as what you've got going on right now.

    Does your display offer S-video input? If so, you could use NTSC on it and get that kind of look without the artifacts. Your connection to the display and the driver would both require a tweak.

    Overall, the best PAL display is Chip's TV driver. We've attempted lots of solutions and they all seemed to come with some fringing in PAL. Tweaking your driver to your display is the best option. When it's close, it's close. Looks like that is the one you are using too.

    You might consider a color palette. Look for the ones that display the fewest artifacts. Maybe avoid color area fills too, outlines only. The fringing will still be there, but at a lower impact.

    Nice display BTW!
  • MagIO2MagIO2 Posts: 2,243
    edited 2014-01-05 17:16
    Thank you for the explaination, potatohead!

    The display can also do NTSC, but I would like to stay with PAL, as you find more devices that support PAL here in germany. So I'll go the route to find the stablest settings/colors and give the option to disable color.

    I also like the display and have to buy some more just for the case I need more in future ;o)

    Maybe I try the 5" one. If I remember right that one also supports S-video.
  • cavelambcavelamb Posts: 720
    edited 2014-01-05 17:29
    MagIO2 wrote: »
    Thank you for the explaination, potatohead!

    The display can also do NTSC, but I would like to stay with PAL, as you find more devices that support PAL here in germany. So I'll go the route to find the stablest settings/colors and give the option to disable color.

    I also like the display and have to buy some more just for the case I need more in future ;o)

    Maybe I try the 5" one. If I remember right that one also supports S-video.

    He was trying to help you diagnose the display problem.
    Switch to NTSC ans see if the problem disappears,
    If so, then you know.
    If not then it's most likely bad connections.
  • potatoheadpotatohead Posts: 10,261
    edited 2014-01-05 17:41
    Well, the S-video really helps with an NTSC display. You can get the horizontal, monochrome resolution you need, no problem. Color works well, so long as there isn't clash. Two color character displays like you are using where it's a color with either black, white, or a different intensity of the same color will render on S-video really well. NTSC color is lower resolution than PAL, and it's best to avoid aggressive color angle changes in tight places for best results. Your display would render well as is, IMHO.

    The S-video may help you with PAL too. Not sure it's worth the trouble though. PAL resolution is good enough for your display over composite. You might try the setup for S-video, but feed both signals into composite hack I mention below on PAL to see how that performs. I've not done it.

    One thought may be to modify your video interface some to allow for less overall color saturation. Those fringes will still be there, but much less pronounced with a lower overall color saturation value. The easy way to do this is with an S-Video type configuration. Just insert a resistor on the color signal to dial back it's saturation level. I've used this as a hack to improve displays on composite as well. Just connect both the color signal and the luma signal to your composite input. Color gets a bit more washed out when doing this, but it does improve the display some. Not best practice, but potentially useful to you.

    I suppose the other option is to get a PAL converter chip and feed it RGB. This increases your cost and part count, but it will look really good.
  • potatoheadpotatohead Posts: 10,261
    edited 2014-01-05 17:48
    He was trying to help you diagnose the display problem.
    Switch to NTSC ans see if the problem disappears,
    If so, then you know.
    If not then it's most likely bad connections.

    Well, sort of. That color fringing is a known problem on Propeller PAL video output. Really, I was trying to communicate some options more than anything else. However, if there were similar artifacts on an NTSC display, then shielding on the video signal cables would be warranted for sure.
  • potatoheadpotatohead Posts: 10,261
    edited 2014-01-06 11:01
    I am about to jump on a plane and just had another thought on this. Are you running an interlaced display? If not, you might try it. The color bands may cancel, or break up to be less visible.
  • MagIO2MagIO2 Posts: 2,243
    edited 2014-01-06 13:19
    It is interlaced and it does not run in progressive mode - at least not with the current settings. I think for TV-out I'll go the black and white route unless I find some time to digg deeper into the problem.
    I wrote a little test-program to scroll through all possible fg and bg color values and there is rarely a stable color.

    Thanks a lot for your help!
Sign In or Register to comment.