OK.
Now you need to know how to adjust the correction amp!
Since you are using ALSA on a Raspberry Pi, you should know about alsamixer. It is possible to have digital gain in the driver of the sound device that is more than 1.0! This will cause the signals to clip coming from the sound card.
Set the maser volume to something like 70% before you do these adjustments.
Once you are done, you can fiddle with the master volume for the USB sound device in alsamixer and set it to the maximum value that does not clip the edges of the big white circle when you project it.
But, remember, when you change the master volume, you are also changing the volume of the color signals.
So you may need to re-adjust your gains on those channels to get back to +5VDC max (with no jumpers on).
This will make more sense if you read the whole thing before you start!
ILDA PORT
[:::::::::::::]
* GND
(Off) (Gain) [TLO72] (Off) (Gain)
X [opamp] Green
* V_off
(Off) (Gain) [TLO72] (Off) (Gain)
Y [opamp] Blue
(Off) (Gain) [TLO72] (Off) (Gain)
Red [opamp] Intensity
(adj) [-vreg]
power
* * *
GND | GND
INPUT +5V
* * * * * *
X Y R G B I
http://laserboy.org/forum/index.php?topic=561.0First of all, pull off the jumpers.
If you were starting with an amp that has never been adjusted, you should turn all the 500 ohm offset and voltage regulator adjust trim pots (7 of them) all the way down by rotating them several times counter clockwise. They are 25 turn pots. You might hear or feel clicking when they are all the way down.
Then turn all the 100K gain trim pots (6 of them) all the way up by rotating them several times clockwise.
This will set the gain of every op-amp channel to max (100K) and set the individual offset adjustments (500 ohm) to minimum.
Now take note of the voltage offsets you measured on each wire coming straight out of the DAC channels.
They should all be close to the same voltage.
Pick the lowest voltage.
Multiply this voltage by about -1.5.
This is close to the voltage you want to set on the variable negative voltage regulator.
There is a 500 ohm pot next to the negative voltage regulator.
You can put your meter between ground and the pin labeled V_off.
Turn the 500 ohm pot next to the voltage regulator until you measure a voltage that is -1.5 times the lowest offset voltage you measured from the DAC channels.
This will get you close.
You need to adjust this master offset voltage such that with each channel of the DAC connected to the correction amp, the outputs are very small voltages (like millivolts) but they are all still positive.
With the DB25 ribbon plugged into the amp, you can stick a wire into pin sockets 1, 2, 5, 6, 7 & 8.
1 & 2 are X and Y. 5, 6, 7 are Red, Green and Blue. 8 can be used as a mix of RGB for single color laser systems (intensity).
You need to make sure that you do not over correct with the negative voltage.
You can only add a little bit more negative voltage with the trim 500 ohm pots on each channel.
If you over adjust the voltage regulator to be too negative, you cannot compensate for it with the individual trim pots on each channel.
Since your 100K gain pots are all the way up, this will greatly amplify the results of your offset trim adjustments.
So, get as close as you can. It takes a while to let the voltage regulator settle and sometimes it helps to tap on the trim pots with a pencil or something.
Turning each one of the offset pots up will get you closer to zero volts on each channel. Try to get as close to zero volts as you can on each channel.
You have to keep checking each one several times. Let it sit for a while and come back and test it again.
Once you are happy that you are about as close as you can get you can turn the gain for X and Y way down. These signals drive your scanners.
This is where the wave of the big white circle is needed.
When you play this wave, you are sending full-on voltages to your color control signals. White is full on red, green and blue. You need to adjust the gain for each, red, green, blue and intensity to +5VDC when the wave is playing. Turn the gain pots (100K) down for each of the color channels until each one measures +5VDC.
After you set these voltages, you can put the jumpers back onto the correction amp. These jumpers put a 5V zener diode to ground on each of the color control signals so that they can never go over +5VDC. So make sure the jumpers are always on when you use the correction amp to drive your projector.
Also when the circle wave is playing, you should be able to measure some AC voltage on X and Y. If you turn the gains on these channels way down, you can hook up your laser projector and adjust these gains to control the size of the scanned image. X is width and Y is height. Adjust them to make a perfect circle.
Now make a wave of one of the frames in LaserBoy that is a recognizable image, like the LaserBoy Logo in frame 0 or Quisp in frame 35. Display it on your projector and make sure your X and Y are correct. If the image projects sideways, you need to swap the input wires for X and Y on the correction amp and maybe check the offset adjustments for those channels again.
Then you need to take some nice pictures and post them here!
You're done!
James.