CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: Charlie on 21:20, 27 January 11

Title: RGB to S-Video Adaptor
Post by: Charlie on 21:20, 27 January 11
Hello all,
After a few false-starts and some most helpful advice -Thank You!- here's a little something to expand video connection options for the CPC (and other retro boxes).


Of course Bryce has already made such a board for the Wiki - I guess the choice for prospective builders will be down to component availability.


-Prototype Board-
(http://grope.thruhere.net/Qube/projects/images/RGBtoSVideo/RGBtoSVideoPCB.jpg)(http://grope.thruhere.net/Qube/projects/images/RGBtoSVideo/RGBtoSVideoComponent.jpg)
The input & output headers above are cut-down IC sockets. This is a bit of a bodge for the sake of easy testing, directly soldering in or proper sockets would be much better.


This board should work with anything that can provide the required signals: R+G+B+Sync+Gnd+5v


Why?
S-Video isn't going to be quite as good as RGB->SCART but it isn't half bad and what if SCART isn't a viable option? The board can be configured for PAL or NTSC.


Here's a few example photos, taken with a rubbish camera I'm afraid:


-6128 Sitting on unusual plinth-
(http://img89.imageshack.us/img89/1561/rgbtosvideodemo.jpg)


-Close-up of CPC screen-
(http://img253.imageshack.us/img253/2403/rgbtosvideoclose.jpg)


-Chukie Egg Pro Edition on BBC Master-
(http://img600.imageshack.us/img600/184/rgbtosvideomaster.jpg)


-Extreme Close Up thumbnail. LARGE IMAGE-

(http://img510.imageshack.us/img510/823/cpccclose.th.jpg) (http://img510.imageshack.us/i/cpccclose.jpg/)


Should anyone wish to make one the latest version of the PCB layout can be found among the
project pages of my web-site (see link in sig) along with more detail.


I hope this proves useful to someone...
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 21:22, 27 January 11
P.S.
If you don't like / want S-Video the output header has Composite Video too!
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 22:10, 27 January 11
Hi Charlie,
       as previously suspected, the AD 724 seems to produce a better picture than the older MC 1377 and the MC 1377 is also getting difficult to source these days, so I wouldn't consider your circuit as an alternative, rather a modern and upgraded version of mine. As soon as I can get my hands on an AD 724 I'll be making one of these to replace my RGB to Composite circuit :)

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 10:04, 28 January 11
 :)
The board layout is 'published' as a .pdf ready for printing. I'm afraid I made this one in ExpressPCB but if the original file is of any use to you..?
I can imagine some of my choices over the layout (not very experienced) may not be ideal. (Or maybe a fully SMT version?)
Title: Re: RGB to S-Video Adaptor
Post by: arnoldemu on 10:42, 28 January 11
Quote from: Charlie on 21:20, 27 January 11
Of course Bryce has already made such a board for the Wiki - I guess the choice for prospective builders will be down to component availability.

I hope this proves useful to someone...
I think any hardware even if it's an alternative design is welcome.

So what plans do you have next?


Title: Re: RGB to S-Video Adaptor
Post by: redbox on 10:59, 28 January 11
That's pretty rocking, thanks for posting the photos.


I was wondering if it would be possible to steal components from a broken GX4000[nb]not that I have one, of course  ;) [/nb] to make a better one of these boards?
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 11:53, 28 January 11
@Redbox: The circuit used to create the video signals in the GX4000 is much more complicated than the AD724 design and uses a CXA1145 (also obsolete these days). It would be possible, but not very practical. The AD 724 circuit is a very clean and simple design that gives a great result. What more could you want?

@Charlie: Thanks for the offer, but I'll probably just do my own layout, due to it's size it shouldn't take more than a half hour or so. Your layout may not be "ideal", but it doesn't seem to have any mistakes that would be detremental to the signal quality or anything though, so if anybody does intend using it, it should be fine. I will probably go for complete SMD design, so that I can put it inside my V2V :)

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: redbox on 12:11, 28 January 11
Quote from: Bryce on 11:53, 28 January 11
The AD 724 circuit is a very clean and simple design that gives a great result. What more could you want?

So is using this circuit means it much more likely to work with newer LCD TVs than by just using a straight SCART lead like this one on eBay (http://cgi.ebay.co.uk/AMSTRAD-464-6128-Plus-Scart-TV-Connection-Kit-/260724777223?pt=UK_VintageComputing_RL&hash=item3cb4686107)?
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 12:42, 28 January 11
Yes, a true composite signal (as this circuit delivers) is guaranteed to work on any LCD / Plasma TV. The SCART cable will have problems on some modern TVs depending on how strict the TV manufacturer adhered to the SCART protocol.

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 15:40, 28 January 11
Thanks for the kind words chaps. :)


The next thing I have in development is a (hopefully) universal PS2->Quadrature mouse adaptor - possibly not much use for CPC's though...


It's quite possible this is already well-known to everyone here but me. The connections for the RGB port on the back of the 6128's PCB weren't as obvious as I expected...


Here's what I doped-out:

(http://img593.imageshack.us/img593/2651/cpc6128rgbpower.th.jpg) (http://img593.imageshack.us/i/cpc6128rgbpower.jpg/)


In case it's of some use to others.
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 15:58, 28 January 11
Hi Charlie,
           I don't know what the interface to the Quadrature is for your mouse project, but I have done a CPC PS/2 Mouse adapter that can also take USB mice and auto-detects what type of mouse is connected, if this is any use to you (it may be simple to adapt to the Quadrature?) then let me know (send me a PM) and I can give you some more info. You can check out the details here: http://www.cpcwiki.eu/index.php/PS2Mouse (http://www.cpcwiki.eu/index.php/PS2Mouse)

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: redbox on 19:47, 28 January 11
Quote from: Bryce on 15:58, 28 January 11
http://www.cpcwiki.eu/index.php/PS2Mouse (http://www.cpcwiki.eu/index.php/PS2Mouse)

Not only is this a great project, it's also a superb wiki page too  :)
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 12:17, 29 January 11
Yes, I have a fairly ambitious road-map of mods for my 6128 - Bryce's projects are pretty high on the list of plans...


...as an aside does anyone know if Yarek is still taking orders to do his 4Mb upgrade? May be safer for my CPC in the hands of a more expert person than me.


So here's my first CPC mod:
(http://img822.imageshack.us/img822/9366/cpcfirstmod.jpg)


The hole for the 12v cable seemed like a good / solid place to mount the S-Video connector...
...my CPC won't have a 3" drive for long so the cable will be redundant shortly. I can always replace the 5v socket with a 3-pole socket for 5+12v if I change my mind.


It's not as 'pretty' as I'd like, but nice 'n strong - if the S-Video standard does have a failing it's how stiff the connection has to be to work: Puts a lot of strain on surrounding plastic.
If I get fed up looking @ this bodge I'll properly build up the plastic on the inside for internal / factory look. Maybe a composite connector would be easier, but possibly @ the cost of ultimate quality. 


P.S.
I seem to be getting a little power-rail type interference. Really only noticeable with very large blocks of colour...
...I wonder if bridging the power rails with a nice meaty electrolytic cap +/- a tantalum one) would  help..?
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 13:20, 29 January 11
If you haven't done it already, then stick a 100µf electrolytic capacitor across the 5V where they connect to the board and a 100nf ceramic capacitor across the power pins of the AD 724 as close as possible to the IC. If this doesn't resolve the problem, then it's not a power rail issue, it's the typical refresh ripple that tends to mess up the picture when you convert RGB to composite (much worse on the MC1377) and there's not a lot you can do about it :(

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 22:20, 31 January 11
Thanks for that...
...220uF cap across the motherboard power rails (I didn't have a spare 100uF to hand) and all fringing has gone!


I'd swear the output is now 'cleaner' than my BBC Master attached to the same TV via SCART.


The Mk2 is nearly ready - even smaller and more neatly laid out + one fewer caps. (I'll need to test output quality before release)
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 23:20, 31 January 11
Good to hear it worked out, 220µf is fine too, but for the final design I'd stick with 100µf (also because it's physically smaller too). Now I'm really eager to get my hands on an AD 724 but I've only found one supplier here and they want almost 15€ for one!! How much do they cost in the UK?

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: ultrasyd on 18:57, 11 February 11
Hello guys,
I've been lurking on CPC Wiki for quite a long time, but now i think it's time to register : ) Thank you for all the amazing projects and new developments, that's great. Sadly, this is not easy for a newbie like me, for anything concerning electronics.
I've been looking for a device that would permit to hook up my CPC with a very small LCD TV with composite video.
I saw the Bryce's LCD and Plasma TV solution, and now this thread, and it's very interesting. A little box powered by the cpc and able to send S-Video or cinch connector would be perfect.
I'm wondering if any of you can offer to build such a device ? Yes, no, maybe ? It would be very useful to me, as i fear that starting such a project is far beyond my capacities, not only due to lack of time : )
Thank you for your answer, and keep up the good job.
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 13:00, 12 February 11
Hello ultrasyd,
I hope you enjoy your time here - I'm pretty new to the CPCWiki and have to say I've been made to feel most welcome.


Thoughts on home-made projects:


For myself (like you) life is very busy, I would hate to offer to construct stuff only to let people down. A recipe for making myself very unpopular - sorry.


On a more positive front I'm in no way a hardware guy (more of a butcher) and my soldering is frankly pretty poor. I've got as far as I have because of my sad obsession with 32bit Acorns - if I don't make it myself it probably won't happen.
So armed with that necessity + Youtube + some cheap/rubbish equipment I went and took the plunge...
-El-Cheapo soldering iron + lead-solder + FLUX PEN(s) (+ hobbyists heat tool*)
-Practice soldering with some old PC stuff
Then
-Get some Press 'n Peel + 'Copper-clad PCB boards' + Ferric chloride granules + Acetone + steel wool + access to a laser printer + some designs + small drill + carbide drill bits
You'll have everything you need to make your own boards from scratch - it really isn't hard!


(Almost) everything you need can be found on eBay and if you're stuck I can point you in the direction of a few other useful sites.


*optional for SMT stuff: A bit like a small, very hot, hair-dryer. £10.00 for one or £450.00 for a proper SMT rework station? Hmm... let me think about that one!


PS
The above list is the bare (cheap) minimum - a good soldering iron is a big help & DON'T FORGET TO GET SOME FLUX!


PPS
I tend to make PCBs in batches when 'her indoors' is out of the house. (nasty stuff ferric chloride)  Having practised a bit give me a PM - I have a spare PCB for this project, drilled & ready for components, if you like.


PPPS
Might I invite you to take a look @ the projects on 'my' website (see sig)? Once past my odd literary style see what can be done, even if like me, you're pretty clueless. There's a couple of 'how-too's' in there.


All the best,
Title: Re: RGB to S-Video Adaptor
Post by: ultrasyd on 13:22, 12 February 11
Thank you for your answer Charlie ; ) I sent you a PM.
I can do little soldering and follow basic schematics but making PCB is really impossible for me... well, nothing is really impossible i know : ) But that would mean learn all the basics and buy tools, and let down many projects i've got to finish first.
It would be great if you could provide the PCB !

