Welcome to Laser Pointer Forums - discuss green laser pointers, blue laser pointers, and all types of lasers

LPF Donation via Stripe | LPF Donation - Other Methods

Links below open in new window

ArcticMyst Security by Avery

30kpps scanner and DAC demonstrating Winamp oscilloscope

Joined
Feb 26, 2010
Messages
50
Points
0
Hello folks!

I've been building my first scanner now and I'm just waiting for DX 200mW green module to arrive so I can intergrate it in my scanner instead of LPC-815 diode that I'm currently testing with.

The DAC isn't totally finished yet since I haven't recevied the correction amp yet, but I just couldn't wait any longer and had to test it out. So DAC is actually only USB soundcard without any extra amplification! :D

Oh, and the galvos and drivers are SpaceLas PT-30K.


Here comes some pics and a youtube clip w/ description:


Looking inside scanner, if you look on the wall you can see reflections from protection glass infront of scanner galvos. The big black lump ontop of X amplifier is actually a quick and dirty TTL driver for the laser (basically it just takes signal from DAC and eighter current is on or it is off).
Laser driver is rckstr with output capacitor removed for faster responce.
Sl382012.jpg


Reflections from protectionglass
Sl382013.jpg


What scanner looks like with cover on.
Sl382014.jpg


Showing oscilloscope driven by LFI player abstract generator and Winamp! :)
 





Benm

0
Joined
Aug 16, 2007
Messages
7,896
Points
113
That looks pretty cool!

How exactly do you get the scope output using winamp and lfi? I'd like to try myself and have both, but no idea on how to interface those programs.
 
Joined
Feb 26, 2010
Messages
50
Points
0
That looks pretty cool!

How exactly do you get the scope output using winamp and lfi? I'd like to try myself and have both, but no idea on how to interface those programs.

Thanks!
It's really fun to play around with all kinds of setting, esp. since this is my first scanner build! :D

NOTE: This will only work if you're running with soundcard DAC!

I've attached the LFI Player abstract file in View attachment osc.zip
You might need to tweak LFI Player points per second so it won't run too fast for displaying sound oscilloscope (i.e. you would only see horisontal lines)

Then it's just a matter of pulling volume balance control in Winamp so sound will only be output to Y on scanner. :)
 
Joined
Feb 26, 2010
Messages
50
Points
0
It would be nice with a plugin to winamp to do all this stuff, unfortunately my C++ has gotten a little bit rusty... :(

And it kinda sucks to have only mono sound aswell.
 

LSRFAQ

0
Joined
May 8, 2009
Messages
1,155
Points
83
Go over to Photon Lexicon, join, get access to the FTP, and download Zoofscope!

Saves a few frustrating nights coding.

Steve
 

Benm

0
Joined
Aug 16, 2007
Messages
7,896
Points
113
Sounds like good fun - will try it soon.

Displaying an audio scope doesnt seem that much of a breakthrough, but it can be a visually impressive effect none the less :)
 

LSRFAQ

0
Joined
May 8, 2009
Messages
1,155
Points
83
Sounds like good fun - will try it soon.

Displaying an audio scope doesnt seem that much of a breakthrough, but it can be a visually impressive effect none the less :)

Um, more things are available then the scope, real time FFT too.

Steve
 
Joined
Feb 26, 2010
Messages
50
Points
0
I think I'm going to read through some Winamp AVS plugin examples and then I might contruct my own AVS plugin using EzAudDac. Who knows, I might even post it here if it ever gets finished..
 

LSRFAQ

0
Joined
May 8, 2009
Messages
1,155
Points
83
Hum zoofscope, lasertennis, laseroids, lfiplayer... I would not give up on existing freeware just yet.

Steve
 
Joined
Feb 26, 2010
Messages
50
Points
0
Problem with those programs is that it doesn't do exactly as I want; having spectrum analyzer and scope in winamp (and who know, maybe more effects?) just a click away on my soundcard DAC with EzAudDAC.
It's funny that I can't find anybody else that has done that one before me... :)
 

Benm

0
Joined
Aug 16, 2007
Messages
7,896
Points
113
Could you describe exactly how to replicate the effect in the video?

Preferably as a guide for total idiots, since i seem to be missing something simple but essential in replicating the result ;)
 
Joined
Feb 26, 2010
Messages
50
Points
0
Could you describe exactly how to replicate the effect in the video?

Preferably as a guide for total idiots, since i seem to be missing something simple but essential in replicating the result ;)

Okay, so hook up the DAC and scanner so you have it working properly in LFI player, be sure to not have anything running in LFI player before loading osc.ABS (attached in osc.zip)

I attached a picture with where to find all the buttons here (you don't really need to mess around with setting in abstract control panel since I already did that in osc.ABS):
LFIplayer.jpg

Go ahead and press play now in LFI player, Your X galvo should now start to oscillate at a low frequency (you can set the speed of X galvo simply by decreasing/increasing points per second in Options->Preferences->Display Timer). Now you're ready for next step! Fire winamp up but don't start any music yet.
Put the balance ruler all the way to right channel (Y galvo!) as shown in the attached picture:
winamp.jpg
Now just start the music and you should have a pretty scope running! :D
 

Benm

0
Joined
Aug 16, 2007
Messages
7,896
Points
113
Ah.. so you are running winamp and lfi independent of eachother, either piece of software effectively controlling one of the galvo's. That seems simple enough - i expected something fancy that took the winamp graphics engine and somehow pipe that through LFI.

One thing that i don't quite get: since there is no connection between the programs, how do you get the synchronisation of the start of the X-sweep to the Y-output? Or is it just randomly sweeping the X position regardless of the audio?
 
Joined
Feb 26, 2010
Messages
50
Points
0
Ah.. so you are running winamp and lfi independent of eachother, either piece of software effectively controlling one of the galvo's. That seems simple enough - i expected something fancy that took the winamp graphics engine and somehow pipe that through LFI.

One thing that i don't quite get: since there is no connection between the programs, how do you get the synchronisation of the start of the X-sweep to the Y-output? Or is it just randomly sweeping the X position regardless of the audio?

The scope doesn't have any trigger at all, it just sweeps what is fed to the galvo amp. But it looks neat anyway.

Triggering is one thing that could be fixed with winamp plugin but appearantly I cannot get any c++ compiler to work on this windows vista, so I cannot even try out winamp SDK examples.. :(
 

Benm

0
Joined
Aug 16, 2007
Messages
7,896
Points
113
Right... well, it still looks good in your video without triggering. I'll give it a go when i have my projector hooked up :)
 




Top