Page 1 of 1

S-video on Dragon 32!

Posted: Sat Oct 19, 2013 11:34 pm
by tormod
This is S-video!
This is S-video!
s-video-2-c.jpg (119.23 KiB) Viewed 8360 times
Here is a proof of principle. It works and I think it is a bit better than Composite already, but my screenshots are not really convincing when it comes to quality. Better tuning of components and shielding will probably improve it. I am not so sure my old Acer AL1731 monitor is any good at either composite nor S-video, so it would be interesting to test on another monitor.

Thanks to my cellular phone camera the reference Composite screenshot looks almost better...
Normal composite output
Normal composite output
comp-1-c.jpg (177.34 KiB) Viewed 8360 times
You are maybe able to see a "snake" pattern on the left border of the composite image which is not on the S-video image. The difference is much clearer in real because the pattern is flickering, on both the left and right border.

This is a Dragon 32, main board MKII issue 5 ("Siemens").

Wonderful rat's nest prototyping!
Don't do this at home :)
Don't do this at home :)
ratnest-c.jpg (51.54 KiB) Viewed 8360 times
I take the S-video Luma signal from the video output of the main board (pin 6 and 5 on the connector going to the power board).

For the S-video Chroma signal, a buffer stage seemed to be needed. I made a simple emitter follower (~unity gain, low output impedance):

I have bent pin 13 of the LM1889 so that it doesn't touch the socket, thus the colour signal is not fed to the normal video output any longer. From pin 13 I have a 56 pF capacitor (C1) going to the base of a C1740 transistor, which is biased by a 56 kOhm resistor (R1) to 5V, where also the collector is connected (tapped from pin 14 on the LM1889 on the photo). On the emitter, a 220 Ohm resistor (R2) goes to ground while a 0.1 uF capacitor (C2) in series with a 56 Ohm resistor (R3) goes to the S-video Chroma input. The components are a bit random, just inspired by similar circuits and what I had lying around. The transistor is a general purpose NPN, you can use for instance a 2N2222 or 2N3904 instead.

Schematic:

Code: Select all

                  +----------+--- 5V
                  |          |
                  >          |
                  > R1       |
                  >          |
Pin 13    C1      |     |/---+
  -------| |------+-----| T1
                       |\          C2       R3
                         >>--+----| |-----^^^^^----- Chroma out
                             |
                             |
                             >
                             > R2
                             >
                             |
                             |
                            --- Ground
This is what my circuit looks like:
Circuit implementation
Circuit implementation
circuit-s.jpg (34.66 KiB) Viewed 8313 times

Re: S-video on Dragon 32!

Posted: Sun Oct 20, 2013 10:53 am
by tormod
The jagged border between colours in the composite image is clearly visible here:
colors-composite.jpg
colors-composite.jpg (188.01 KiB) Viewed 8333 times
They are gone on the S-video image but there is some other noise (I think there is a Moire pattern caused by the camera making it look worse than it is):
colors-svideo.jpg
colors-svideo.jpg (167.29 KiB) Viewed 8333 times

Re: S-video on Dragon 32!

Posted: Sun Oct 20, 2013 11:18 am
by Rink
Oooh. Looking very promising!

Re: S-video on Dragon 32!

Posted: Fri Nov 22, 2013 11:09 pm
by zephyr
I like this. Thanks for sharing, Tormod! :)

Re: S-video on Dragon 32!

Posted: Tue Dec 03, 2013 4:57 pm
by prime
I'll take some piccies and post later this evening......

I'm working on an RGB interface for the Acorn Atom (which also uses the 6847), I've got that pretty much working so I tried putting one of the boards in a Dragon, as I had one with a socketed 6847 and have that working pretty well. It decodes the colour and latches the pixels s that you get nice sharp text & graphics.

Only disadvantage is that most Dragons and CoCos have the 6847 soldered direct to the motherboard :(

But I like the simple svideo solution of a transistor and a couple of resistors and caps :)

Cheers.

Phill.

Re: S-video on Dragon 32!

Posted: Wed Dec 04, 2013 12:07 am
by tormod
Cool. I'll be back with a second episode on this, probably next year.

Re: S-video on Dragon 32!

Posted: Wed Dec 03, 2014 2:05 pm
by jedie
I would like to buy stuff from Pollin and replace the Dragon PSU with the VOLTEK SPEC7188B, see: viewtopic.php?f=8&t=4967&start=10#p12294
So i need a other way to output to TFT... This S-Video Output seems to be a good way. A enhancement...
tormod wrote:I have bent pin 13 of the LM1889 so that it doesn't touch the socket, thus the colour signal is not fed to the normal video output any longer. From pin 13 I have a 56 pF capacitor (C1) going to the base of a C1740 transistor, which is biased by a 56 kOhm resistor (R1) to 5V, where also the collector is connected (tapped from pin 14 on the LM1889 on the photo). On the emitter, a 220 Ohm resistor (R2) goes to ground while a 0.1 uF capacitor (C2) in series with a 56 Ohm resistor (R3) goes to the S-video Chroma input. The components are a bit random, just inspired by similar circuits and what I had lying around. The transistor is a general purpose NPN, you can use for instance a 2N2222 or 2N3904 instead.
Any news here? Are these component values well matched?

Is this a permanent solution?

Re: S-video on Dragon 32!

Posted: Fri Nov 13, 2015 6:45 am
by chrispoacher
Any update on this or plans for to sell a small pcb we can fit ourselves?? I'd love to upgrade my D32, even the composite out has a slight but ever so annoying 'ghosting' on it.

Chris.

Re: S-video on Dragon 32!

Posted: Wed Nov 18, 2015 5:29 am
by dragonmarce
Excellent!. Looks great

Re: S-video on Dragon 32!

Posted: Tue Nov 24, 2015 1:42 pm
by tormod
I will definitely be coming back to this, but as I said 2 (!) years ago, next year... Too many interesting things came up in between. However with the smaller fonts on the FUZIX graphics mode console, this has become more important again ;)

Note also that "Zippster" on the CoCo list is working on a 6847->VGA solution. It might be a bit invasive though, requiring a socketed 6847.

I was thinking of making a PCB, possibly with connectors so that it can fit to the motherboard/power board flat cable, have an S-video socket, and also its own power regulators to reduce noise and interferences. For designing such a kit to share, it would be nice to know what is the sweet spot regarding invasiveness and installation difficulty (and complexity and cost, I guess). Would many people strongly prefer a solderless option? Or just a PCB and DIY? And personally I'd avoid any non-reversible modifications of the original hardware (other than the warranty seals :P ).