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 Try the site in https mode Site News

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

  

Author Topic: Output RPi to analog RGBHV @ 15khz  (Read 5585 times)

0 Members and 1 Guest are viewing this topic.

txgraeme

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:April 05, 2025, 10:41:52 pm
  • I shall build my own arcade controls.
Output RPi to analog RGBHV @ 15khz
« on: September 06, 2016, 11:48:42 pm »
I just wanted to share my experiences using the vga666 adapter to output native 240p video to an analog TV. I am using an older sony profeel with 34 pin microcomputer (RGB) input. The combination seems to work fine if you can manage to align the TV sync and pixel clock issues. The RPi has a strange limit to its lower frequency pixel clock values in that it has to be a value of 19.2 Mhz ÷ n, where 'n' is an integer value. This gives an option for 240-ish lines, but I still haven't got a good one working for 480i resolution.

Hers's my config.txt lines:
Code: [Select]
dtoverlay=vga666
enable_dpi_lcd=1
display_default_lcd=1
dpi_group=2 #2 for custom DMT
dpi_mode=87 #87 is custom timing below
hdmi_timings= 320 1 16 8 72 240 1 8 5 9 0 0 0 60 0 6400000 1  #320x240 CGA monitor for progressive scan

And here's an example of image produced, I hope it helps someone who was looking for a solution that does not involve a scan converter or interlaced video.

nitrogen_widget

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1782
  • Last login:May 23, 2025, 02:30:58 pm
  • I want to build my own arcade controls!
Re: Output RPi to analog RGBHV @ 15khz
« Reply #1 on: September 07, 2016, 03:48:17 pm »
I plan to work on this over the winter.
My goal is to take 240p from RPI and get it into an SDTV via component inputs for a cabinet project.

I've got an extron VGA off ebay for $12 and a SCART-RGB to YpBPr converter.
Should be able to get it working with one or both of those.
I think.

txgraeme

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:April 05, 2025, 10:41:52 pm
  • I shall build my own arcade controls.
Re: Output RPi to analog RGBHV @ 15khz
« Reply #2 on: September 07, 2016, 06:18:19 pm »
I haven't tried to get 15khz into a YpBpR input yet, but am planning to work on that soon for another TV.  I hear that a J-Rok (http://www.jrok.com/hardware/RGBv4/index.html) is a good way to do it as there is no scan conversion taking place, only a colorspace transcoding with sync combiner.  I hear it's similar to RGB in image quality, so should be a good option.

I ordered an extron unit a while back from ebay but it was DOA, wish I had the chance to see what it looked like though.  It's my understanding that the extron is only necessary if you need a scan conversion (VGA 31khz to RGB 15khz), so you could skip that part if you are already getting 240p direct from the RPi.  Eliminating that may help simplify your daisy chain.

nitrogen_widget

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1782
  • Last login:May 23, 2025, 02:30:58 pm
  • I want to build my own arcade controls!
Re: Output RPi to analog RGBHV @ 15khz
« Reply #3 on: September 08, 2016, 04:06:26 pm »
That's correct.
I bought the scan converter before people figured out 240p with the gert board.

I think i just need to read this thread on using SCART to hook my RPI up to the scart to component convertor.
http://forum.arcadecontrols.com/index.php/topic,77370.0.html


elvis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1154
  • Last login:January 13, 2025, 08:48:40 am
  • penguin poker
    • StickFreaks
Re: Output RPi to analog RGBHV @ 15khz
« Reply #4 on: September 17, 2016, 02:18:00 am »
There's a project going on at the moment where someone's got 240p working via a HDMI to VGA converter which is accepting the same modeline from the first post, and passing it along to the RGB out.

http://www.aussiearcade.com/showthread.php/67986-JAMMA-board-from-Raspberry-PI

The project then amplifies the lines as needed and plugs in to a JAMMA connector.  I've got a couple of gert vga666 units, but I'm also keen to try these HDMI to RGB as well as HDMI to YPbPr converters (oddly enough the cheaper the converter, the better, as they tend not to do any scaling at all) and see how they all compare.
« Last Edit: September 17, 2016, 02:57:00 am by elvis »

txgraeme

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:April 05, 2025, 10:41:52 pm
  • I shall build my own arcade controls.
Re: Output RPi to analog RGBHV @ 15khz
« Reply #5 on: September 22, 2016, 11:57:11 am »
Excellent news, thanks for the heads up.  This sounds like a good option, I'm going to look into it further.