Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: The ultimate VGA to SCART adapter  (Read 3728 times)

0 Members and 1 Guest are viewing this topic.

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
The ultimate VGA to SCART adapter
« on: August 13, 2019, 08:35:25 pm »
I have published here an enhanced version of my previous VGA to SCART adapter. Unlike the previous version, the new adapter does not require any external power source nor DC-DC converter to generate the 12V of the SCART status signal thanks to Visenri's indications. Also, the transistors employed to generate the RGB selection signal in the previous version are no longer needed. The adapter has the following pros:

  • It's cheap thanks to the unexpensive PIC16F18313.
  • It automatically detects the polarity of the input VGA sync signals and configures the configurable logic cells (CLC) of the PIC dynamically to generate the SCART composite sync signal correctly.
  • The PIC monitors the input signal and set the composite sync to ground if the frequency of the horizontal sync signal is wrong or if the vertical sync signal does not change. This is useful if you are using it to generate the Csync signal of a very old arcade monitor to protect it. Also, if any of the input sync signal is wrong then the PIC disables the the SCART RGB selection signal and the SCART status signal.
  • Most VGA devices can provide enough power to the PIC so no external power source is required.
  • No external power source nor DC-DC converter is required to generate the 12V of the SCART status signal. It can be generated by the PIC itself as noted by Visenri.
  • Optional aspect ratio selection (16:9 or 4:3).
  • Optional LEDs  to test the power and input sync signals.
  • Optional power source selection.
  • The basic circuit only requires the PIC and a pair of resistors and capacitors.
  • The full circuit fits in a (big) DE-15 enclosure using a single sided PCB and easy to solder through-hole components.



« Last Edit: August 13, 2019, 08:41:59 pm by gambaman »

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1029
  • Last login:Today at 08:02:28 pm
  • Is running at 15kHz
Re: The ultimate VGA to SCART adapter
« Reply #1 on: August 13, 2019, 10:06:45 pm »
Good stuff, i love building stuff like this so i'll give it a look.

And the more i look the more i like it. Very neat. And i like that you've included parts sourcing from reasonable places :)

I notice you've got a cable gland on the end of the DE-15 housing. Do you know where it came from?
« Last Edit: August 13, 2019, 10:28:04 pm by buttersoft »

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #2 on: August 14, 2019, 12:45:47 pm »
I notice you've got a cable gland on the end of the DE-15 housing. Do you know where it came from?

The SCART-SCART cable I employed for that prototype was very short. So, instead of cutting it into halves, I removed one of the male SCART connectors and used its gland for my DE-15. A better alternative is to cut a longer cable into halves. In that way you can use an only cable to make two adapters (one with each half).

Mr. Peabody

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 810
  • Last login:November 05, 2019, 02:30:42 pm
Re: The ultimate VGA to SCART adapter
« Reply #3 on: August 20, 2019, 02:09:22 am »
Is there supposed to be audio in the video?.....

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #4 on: August 20, 2019, 10:08:55 am »
Is there supposed to be audio in the video?.....

I removed most of it. Only the corresponding to the sound test (minute 5 more or less) is left. I used to think I had the voice of James Earl Jones till I recorded it :(.

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #5 on: August 30, 2019, 05:44:01 pm »
Good stuff, i love building stuff like this so i'll give it a look.

I'm sorry if you already got the previous version of the PCB (labeled 1.2). I have realized that the DE-15 was hard to fit because its footprint was wrong  :embarassed:. I have just published a fixed version (labeled 1.4), but I haven't tested it yet.  I have ordered a few PCBs of the new version. I will test them and tell you the results as soon as possible.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1029
  • Last login:Today at 08:02:28 pm
  • Is running at 15kHz
Re: The ultimate VGA to SCART adapter
« Reply #6 on: September 01, 2019, 08:44:08 pm »
Hah, no, i didn't order (yet). TBH i have like 6 projects on the go - encoders, SFC mods, CRT repair - and i don't strictly need a scart adapter. I'll get around to it eventually.

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #7 on: November 04, 2019, 01:55:32 pm »
I have uploaded a new version of the PCB (labeled 1.6) with the correct DE-15 footprint and the common ground connections. I have tested it and it works.

renatopdalencar

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:March 10, 2020, 01:01:06 am
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #8 on: November 15, 2019, 04:42:35 pm »
I have no skills with soldering and stuff like that whatsoever. Is there any way to buy this cable (I live in Brazil)?

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #9 on: November 18, 2019, 10:38:44 am »
I have no skills with soldering and stuff like that whatsoever. Is there any way to buy this cable (I live in Brazil)?

As far as I know, nobody is selling the adapter. You can make a request to a brazilian arcade shop (for example https://www.arcadebr.com.br/). Since the design is "libre", they can make and sell the adapter at will.

P.D: Is the SCART connector usual in Brazil?

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #10 on: December 30, 2019, 11:53:36 am »

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1264
  • Last login:Today at 05:26:28 am
  • retro maniac
Re: The ultimate VGA to SCART adapter
« Reply #11 on: December 31, 2019, 04:36:37 am »
Great stuff :)

I'm also interested in 2 cables but production will be in Spain. Can add to list even if I live in Poland ?

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #12 on: January 04, 2020, 05:14:11 pm »
Great stuff :)

I'm also interested in 2 cables but production will be in Spain. Can add to list even if I live in Poland ?

