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

Have 2 new RGB projectors with 30K galvos ILDA

Joined
Jul 22, 2008
Messages
288
Points
28
Hello, it's been a while since I've posted. I have 2 new RGB projectors with galvos and ILDA DB-25 port. I am a programmer and just want to code some simple cirlces, squares, etc using an Arduino Uno USB board.

I just need a way I can write computer code to control about 3 or 5 +/-5VDC ILDA pins.

I found this online - very cheap way to make a controller...

Anyone have experience with this stuff?

- Paul

---------------------------------------

LINK: Laser X-Y-Axis control - Arduino Forum


Use any single-supply op-amp (I used the LM324 from rat shack as I had it lying around... overkill as I'm not using 3 of the op-amps)
and hook it up in voltage following mode:

INV1OUT (pin 1): Galvo control wire
INV1- (pin 2): wire directly to INV1OUT
INV+ (pin3): connect to arduino pin 9
Vcc (pin4): +5V
GND (pin11): GND

You really ought to add a signal-levelling cap between GND and INV+ pins, as close to the chip as you can get it (soldered piggyback would be my preference)... but I got decent results with and without. With, your beams should look slightly sharper as the mirror won't wiggle with the PWM output. I'd use a small value as you don't want to filter out the high-end too much. For no good reason at all, I chose a small ceramic cap marked _22_ for mine.

I used galvos pulled from old supermarket scanners. There must be a million of those things lying around, you can always find them on ebay. They were made by Symbol Tech and are usually labelled as servos or some such... you can usually find them on eBay for around $30 as pulls from old equipment...

The galvo has a four-wire connector, Blue, Red, Yellow/white, Black.

I wrote Symbol a couple years ago to get info about the connector (there's zilch online in terms of official specs)... as I recall, it's max rating is 12V (I've read others quote 14V). You apply a bias current to the black/red wire pair, and a variable voltage to the other pair. The direction and magnitude of that voltage determines the mirror swing.

I connected Blue and Black to ground, Red to +5V, and Yellow/white to the INV1OUT pin.

Then analogWrite(9, value) should position the galvo!

Two big issues with the above:
a) the galvo is way underpowered for it's rating
b) the PWM on the arduino is timed ~ 490Hz by default

a) is solved by using a 9V adapter / battery to power your arduino, and feeding the motor off of it. To adjust the signal, connect Vcc of the op-amp to 9V instead of 5V, and add a Gain=1.8 to the op-amp. Basically, that means you need two resistors with a value ratio of 1 : 0.8. Connect the higher one from INV1- to GND, and replace the connection between INV1OUT and INV1- with the smaller resistor. Not sure how much value matters, but lower is probably better. The LM324 is current-limited to 40mA sink internally so you can't really fry your arduino with it, feel free to play around with the resistor values some. If you pick too high of a ratio, you'll get clipping at the extreme +/- end of the range.

b) requires a little timer hacking. The PWM timer on the arduino is adjustable... I used the following code to set mine fast enough:

Code:
#define TIMER_CLK_STOP 0x00 ///< Timer Stopped
#define TIMER_CLK_DIV1 0x01 ///< Timer clocked at F_CPU
#define TIMER_CLK_DIV8 0x02 ///< Timer clocked at F_CPU/8
#define TIMER_CLK_DIV64 0x03 ///< Timer clocked at F_CPU/64
#define TIMER_CLK_DIV256 0x04 ///< Timer clocked at F_CPU/256
#define TIMER_CLK_DIV1024 0x05 ///< Timer clocked at F_CPU/1024
#define TIMER_PRESCALE_MASK 0x07 //Total guess at this value...
void setup() {
TCCR1B = (TCCR1B & ~TIMER_PRESCALE_MASK) | TIMER_CLK_DIV1;
}


These galvos are really non-ideal for graphics, but the work good for beam effects. They have a wicked non-linear response; my testing seems to indicate there's a lock-in zone around dead-center (with a LOT of wiggle on it!) and two dead zones on each side half-way to full deflection - your mileage may vary. Circuit tuning your op-amp with some basic filters will certainly help, too.
 





Joined
Jul 22, 2008
Messages
288
Points
28
Ishow is quite terrible. Here's a better DAC for about the same price or cheaper: http://laserpointerforums.com/f47/sound-card-dac-tutorial-40569.html

I have one of those but I sold my SoundCard DAC a while ago - scroll down 3 posts:
http://laserpointerforums.com/f47/sound-card-dac-tutorial-40569-11.html

I don't like the DAC option anymore because S-P-A-G-H-E-T-I is no longer being sold or supported.

Does anyone have any direct experience with Ishow?

Can I use it to draw simple beam-shows? I mainly want to use it to test the galvos out.

