Page 10 of 27

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Fri Sep 14, 2018 10:58 pm
by Elminster
alienkidmj12 wrote:
Fri Sep 14, 2018 10:16 pm
are you able to give me some advice to those less fortunate to have a complete one and a bit unsure how to proceed with putting these together ?

what do we do with the files for this, what do i we load gerber files into ?

what programmers do we need if any ?

thanks

dave
You send the gerbeds to the people manufacturing the boards. It is a Xilinx CPLD, so you would need one of there programmers. Cheap version available on eBay. Dave covered those fairly in-depth for his ice-t project. https://github.com/hoglet67/AtomBusMon/ ... requisites

I just refer back to that project whenever I program a xlinix, plus my own notes

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Sep 15, 2018 8:50 am
by hoglet
alienkidmj12 wrote:
Fri Sep 14, 2018 10:16 pm
are you able to give me some advice to those less fortunate to have a complete one and a bit unsure how to proceed with putting these together ?

what do we do with the files for this, what do i we load gerber files into ?
The ZIP of gerber files is in the right format to be uploaded to Seed Studio:
https://github.com/hoglet67/RGBtoHDMI/b ... turing.zip
https://www.seeedstudio.com/fusion_pcb.html

I do now have 10 blank "v4" boards (thanks to Revaldinho), which I'm planning to sell for £5.00 each (including UK postage).

I would however like to build one up myself first, just to check they are OK.

I also need to add a BOM (Bill of Materials) to the Wiki.
alienkidmj12 wrote:
Fri Sep 14, 2018 10:16 pm
what programmers do we need if any ?
I use one of these:
https://www.ebay.co.uk/itm/Xilinx-Platf ... 2154533106

Dave

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Sep 15, 2018 11:01 am
by tricky
Like the new Icon, but I also liked the old one :)

Do you think it would take much to be able to stream the raw bits over USB to do video capture?

I realise that there would be no sound and that the data would need packaging to make it playable.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Sep 15, 2018 11:13 am
by marcusjambler
planning to sell for £5.00 each (including UK postage).
Hi Hoglet
Please put me down for 1 pcb

Marcus

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Sep 15, 2018 11:14 am
by hoglet
tricky wrote:
Sat Sep 15, 2018 11:01 am
Do you think it would take much to be able to stream the raw bits over USB to do video capture?
I've no idea how you would do this over USB (from Bare Metal code).

I was thinking you could save the data to RAM (possibly even with some compression) and then write that back to the SD Card.

That would need some bare metal SD Card drivers, which do exist.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Sep 15, 2018 8:01 pm
by alienkidmj12
id like a pcb

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Wed Sep 19, 2018 5:03 pm
by cervaro
I'd be potentially interested in a PCB if a complete item weren't available.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Thu Sep 20, 2018 1:38 am
by IanB
hoglet wrote:
Sat Sep 15, 2018 8:50 am
I do now have 10 blank "v4" boards (thanks to Revaldinho), which I'm planning to sell for £5.00 each (including UK postage).
I'd be interested in at least 1 board, maybe more if there aren't many takers.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Thu Sep 20, 2018 8:43 am
by PhilYoung
I'd appreciate a board if you're starting a list,

Cheers,

Phil Young

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Thu Sep 20, 2018 6:13 pm
by hoglet
OK, I best start a list for the ten bare boards: :D
- BigEd (1)
- Revaldinho(1)
- lcww1 (1)
- IanB (2)
- PhilYoung (1)
- sjo03 (1)
- marcusjambler (1)
- alienkidmj12 (1)
- cervaro (1)

Hope I didn't miss anyone.

Dave

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Sep 23, 2018 11:58 am
by hoglet
I've added a Bill of Materials to the Wiki:
https://github.com/hoglet67/RGBtoHDMI/w ... -Materials

It is not really cost effective to buy the parts for a single board. So ideally one person needs to order the parts for 10 boards and the split these into "kits". The only problem then is when a SMT resistor goes pinging across the room :D

Dave

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Sep 23, 2018 12:04 pm
by Elminster
Had anything be costed up how many of item X we would need orders for to do a manufacture run (I.e. with pick and place)? I know several people have said it is surprisingly cheap/easy to do.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Fri Oct 05, 2018 10:00 pm
by sjo03
I would love to have one or two of the boards if still possible
hoglet wrote:
Thu Sep 20, 2018 6:13 pm
OK, I best start a list for the ten bare boards: :D
- BigEd (1)
- Revaldinho(1)
- marcusjambler (1)
- alienkidmj12 (1)
- lcww1 (1)
- cervaro (1)
- IanB (2)
- PhilYoung (1)

Hope I didn't miss anyone.

Dave

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Oct 06, 2018 7:54 am
by hoglet
Sorry I've been a bit slow on following this up, I've been busy on other things for a couple of weeks.