You can ask the guy who is selling the adapter. Just send him an e-mail with the subject "ultimate vga" at rgbux666@gmail.com.

haynor666

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1264
  • Last login:Today at 05:26:28 am
  • retro maniac
Re: The ultimate VGA to SCART adapter
« Reply #13 on: January 29, 2020, 01:44:12 pm »
I'm interested and I've already wrote e-mail to You.

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #14 on: January 29, 2020, 06:47:23 pm »
Great, haynor666. But that e-mail address it not mine. Did he respond you? As long as I know, he is still waiting for components.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1029
  • Last login:Today at 08:02:28 pm
  • Is running at 15kHz
Re: The ultimate VGA to SCART adapter
« Reply #15 on: April 23, 2020, 07:01:54 am »
Hey gambaman, i'm thinking of giving this a go, or at least planning to, but the stencil file for boring the VGA h9ousing is not recognised by any of the fabs i normally use. It needs an outline. Any chance you could update it to have one? Or suggest an alternate method or something?

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #16 on: April 23, 2020, 06:36:19 pm »
Hey gambaman, i'm thinking of giving this a go, or at least planning to, but the stencil file for boring the VGA h9ousing is not recognised by any of the fabs i normally use. It needs an outline. Any chance you could update it to have one? Or suggest an alternate method or something?

It is because of the oval holes, right? I had problems with that. You have several alternatives:
-You can order the PCB at https://jlcpcb.com/. I ordered them there.
-I can change the footprint if you want.
-You can download the KiCad files from https://cdn.hackaday.io/files/1656347086485056/KiCad_ultimateVGA2SCART.zip and change the footprint.
-There is a guy who was selling DIY kits with all the componentes, including PCB and preprogramed PIC. You can e-mail him at rgbux666@gmail.com with the subject "ultimate vga". I don't know if he is still selling them, anyway.

Please, tell me your impressions.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1029
  • Last login:Today at 08:02:28 pm
  • Is running at 15kHz
Re: The ultimate VGA to SCART adapter
« Reply #17 on: April 23, 2020, 09:27:46 pm »
I should have been clearer. The main circuit board itself is fine. It's the second dummy PCB to help cut the housing. If you put that into JLCPCB or OSHpark it fails. This is the "ayuda_corte_carcasa-job.gbrjob" file. I cannot dump that directly onto JLCPCB, and if i archive it into a .zip file, it fails to find an outline. I cannot get the raw file to show up in a gerber viewer either, i cannot see it's size and shape at all using that file.

Is there anything i should be doing? I'd love to be able to order the Dummy PCB as well!

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #18 on: April 24, 2020, 02:31:17 pm »
I should have been clearer. The main circuit board itself is fine. It's the second dummy PCB to help cut the housing. If you put that into JLCPCB or OSHpark it fails. This is the "ayuda_corte_carcasa-job.gbrjob" file. I cannot dump that directly onto JLCPCB, and if i archive it into a .zip file, it fails to find an outline. I cannot get the raw file to show up in a gerber viewer either, i cannot see it's size and shape at all using that file.

Is there anything i should be doing? I'd love to be able to order the Dummy PCB as well!

Sorry for the misunderstanding. I thought the problem was the "real" PCB. In the .zip file I linked you will find a KiCad file called "ayuda_corte_carcasa.pro". Can you use it to generate your own gerber file?

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1029
  • Last login:Today at 08:02:28 pm
  • Is running at 15kHz
Re: The ultimate VGA to SCART adapter
« Reply #19 on: April 25, 2020, 01:23:39 am »
Hah, no i don't think so. I'm only using EasyEDA online PCB designer, i do not have kicad or anything else :(

gambaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 30
  • Last login:April 25, 2020, 03:41:54 pm
  • I want to build my own arcade controls!
Re: The ultimate VGA to SCART adapter
« Reply #20 on: April 25, 2020, 03:17:23 pm »
Hah, no i don't think so. I'm only using EasyEDA online PCB designer, i do not have kicad or anything else :(

You can also use EasyEDA. Just do the following:

-Extract the files "ayuda_corte_carcasa.pro" and "ayuda_corte_carcasa.kicad_pcb" from the previously linked zip file.
-Create a new zip with the files you extracted.
-Go to the EasyEDA menu and select document->Open->Kicad
-Select the zip file you have just created.

P.D: KiCad is libre and free. You can download it from https://www.kicad-pcb.org/

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1029
  • Last login:Today at 08:02:28 pm
  • Is running at 15kHz
Re: The ultimate VGA to SCART adapter
« Reply #21 on: April 25, 2020, 08:53:16 pm »
Ahhh, ok thanks! I've had such terrible time trying to import anything into EasyEDA i think i gave up. It's an awesome site, but not great for reverse-engineering anything, if i can use the term that broadly.

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1029
  • Last login:Today at 08:02:28 pm
  • Is running at 15kHz
Re: The ultimate VGA to SCART adapter
« Reply #22 on: Today at 07:52:06 am »
Hi Gambaman, I've been taking a look at your cool adapter, because i'm hoping to cut it down a little - i only need video and would like to keep the LED's. You mention in your first post that all the circuit strictly needs are the PIC, two resistors and two capacitors.

To keep the LED's as well, the components i seem to have left on the board are the PIC, along with R1, R6, R7, C1 and C2. Should there be another resistor, and if so, which one?

Are C1 and C2 just for power/noise filtering?

Thanks!