I recently got a grab bag of parts from an electronics supplier. I was going through the chips I got and I'm wondering if any of them might be of any use in making a circuit that can automatically scale a 15khz video signal from 0V-n (never more than 3V) to the 0V-0.7V that a normal RGB monitor uses.
I think I have a whole bunch of LM311 op-amps. I found a circuit on the net that shows how to use an op-amp as a peak detector. I thought I could use the peak detector as some sort of input for the maximum of the input video signal, and then somehow use 0.7 as the maximum of the output, and then an op-amp could scale it. Obviously I'll have to build 3 such circuits, one each for red, green, and blue.
But... I have no idea how to do it. I can't find any schematics on the net which do anything similar.