So now that I have the laser, I might as well try fun stuff out with it. Like modulating the beam. I know hams have experimented with long-range laser communication, so maybe it could even work.
So I built a poor girl's beam modulator. It is, in essence, a sophisticated optical apparatus which I call a "Laser". It consists of a piezo buzzer stolen from a defunct fire alarm, a piece of a makeup mirror I broke, and lots of Blu-Tack, among other things. The piezo buzzer is directly connected to my laptop's audio Line Out, so I can make it buzz arbitrary signals. The piezo makes the mirror vibrate, which causes deviations in the beam's direction. Kind of like a DMD, except not digital nor micro.
The receiver side is situated a short distance away. It is just a simple wide-spectrum photodiode. It connects to another sound card's Line In. When the beam deviates a little, it won't directly hit the diode any more, and this causes the diode voltage to fluctuate. This should allow us to send information over the channel.
I found a piece of audio with a folk tune in the beginning followed by a lady reading out numbers. I applied a suppressed-carrier single-sideband modulation at 6 kHz, so as to avoid the hum caused by lighting in the room. It's painfully trivial using SoX and Perl, by the way:
open(S,"sox salakalastaja.wav -t .raw -e signed -|");
open(U,"|sox -b 16 -c 1 -e signed -t .raw -r 44100 ".
"- ssb.wav sinc 6000 -n 4096");
while(not eof(S)) {
read(S,$a,2);
print U pack("s",unpack("s",$a) *
cos(($n++ * 2 * 3.141592653589793 * 6000) / 44100);
}
close(U);
close(S);
I still need to make some amplifiers. The piezo could take a lot more voltage, but line level only goes so far. Also, the unamplified output of the photodiode is very weak at -90 dB, so we're almost hitting the 16-bit quantization floor. Here's a sine wave being transmitted over the laser:
![[Image: Spectral power plot of three signals with no frequency scale. The blue signal has a single peak scaled as 0 dB. The red signal has a -90 dB peak at the same frequency. The green signal only has background noise. Noise floor in all three is at -120 dB.]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyOengDllqmvw-Tho0H6xENCkDWiPpOkdZh9wyNsqqY_kNXErrCEzsG_w9FhREkR3MFJvgykFuF1RhFwUiYWwx72Ryrp04-8kDDZ7ZYoOjuNGLmeaLD5dXchbY4ZFK6AamWG9Wwk9hF2dG/s320/diode2-captioned.png)
However, audio from initial crude testing is actually pretty intelligible. In the beginning, you can hear the 50 Hz buzz caused by flickering lamps, and then me tuning the heterodyne to 6.000 kHz. The noise mostly comes from 16-bit quantization/dithering.
![[Image: A mess of wires and components attached to a mint tin using blu-tack. A laser module is pointing at a piezzo buzzer at an acute angle. A piece of mirror is glued onto the piezo buzzer. The laser and piezzo buzzer are connected to wires that lead out of the picture.]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqCP-gH0z-gdmtYvn9UCo2dDFCJst5lsAO6UeMJxjVINAHvaeP-vOxQ_ZDSsC4Bkn_ZlAYBbGzF2aBXGPCh62xyaoRnfuZuV6RtjBJ5t3RQ5y0Qmzog5cHzAfMqO79_yVV-S6Xx4sJ6U55/s450/IMG_3804a.jpg)
![[Image: A photodiode attached to a cassette case using blu-tack. A piece of paper is attached to the base of the diode, and a line of red laser light is visible on the paper, also hitting the diode.]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfoMcQy0xKs3Rifcjjq34WeZzlACifmxQILx_LSySZSLdthwdvsJ9-6s6z5dk8JjoL3TlkddMiqhKW3UoRj-y41zvLpTiZvqCGpztS-JmQjaPkArT5_LNzU6vItiVf7a2SHBs8fsMF48N8/s450/IMG_3806a.jpg)
![[Image: A vinyl record illuminated very unevenly with laser beams projected radially, towards the center.]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitAIha8E6KUS7jkZ2zE_nkdZriC2JWhX2J8fhqyU_sOWCm5dCfhAjO9yUn6TiwCkiTCDVW0GkLfEY_2tq8CNW7pUg-TdGZj35Z0n0QQhQxLlk7WRvB6GGaUSIeCGZ2oXgkIhDACi2YNaoo/s400/levy-laser.jpg)
![[Image: Screenshot of Inkscape with the above image loaded and markers drawn on the spiral groove wherever it crosses the pi radians mark. Next to it, a computer-generated spiral with similar spacings.]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqjMur_6KWuWDqXGkGtBh-OEzjkaoZkYv8pOVGYZV4R20pEP9BK83lyDRBELzPJ7-7VhSaLOY068mL1UbdWWmWfqHrm7vc0I-2UMbHUyyiHP9Qg-AzJQSrGHnGv0kgEOwOzb1b1psv1aXR/s320/spiral-interp.png)