I have 3 sets galvos total and I need to generate simple shapes (ILDA test pattern maybe?) because the galvos/controllers were put together mis-matched.

* I found out later that each X or Y galvo is tuned and matched for its repective galvo controller. DUH ON ME!
 
Last edited:
Joined
Aug 21, 2009
Messages
388
Points
43
your best bet is to use an ether-dream dac:

Ether Dream

the software is open source and the API is documented.

Hello, it's been a while since I've posted. I have 2 new RGB projectors with galvos and ILDA DB-25 port. I am a programmer and just want to code some simple cirlces, squares, etc using an Arduino Uno USB board.

I just need a way I can write computer code to control about 3 or 5 +/-5VDC ILDA pins.

I found this online - very cheap way to make a controller...

Anyone have experience with this stuff?

- Paul

---------------------------------------

LINK: Laser X-Y-Axis control - Arduino Forum


Use any single-supply op-amp (I used the LM324 from rat shack as I had it lying around... overkill as I'm not using 3 of the op-amps)
and hook it up in voltage following mode:

INV1OUT (pin 1): Galvo control wire
INV1- (pin 2): wire directly to INV1OUT
INV+ (pin3): connect to arduino pin 9
Vcc (pin4): +5V
GND (pin11): GND

You really ought to add a signal-levelling cap between GND and INV+ pins, as close to the chip as you can get it (soldered piggyback would be my preference)... but I got decent results with and without. With, your beams should look slightly sharper as the mirror won't wiggle with the PWM output. I'd use a small value as you don't want to filter out the high-end too much. For no good reason at all, I chose a small ceramic cap marked _22_ for mine.

I used galvos pulled from old supermarket scanners. There must be a million of those things lying around, you can always find them on ebay. They were made by Symbol Tech and are usually labelled as servos or some such... you can usually find them on eBay for around $30 as pulls from old equipment...

The galvo has a four-wire connector, Blue, Red, Yellow/white, Black.

I wrote Symbol a couple years ago to get info about the connector (there's zilch online in terms of official specs)... as I recall, it's max rating is 12V (I've read others quote 14V). You apply a bias current to the black/red wire pair, and a variable voltage to the other pair. The direction and magnitude of that voltage determines the mirror swing.

I connected Blue and Black to ground, Red to +5V, and Yellow/white to the INV1OUT pin.

Then analogWrite(9, value) should position the galvo!

Two big issues with the above:
a) the galvo is way underpowered for it's rating
b) the PWM on the arduino is timed ~ 490Hz by default

a) is solved by using a 9V adapter / battery to power your arduino, and feeding the motor off of it. To adjust the signal, connect Vcc of the op-amp to 9V instead of 5V, and add a Gain=1.8 to the op-amp. Basically, that means you need two resistors with a value ratio of 1 : 0.8. Connect the higher one from INV1- to GND, and replace the connection between INV1OUT and INV1- with the smaller resistor. Not sure how much value matters, but lower is probably better. The LM324 is current-limited to 40mA sink internally so you can't really fry your arduino with it, feel free to play around with the resistor values some. If you pick too high of a ratio, you'll get clipping at the extreme +/- end of the range.

b) requires a little timer hacking. The PWM timer on the arduino is adjustable... I used the following code to set mine fast enough:

Code:
#define TIMER_CLK_STOP 0x00 ///< Timer Stopped
#define TIMER_CLK_DIV1 0x01 ///< Timer clocked at F_CPU
#define TIMER_CLK_DIV8 0x02 ///< Timer clocked at F_CPU/8
#define TIMER_CLK_DIV64 0x03 ///< Timer clocked at F_CPU/64
#define TIMER_CLK_DIV256 0x04 ///< Timer clocked at F_CPU/256
#define TIMER_CLK_DIV1024 0x05 ///< Timer clocked at F_CPU/1024
#define TIMER_PRESCALE_MASK 0x07 //Total guess at this value...
void setup() {
TCCR1B = (TCCR1B & ~TIMER_PRESCALE_MASK) | TIMER_CLK_DIV1;
}


These galvos are really non-ideal for graphics, but the work good for beam effects. They have a wicked non-linear response; my testing seems to indicate there's a lock-in zone around dead-center (with a LOT of wiggle on it!) and two dead zones on each side half-way to full deflection - your mileage may vary. Circuit tuning your op-amp with some basic filters will certainly help, too.
 
Joined
Jul 22, 2008
Messages
288
Points
28
your best bet is to use an ether-dream dac:

Ether Dream

The software is open source and the API is documented.

EXCELLENT - That is exactly what I am looking for. I am a computer programmer (Assembly, C++, PHP) by trade and I am interested in the API documentation. Any idea where I can download this? I just want the ability to draw some simple lines, circles, patterns synced up to music. Many thanks!
 