I'm going to check all the things you said for making boards... maybe i could give a try someday. I really feel like you can do everything when you can deal with electronics.

Going to check your website now !
Title: Re: RGB to S-Video Adaptor
Post by: robcfg on 13:47, 12 February 11
Hey Charlie,


Your are not the only one obsessed with 32-bit Acorn machines  ;)


I have an Archimedes A3010, an A3020, a A7000+ and a 233Mhz StrongArm RiscPC.


Feel free to send me a PM or start a post in the Other Retro thread for some Acorn chat.
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 13:56, 13 February 11
Ah, that's a nice collection of Arc's...
...will start a thread. :)

Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 13:40, 27 February 11
Hi all,
      I've built an AD724 based converter too now (thanks to Charlies kind IC donation) and I can confirm that the picture quality is 1000 times better than the MC1377 based solution. No ripples, flickers or other artifacts to be seen, mode 2 is perfectly clear and readable and even dithered colours don't have that funny rippling seen on the MC1377 converter. I went for an almost complete SMD layout, just cos I happened to have the parts here, other than the sockets and the crystal. If anyone wants the layout files let me know.

@Charlie: Do you intend doing a Wiki page for the converter? If so I will add the layout there when it's done.

Bryce.

Here's what mine looks like:
Title: Re: RGB to S-Video Adaptor
Post by: Gryzor on 18:45, 27 February 11
Man, you should start a regular production line with subscription packages for us punters :D
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 19:33, 27 February 11
If only I had the time. If I win the Lottery and quit my job, I'll let you know...

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: Gryzor on 19:36, 27 February 11
Cool, I'll just have to wait some then.
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 22:05, 27 February 11
This is where the S-video PCB is now installed. I've been meaning to make this for ages, I just never had the time. It gets rid of the clutter on my desk and has everything I need in one small neat box :) My CPCs and other 8-Bits are always powered from a single PC PSU anyway, so it made sense to put it all in one box. Bryce = Happy.

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: redbox on 22:08, 27 February 11
Quote from: Bryce on 22:05, 27 February 11
everything I need in one small neat box

That's mega.  :)

You forgot the Max Headroom transfer on the top of the box though.
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 22:10, 27 February 11
Hmmm, true, I'll have to add that later.

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 01:05, 28 February 11
Hi Bryce.
Your's looks so much prettier than mine - d*mn you!  8)
Neat box too...


I'm glad you're pleased with the quality of the output from this chip. Having never seen the output from a MC1377 I wasn't sure if it would be a worthwhile improvement.
I'd be happy to do a Wiki page - I've not as yet looked in to this side of the site yet, can they have multiple author's / editors? I'm thinking of the two versions we've done.
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 09:05, 28 February 11
The Wiki pages are freely editable by everyone, there's no specified Author for a page, so anyone can log on and add to a page. If you like I can create the initial page and format and you can add your information to it. It's all pretty much plain text, you don't need any programming knowledge (even I managed to do it :D )

Sorry for making mine "prettier" :D Probably just practice, the main thing is that it works! And believe me, it's so much better than the MC1377 version.

Bryce.

Edit: I've started a wiki page here: http://www.cpcwiki.eu/index.php/RGB_SVideo (http://www.cpcwiki.eu/index.php/RGB_SVideo) which is listed in the DIY & Repair index and linked to from the MC1377 page too. Add all the pictures and info you have here, I'll add my layouts and schematic later too.
Title: Re: RGB to S-Video Adaptor
Post by: MacDeath on 03:06, 01 March 11
QuoteSo here's my first CPC mod:
(http://img822.imageshack.us/img822/9366/cpcfirstmod.jpg)
Classy as hell... ::)
Good Job.