I have built up one of the new V4 boards and there were no issues (the changes were very minor).
sjo03 wrote:
Fri Oct 05, 2018 10:00 pm
I would love to have one or two of the boards if still possible
I've added you to the list for the last board.

Everyone on the above list should get a PM from me over the weekend.

All the required gerber files are on github, so anyone is free to order 10 of these boards directly from Seeed for about £12. See here for more details:
https://github.com/hoglet67/RGBtoHDMI/w ... anufacture

Dave

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Oct 06, 2018 8:28 am
by Elminster
Is there any exiting difference on the newer version to the ones you sent it before? I.e. if v3 changes are minor but not sure what version you sent out before. My current one has been working perfectly on all the machines I tested it on.

Also is it worth reprogramming the original version with latest code? Seem to have been quite a few changes.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Oct 06, 2018 8:40 am
by danielj
I've just idly pinged in an order to JLC - I think they'll panelise (the dimensions seem to fit - but I await rejection!), so that'll be 30 boards for £8 if they do it. 12-25 days on shipping though... Will post when (if) they appear.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Oct 06, 2018 12:48 pm
by danielj
Being drilled! Seems they're happy to do a 3x1 panel (comes in under 10cm squared). Quite surprised!

d.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Oct 06, 2018 12:57 pm
by Elminster
Always amuses me it takes hours to make them, but then weeks in the post. I assume you will built all 30 :lol: :evil: :wink:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Oct 06, 2018 1:08 pm
by danielj
Unlikely :D. I know what you mean... I'm not in any rush though, so not willing to pay the £18 for them to appear in 4 days flat :)

d.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Oct 06, 2018 10:11 pm
by JudgeBeeb
Elminster wrote:
Sat Oct 06, 2018 12:57 pm
Always anuses me
:shock: :shock: :shock:

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sat Oct 06, 2018 10:46 pm
by Elminster
JudgeBeeb wrote:
Sat Oct 06, 2018 10:11 pm
Elminster wrote:
Sat Oct 06, 2018 12:57 pm
Always anuses me
:shock: :shock: :shock:
The joys of typing on a smart phone, typo corrected.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 07, 2018 11:13 am
by vanekp
I am curious how Labyrinth works with this unit I have one from e-bay and it does odd things if i try to play Labyrinth on a hdmi monitor, as it does some weird things with the screen layout.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 07, 2018 11:30 am
by Elminster
vanekp wrote:
Sun Oct 07, 2018 11:13 am
I am curious how Labyrinth works with this unit I have one from e-bay and it does odd things if i try to play Labyrinth on a hdmi monitor, is it does some weird things with the screen layout.
You have one of Hoglet’s acorn RGB to raspberry pi interfaces from eBay?

Assume you are referring to those gbs things, I never good get as good a picture dialled in in one of them as Hoglet device. The gbs went in the bin.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 07, 2018 11:54 am
by vanekp

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 07, 2018 1:40 pm
by Elminster
vanekp wrote:
Sun Oct 07, 2018 11:54 am
I got one of these units https://www.ebay.com/itm/SCART-RGB-or-C ... 3808543638
Ah I have one of those as well (well similar, different make’, but use it to convert to vga and then onto a network KVM. What is the issue you are having? and someone can test it.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 07, 2018 1:54 pm
by vanekp
if I run Labyrinth which I think uses a higher frequency to display the mode it keeps re sinking and the picture jumps, which is why I was wondering if the pi zero unit handled that correctly.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 07, 2018 4:39 pm
by hoglet
I've just taken a look at Acornsoft Labyrinth and you are right, the video timings are well off.

It looks like the number of lines is actually 635 rather than the normal 625, giving a refresh rate of 49.2Hz rather than 50Hz.

RGBtoHDMI does seem to cope with this, and the picture is very stable with no jumping or loss of sync.

Dave

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 14, 2018 3:36 pm
by IanB
hoglet wrote:
Sat Oct 06, 2018 7:54 am
Everyone on the above list should get a PM from me over the weekend.
I've built up my boards and managed to get the Pi software to build using the tutorial from the pitubedirect wiki but a tutorial on how to build and program the Xilinx CPLD would be useful.

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 14, 2018 3:50 pm
by hoglet
IanB wrote:
Sun Oct 14, 2018 3:36 pm
I've built up my boards and managed to get the Pi software to build using the tutorial from the pitubedirect wiki but a tutorial on how to build and program the Xilinx CPLD would be useful.
Do you have the Xilinx tools already installed?

What OS are you using?

Dave

Re: RGB to HDMI using a Pi Zero and a small CPLD

Posted: Sun Oct 14, 2018 4:39 pm
by IanB
hoglet wrote:
Sun Oct 14, 2018 3:50 pm
Do you have the Xilinx tools already installed?
No, I'm not sure what version to download
hoglet wrote:
Sun Oct 14, 2018 3:50 pm
What OS are you using?
Windows 7 or 10 (both 64 bit)