VGA: 6pin VGA (save 2 pin); 2pin VGA; 256 color, etc
Cluso99
Posts: 18,069
Thanks to this thread "Monochrome VGA" http://forums.parallax.com/showthread.php?128898-Monochrome-VGA...... and Phil Pilgrim's ideas, I have come up with this circuit.
I will check it out soon, including coding it. However, for anyone willing to try it and report back, here is the circuit. The circuit utilises a 74LVC86 and a 74LVC07. Separate buffers are required for each color to stop bleed between colors.
Presuming it works, I will add it (as an option) to a VGA pcb that I have in the works.
In fact, by adding some of the other pins, we should be able to increase the colors. So, with 6 pins we should get all the normal colors (i.e. we have just saved 2 pins from the normal VGAs 8 pins.
With this in mind, we should be able to increase the colors from 64 colors (6 bits) to 256 colors (8 bits). I am just not sure about how we would provide this in software at the moment - would no doubt require another cog for the extra 2 bits.
I will check it out soon, including coding it. However, for anyone willing to try it and report back, here is the circuit. The circuit utilises a 74LVC86 and a 74LVC07. Separate buffers are required for each color to stop bleed between colors.
Presuming it works, I will add it (as an option) to a VGA pcb that I have in the works.
In fact, by adding some of the other pins, we should be able to increase the colors. So, with 6 pins we should get all the normal colors (i.e. we have just saved 2 pins from the normal VGAs 8 pins.
With this in mind, we should be able to increase the colors from 64 colors (6 bits) to 256 colors (8 bits). I am just not sure about how we would provide this in software at the moment - would no doubt require another cog for the extra 2 bits.
Comments
This detection can then gate a mux to switch two pins from color out to become HS & VS out during the HS & VS times.
SO, with this type of circuit, what can we achieve?
1. A 2-6 pin VGA (saves 2+ pins)
2. An 8 pin color VGA (i.e. 256 colors instead of 64 colors) - i.e. say 2 bits for R, 3 each for G & B
So, an XOR 74LVC1G86, a 74LVC2G04 and a 74LVC139 would do the trick with 2 x 10K & 2 x 5K resistors. There may yet be a simpler logic solution.
I have not tested this yet.
Lawson