12V is a bit useless if your moded CPC includes a 5V built-in 3"1/2 Disk Drive to replace the 3"...
But you can also perhaps use a DiskDrive emulator card or a 6128 PLUS 5V disk Drive...


So I suppose when you use this on a moden LCD TV... is is better to get one in 4/3... but those are already obsolete.

when I went to RetroMadrid 2010 I was horrified to see all those old Machines conected to 16/9 monitors and get a natural Mode0 display...
And really old 8 bits were terribadly stretched even more...

I mean, Metal slug on a NeoGeo in stretched16/9 is a bit "ouch my eyes", but a C64 using natively Mode0 like display (160x200...) is even worst.

That's why when some of my friend actually have an old 4/3 flat monitor or even better, a 4/3 flat TV... I ask them to never sell them to anyone but me... (garbage is not even an option !)
Because my 2xAtariSTE, Amiga500, shittons of Amstrads need this !


The coolitude of CPC is that Monitors are "cheap" and easy to find... and still work perfectly.

But Flat Modern LCD screens are somewhat easier to carry into Parties or conventions... or are simply Desktop/eyes frriendly.

So have you tried your system on a 16/9 screen ?
Have you seen some difference between TV or Monitors ?

I suppose it is then better to use a TV as many of those have the possibility to resize to display a "square" 4/3 on the 16/9 by adding vertical borders... Monitors rarely...

