Laser brightness control test @marcan42
Laser brightness control test  @marcan42
Uploaded September 2009 | Updated September 2026, 1 hour ago
Here's the new power controller for the laser. Now I can finally turn the laser on and off and modulate brightness as I draw things. I still need to write the code, so for now I was just testing it with sox (sox.sourceforge.net/). It works great for testing and to generate lissajous shapes :). Here's the command:

AUDIODEV=xyge play -n -c4 synth sine 50 sine 50 0 25 sawtooth 501 70 square 1000

That's 50Hz X and Y (with a 90° phase shift on Y), a 501Hz sawtooth for G (70% off level, because that's the way the circuit is calibrated), and a 1000Hz square wave which is the "safety key" to enable the laser (a small micro next to the USB sound card detects this and enables the laser power controller).

Here's the schematic for the laser driver portion: marcansoft.com/transf/laserdriver.png

The new platorm is smaller and lighter (I need to fit this in my luggage for 26c3) ;). I'll never be able to fit the whole RGB deal on this one, so I'll just rebuild it when that happens (wonderful hot glue).

Update: I blew the laser (good thing it was only $18) via a screwdriver accident, but I did snap a picture of the ILDA test pattern: marcansoft.com/transf/ilda_new.jpg . Waiting for a new one to come in, I'll work on improving the software meanwhile.
Laser brightness control testWork stream: Tooling [2021-01-07]M1RACLES: Bad Apple!! on a bad Apple (M1 vulnerability)Asahi Linux: USB haunts meLaser vs. Laser SimulatorBringing up Asahi Linux on the M1 Pro, Part 2 [2021-11-02]OpenLase test: 3D cubesLaser harp v2 with Openlase+OpenCVAsahi Linux: m1n1 Hypervisor recapWork stream: Writing a hypervisor Pt.8  [2021-05-11]Asahi Linux: upstreaming stuff & touchpad fixes?Bringing up Asahi Linux on the M1 Pro, Part 4 [2021-11-10]
marcan |

Laser brightness control test

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER