Galvo laser from sla printer on duet for engraving
-
@alankilian yes but i'm in italy and amazon.it don't sell the first item
For my power supply i used LM7812 and 7912 as in following schematics
-
@artichoke That should work.
-
@alankilian said in Galvo laser from sla printer on duet for engraving:
@g0rg What do you want to do?
Attach the galvanometer head to your CNC machine and move it around above your foam so that the LASER can etch a logo into it 100 times?
This is exactly what i'm about.
I use lightburn software to get my gcode job.
In the software i have vectors or let's say a raster image that i can duplicate using the array grid function to have maybe 100 times the same job.
The galvo should etch 1 logo at a time and switch to the second position moving the gantry X and Y axis, restart the same galvo job , etc...As @artichoke said, this is a kinematics stuff but i'm quite lost how to manage this
-
@artichoke said in Galvo laser from sla printer on duet for engraving:
g0rg do you have some PCB or Electronic Skills?
Well, I know how to solder parts but i'm not an electronician. I'm more an IT adept
-
@g0rg You know how to control the workbee CNC from GCODE now right?
If I'm understanding correctly, the process would look something like this:
- Use GCODE to position the LASER engraver at the location for the first logo. (G1 Xnnn Ynnn Znnn Fnnn)
- Trigger the LASER engraver.
- Wait for the engraver to finish (Could be just wait "n" seconds)
- Move to the next location using GCODE.
Which parts of those steps would you like to discuss?
-
Yes i use the workbee for wood carving and aluminium with a spindle.
What I dont know is:
How to manage the gcode to repeat the same piece of code on another starting point.I know that some cnc workers use like a subprogram with g54, g55, g56 origins for machining several same pieces on a vise for example.
But for me it should be kind of 100 different origins. I think that it's not the right way to manage this.I was talking about kinematics thinking that the galvo XY axis could become AB axis and the gantry XY should work as usual XY axis.
-
@g0rg If I were doing this, I would run the galvo from the galvo hardware/driver board and whatever software you use to build and engrave a logo and I would run the Workbee from whatever hardware/drivers and software you use to cut wood and just connect these two systems together with a trigger to start and an indication when done.
That way, each system still works unmodified for its original purpose and you are just using the Workbee to position the LASER engraver to the location you want to engrave the logo at.
Does that make sense?
-
@alankilian Yes, should be ok I think.
Actualy the laser that comed with the kit i bought is dimensioned for a resin 3d printer not for etching wood or foam. So i need to test pwm/ttl my 20w laser diode on the galvo head to see if i can burn correctly -
@g0rg said in Galvo laser from sla printer on duet for engraving:
What I dont know is:
How to manage the gcode to repeat the same piece of code on another starting point.
I know that some cnc workers use like a subprogram with g54, g55, g56 origins for machining several same pieces on a vise for example.
But for me it should be kind of 100 different origins. I think that it's not the right way to manage this.You could generate a single gcodefile for ten logos in a row. One logo after the other will be burned.
Then move up to the next row (is there an end-gcode in lightburn?) Then define this as your new 0,0 with G92 A...B... and run the same file again. You can use a while-iteration-loop in the end-gcode to repeat that file 10 times. -
@o_lampe said in Galvo laser from sla printer on duet for engraving:
You could generate a single gcodefile for ten logos in a row
I agree but even with this approach the galvo working area is around 250x250mm with a relatively acceptable beam distortion. That means that i should move the gantry B axis each time the XY galvo finishes the single job.
I don't know whether a Macro or a WHILE DO END Loop would do the trick
I try now to get deeper in gcode tips and tricks and maybe someone here has already done that and will post some program example...
-
@g0rg I would do something like this: (This is not real, tested code)
var xCurrent = 0 var yCurrent = 0 var xCount = 10 var yCount = 10 var xIncrement = 250 var yIncrement = 250 while yCurrent < yCount set xCurrent = 0 ; Start a new row at x=0mm while xCurrent < xCount G1 X{xCurrent * xIncrement} Y{yCurrent * yIncrement} ; Move to the new logo location set a GPIO pin to start the LASER logo burning while GPIO is not true ; Wait for the LASER to finish set xCurrent = xCurrent + 1 ; Move to the new location in X set yCurrent = yCurrent + 1 ; Move to the new location in Y
-
This post is deleted!