Also what about the border ?
It may vary from CPC to CPC monitors (and even depending wheter your Monitor is hot or cold).


Also what about the "shadow" we can see on the letters ?
well, not that it is not kool actually...
Can you show us games screenshoots too ?



A kool thing could be to cannibalize an already Dead GX4000...
Title: Re: RGB to S-Video Adaptor
Post by: Bryce on 09:25, 01 March 11
Hi MacDeath,
        I use mine on a 4:3 LCD PC monitor using a V2V to convert the S-Video into VGA. The V2V (and most TVs) can set the screen to 4:3 on a 16:9 screen, leaving black space left and right, so the aspect never has to be wrong/stretched. Regarding the "variable border / position problem" that CPC monitors sometimes have: This doesn't happen on an LCD because the flyback is being automatically controlled (on the CPC monitor it was very much analogue and not being controlled at all), you can test this on Prehistorik II at the initial setup, where it asks you to centre the screen, but no matter where you adjust it to, the LCD screen Auto-centres itself, so you can't get it wrong.

Bryce.
Title: Re: RGB to S-Video Adaptor
Post by: Charlie on 21:28, 01 March 11
@Bryce:
Wow, that's quick off the mark with the Wiki page! :D
Thank's for making a start, I'll fill in my bits shortly...


@MacDeath:
Yes, my CPC's new S-Video port is a bit of a bodge - the result of impatience.
The RGB->S-Video board was one of many projects I have that come under the heading of 'some day I'll get round to finishing it...'.* It got rapid promotion as the result of my having bought a CPC but no viable connection to a monitor. (my only telly with a SCART input didn't like the 6128) Now I can actually use it...
...well, as soon as it's got a 3.5" drive - I have no 3" discs and the old '464 tapes I have seem to be suffering from bit-rot. I'll gladly show some proper screen shots as soon as I have some means of loading software.


Like Bryce says there's no set-up - plug in and go... A converter box to the VGA of a monitor does fine, and manually setting wide-screen tellys to 4:3 will sort the aspect ratio issue there.


Interestingly my wide-screen LCD telly needs no set up - it has a fancy stretch mode to fill the screen when faced with a 4:3 signal...
...think of a graph with a wide U plotted on it: x=the screen position y=the degree of stretching - the idea is to allow 4:3 TV to fill the whole thing while keeping the centre aspect ratio correct - for all my retro systems that display a border this pretty well results in stretching just the border and leaving the display alone.


Shadowing under the letters?
Ah, that means my memory is failing. I vaguely (mis)remembered my '464 doing that with a 'proper' Amstrad colour monitor so assumed it was 'normal'...
...funnily enough when tested on a BBC Master and the VGA out of a PC no such shadowing appeared.


*the x86 Oric Atmos awaits the soul-sappingly tedious need to rewire it's keyboard - been putting it off for 6 months.
*the x86 Mac SE awaits a new supply of brave pills - the plastic needs re-profiling to fit the wee colour LCD. One shot: Get it wrong and the project's junk.
*the list goes on and on...

Title: Re: RGB to S-Video Adaptor
Post by: MacDeath on 16:16, 02 March 11
QuoteI have no 3" discs and the old '464 tapes I have seem to be suffering from bit-rot.
you can still use the Tape-drive plug to put a MP3 or Ipod to load games/stuffs...
Powered by SMFPacks Menu Editor Mod