The timing is fortuitous, as I am in the process of ordering more RoboPi and other boards, so I plan to make about 10 VGA boards for my uses (I have 7 B+'s so far). I could easily have many more made, however I won't know the costs until I know how many I'll need to make.

I am based in Canada, and can ship fairly cheaply to the US and Canada in case anyone is interested, however shipping is too high to UK/EU for small orders. Fortunately it sounds like Gert may have a UK supplier lined up.

It is still great for many uses. I was very happy to see the announcement, I have ~15 nice new 7" VGA LCD screens without DVI or hdmi sitting in their original packaging that this will be perfect for making small HMI's monitoring test gear in my lab. I'll just plug a USB-serial converter in to feed data to the B+

Is there an accessible dot clock and display enable on the GPIO header, to allow driving LCD panels?

p.s.

I'm about half done wiring up a prototype for playing with!

jamesh wrote:AIUI, the adapter needs all those GPIO's and the DPI pins cannot be moved.

jamesh wrote:AIUI, the adapter needs all those GPIO's and the DPI pins cannot be moved.

I was wondering about using 'unused pins', especially if going from 3 x 6-R DACs to just 3 x 1-R DACs catering for 8 colour mode. I guess it all depends on whether the SoC switches the GPIO en masse for DPI usage or not.

It's a very welcome addition and well done to Gert and anyone else who had a hand in it.

I was also wondering if it were possible to use the same / similar to build a composite video output using the same tricks. That could be monochrome only but still useful as it could be used alongside HDMI.

Does the 'driver' run in the GPU ? And/or will that be open-sourced for people who want to experiment / attempt such things ?

git clone the repo, and look at the PDF docs... my read indicates that you can run it with as few as five GPIO's in an eight color mode, 8 GPIO's for a 64 color mode (sounds familiar?) etc all the way up to the 20 pin / 18 bit color mode on Gert's board.

The repo only had binary blobs, the GPL seems to refer to the Cadence schematics/layout/docs.

The biggest limitation seems to be the required specific pins, especially as the I2C interface is used for HSync/VSync.

hippy wrote:

jamesh wrote:AIUI, the adapter needs all those GPIO's and the DPI pins cannot be moved.

I was wondering about using 'unused pins', especially if going from 3 x 6-R DACs to just 3 x 1-R DACs catering for 8 colour mode. I guess it all depends on whether the SoC switches the GPIO en masse for DPI usage or not.

It's a very welcome addition and well done to Gert and anyone else who had a hand in it.

I was also wondering if it were possible to use the same / similar to build a composite video output using the same tricks. That could be monochrome only but still useful as it could be used alongside HDMI.

Does the 'driver' run in the GPU ? And/or will that be open-sourced for people who want to experiment / attempt such things ?

mikronauts wrote:git clone the repo, and look at the PDF docs... my read indicates that you can run it with as few as five GPIO's in an eight color mode, 8 GPIO's for a 64 color mode (sounds familiar?) etc all the way up to the 20 pin / 18 bit color mode on Gert's board.

Thanks; I'd already done that ( well, downloaded the .zip on my desktop PC ). It wasn't clear if using the 5 GPIO pin setup all 2-22 GPIO pins would still be allocated for DPI use or would become free for other use. That is, 5 GPIO only saved resistors, not gave unused GPIO back.

Can I reduce the number of GPIO pins it uses?
Yes. You can drop the LS colours bits of each channel which will free up more GPIO pins but the
picture quality will get worse as you lose more colours. If you use less resistors you also have to adapt
the values. (See section: Calculations).

I am hoping that is correct as I could see lower color depth modes being very useful due to more I/O being left.

hippy wrote:

mikronauts wrote:git clone the repo, and look at the PDF docs... my read indicates that you can run it with as few as five GPIO's in an eight color mode, 8 GPIO's for a 64 color mode (sounds familiar?) etc all the way up to the 20 pin / 18 bit color mode on Gert's board.

Thanks; I'd already done that ( well, downloaded the .zip on my desktop PC ). It wasn't clear if using the 5 GPIO pin setup all 2-22 GPIO pins would still be allocated for DPI use or would become free for other use. That is, 5 GPIO only saved resistors, not gave unused GPIO back.

At least shipping will be cheap, I can use regular letter mail within Canada for pcb's.

I'll need to order at least 100 to get a decent price on the boards... so 100-(7+2)... 91 to go!

As long as I get confirmation for at least 50 I'll order the 100 boards, I figure that I can flog them over time.

I should have my hand-wired prototype of Gert's circuit running tomorrow, I've soldered the connector and added all the resistors. I need to go back and verify everything, then I'll solder all those resistors (I used 26 instead of 20, to get closer to ideal values), then add one of my VGA mini-modules (minus resistors) that I originally made for the Propeller. I'll post a pic when it is done, and probably blog about it on my site.

Can't wait to test it with my 7" VGA OEM modules, I'll spruce up my workstations with some nice home made instrumentation.

geemac2000 wrote:Hey Mikronauts I was hoping somebody would get some pcb's going . I would like 2 if you do decide to go ahead with the order. I'm also based in Canada.

Can I reduce the number of GPIO pins it uses?
Yes. You can drop the LS colours bits of each channel which will free up more GPIO pins but the picture quality will get worse as you lose more colours. If you use less resistors you also have to adapt the values. (See section: Calculations).

I am hoping that is correct as I could see lower color depth modes being very useful due to more I/O being left.

Same here; let's hope "free up more GPIO" means what we believe it does.

It also seems it may be possible to use the same scheme to deliver VGA for the A and B models using just the 26-way headers if prepared to be limited to 1024 colour VGA. Having unrouted GPIO pins is no longer a problem if not used.

It might require some interface layer to change colour wanted to what is needed in the frame buffer and then streamed out via DPI but that should overcome having most significant bit colour signals on unrouted GPIO pins and therefore not available. I couldn't find any documentation on using DPI so don't know if it is actually possible or not. I would have expected it was.

hippy wrote:It also seems it may be possible to use the same scheme to deliver VGA for the A and B models using just the 26-way headers if prepared to be limited to 1024 colour VGA. Having unrouted GPIO pins is no longer a problem if not used.

I think I just read somewhere that the most significant bits map to GPIO not accessible on A/B, so you can't run this on those models.

On Model A/B Rev1, GPIO2/3 (V/H sync) are only available on the camera connector, and on Rev2 GPIO21 (red7) is. So even 8 colour mode is difficult to wire. GPIO20 (red6) is completely missing.

With specially constructed framebuffer data though (or palletted 8bit?), I see nothing to stop you using less significant bits instead. That would allow 64 colours (2+2+2) on a Rev2 without any wiring issues, or possibly 4096 colours (4+4+4) with board modification to steal GPIO16 from the ACT LED.

It is still great for many uses. I was very happy to see the announcement, I have ~15 nice new 7" VGA LCD screens without DVI or hdmi sitting in their original packaging that this will be perfect for making small HMI's monitoring test gear in my lab. I'll just plug a USB-serial converter in to feed data to the B+

Is there an accessible dot clock and display enable on the GPIO header, to allow driving LCD panels?

p.s.

I'm about half done wiring up a prototype for playing with!

jamesh wrote:AIUI, the adapter needs all those GPIO's and the DPI pins cannot be moved.

Is there an accessible dot clock and display enable on the GPIO header, to allow driving LCD panels?

Yes! (ut you loose two more GPIO pins) GPIO0 is the pixel clock, GPIO1 is the enable.
But there are officially reserved for HAT EEPROMS.

Can I request driver support for the PCLK and DE? It would allow using bare LCD panels in addition to VGA mode, and I have several applications in mind where I willingly use up all those GPIO and HAT compatibility for a nice cheap 7" bare panel!

It should not affect sales of the nice DSI panels the Foundation is about to launch because for the vast majority of applications I (and others) would prefer to not use all those GPIO's.

jdb wrote:GPIO0 and 1 are PCLK and DE (which conflicts with the HAT ID pins, if you're thinking of turning an adapter board into a HAT).

This is great, it means as long as I don't need "HAT" status and don't mind losing the I/O, I should be able to drive raw LCD panels. (with a bit of additional binary driver blob support, or eventual open-source driver (I can dream))

The B+ has just become a viable option for many more applications for me, ditto for the CM.

Regarding the reserved I2C port...

if I understand correctly, it became reserved to avoid potential issues during the boot process, so with some care, using it for PCLK & DE after boot should not be an issue. The "garbage" that the LCD would see on those lines during boot could be avoided by gating the signals so they only get to the LCD after boot.

Gert van Loo wrote:

Is there an accessible dot clock and display enable on the GPIO header, to allow driving LCD panels?

Yes! (ut you loose two more GPIO pins) GPIO0 is the pixel clock, GPIO1 is the enable.
But there are officially reserved for HAT EEPROMS.

I am not intending to make a profit on Gert's gerbers, but I do need to make sure I don't lose money.

Assuming I order at least 100pcb's made from Gert's gerbers, I'd have to sell the bare PCB's for somewhere between $2-$3 each (so I don't actually lose money, and shipping for up to 10 boards would be approx. $6 to Canada and USA (NOT insured, your risk, not trackable, includes my packaging cost) using letter mail within Canada, and "Light Packet USA" to the states. Tracked/insured is much more expensive.

For those of you outside of US/Canada, shipping would be a lot more... sorry, CanadaPost has gone nuts on pricing this year, especially on anything that is insured and/or trackable, which has really hurt my low quantity sales.

They are even slapping a $10 "handling" fee on incoming shipments for collecting the 12% of GST+PST (VAT equivalent), I ended up paying $38USPS for shipping, plus $36 (GST+PST+"handling" when I received it on my recent Compute Dev Kit purchase (from the US)! (UPS/FedEx express charge $14 handling) After a certain volume, it is possible to get the taxes back, but not the handling fee.

To get a reasonable per pcb shipping cost outside of US/Canada, a group buy would be needed. You can look up shipping costs to your location at http://canadapost.ca, use postal code "V3A 6J2" for the "from" clocation. I use 6.5"x4.5"x(1"...3") boxes. I suspect EU/UK orders will only make sense at 25+ pcb's, I will add $2 to cover shipping materials etc. If a lot of people commit to 25+ boards, I will make a larger than 100pcb order.

Web shops are welcome to order Gert's gerber boards on this basis from me as well.

If people want, I can add $1 to the price of each board, to be paid to Gert or the Raspberry Pi Foundation.

Last edited by mikronauts on Thu Sep 11, 2014 5:14 pm, edited 1 time in total.