Joined
Aug 21, 2009
Messages
388
Points
43
the link i provided in my first post contains all the information you're looking for.

Ether Dream


EXCELLENT - That is exactly what I am looking for. I am a computer programmer (Assembly, C++, PHP) by trade and I am interested in the API documentation. Any idea where I can download this? I just want the ability to draw some simple lines, circles, patterns synced up to music. Many thanks!
 
Joined
Apr 2, 2009
Messages
10,662
Points
113
Welcome back Paul-- grand re-entrance i must say..
worthy of a +5 - for all that info- some i had been actually looking for but gave up.
if you need any I-shows lets me know- and i can still hook any member/friend up with QS or Beyond.
sorry i missed you last time in florida - MAY try to do FLEM mar 1st- always wanted to time a trip to see Dad when FLEM was on--but he has passed and I may not get back over there for some time.

Len

and GRIX is correct- its pretty lame- it does help me sell QS tho.. by default.lol

UN- 'Ash' here is a wiz at I-Show- PM him hes helpful.

over 'there' UN 'Agent-C' Casey (Austin/Temple tX) is writing his own soft and did a small demo for a few of us in Austin few weeks back-
he was controlling live wireless with a small tablet-
You should contact him-
 
Last edited:
Joined
Jul 22, 2008
Messages
288
Points
28
sorry i missed you last time in florida - MAY try to do FLEM mar 1st- always wanted to time a trip to see Dad when FLEM was on--but he has passed and I may not get back over there for some time.

Len

Long time no chat Len aka Hakzaw1 - sorry to hear about your father passing.

I now have 2 complete RGB (and one RRGB) ILDA 30K systems now but NO controllers lol!

Want to try out CHEAP Ishow v2.3 controller with some shows / patterns:
V2.3 Ishow laser software for laser light [Ishow] - $69.00 : SpaceLas Co., Ltd., online shop


* I bought out an old partner from a (failed) light show company we were starting. I have tons of other great laser/electronic goodies: variable benchtop power supplies, digital LCD solder station, galvos, optics, mounts, dichros, modwerx heat sink blocks, etc. Anyone looking to trade for some kind of cheap DB-25 ILDA controller?

FOR SALE - Email me at: paulzimm@gmail.com if interested...
 
Last edited:
Joined
Oct 26, 2007
Messages
5,438
Points
83
If you still want to try the microcontroller route, try getting a faster microcontroller than an Arduino unless you have the ARM variant (Arduino Due). The "DAC"s one the Arduino are really slow, low resolution, and even if they were fast the Arduino is pretty slow too. I'd at least use a Teensy 3.0 or something for your MCU and maybe even consider an SPI or I2C DAC for performance.
 
Joined
Apr 2, 2009
Messages
10,662
Points
113
Get with me before letting any of those parts get away-
I DO have some item of interest to show you-
will be happy to 'lend' you I-Show ti play around with as long as you want.

hope to see you mar 1st at FLEM near Orlando- others are coming from there- share the ride!!

Miami Norm might go- I will PM him for you

Len
 
Joined
Jul 22, 2008
Messages
288
Points
28
Would be awesome to go to FLEM - I may actually be able to make that this year!

PS - I sent Hak/len a bunch of photos of all this extra laser equipment I have for sale/trade. I could sure use temporarily Ishow to check my galvos. Thx!
 
Joined
Apr 2, 2009
Messages
10,662
Points
113
I would have sent it already IF I could just find the disc- as I am sure it has drivers on it you will need- MAYBE a I-Show owner will be so kind as to burn you a copy from theirs-- sending the owners manual now to you-- hak
 
Joined
Jul 22, 2008
Messages
288
Points
28
I would have sent it already IF I could just find the disc- as I am sure it has drivers on it you will need- MAYBE a I-Show owner will be so kind as to burn you a copy from theirs-- sending the owners manual now to you-- hak

I notice in your sig you use 'Mamba Black(clone)' - where can I check that out? It uses the SoundCard DAC - right?

Thx!
 
Joined
Apr 2, 2009
Messages
10,662
Points
113
I got the mamba black clone and mini disc at SELEM 2011 IIRC- NEVER used it
I would like to see what you can do with it and may be able to get it to your quicker than the lass desireable i-show so yeah i can loan you my mamba-just get with me for best price on the best Pangolin or LSX both are wonderful- the problems some have learning LSX would not happen to you with your background. QS/BEYOND is so easy i even caught on pretty quick- but has lots to learn before I create my own original stuff. so.. yes to mamba and forget the i-show- PM coming with link to lasechat

Len
 




Top