General Category > 3D Printers
First test run
sla_newbie:
Hi Macpod,
1. I changed my galvo setup 30kpps, this one has trimmed mirrors and when I piped the circlemaker to stdin I got a circle finally! I think the problem was with the galvo setup and the result is circle can be seen when I connect to B channel and its OFF before and after running it
but not with C channel always ON before and after. Circle is solved! :)
2. But when I pipe displayimage.exe to stdin.exe only C channel works but the laser is always ON before and after printing. Laser is ON even when I disconnect the C channel with TTL of the Laser module and I feel like no matter what .png file I pipe the laser just sweeps through I get a same trend for all image. How to print a png file are there any specifics?? and can you please provide some little details reagrding the png piping. My purpose is SLA 3D printing. Thank you you're previous post helped me a lot thanks
Macpod:
Glad you got the galvo part working but I do not think the galvo swap should have been necessary.
Are you using the pre-compiled lasershark_stdin.exe and lasershark_circlemaker.exe for windows? I'm concerned about the B channel working but the C channel not.
If you look at the circlemaker code:
https://github.com/macpod/lasershark_hostapp/blob/master/lasershark_stdin_circlemaker.c
Each line is drawn where A is set to 4095 (max), B is set to 4095 (max), and C is set to 1 (max) This should cause a laser connected to any of these channels to turn on.
--- Code: ---printf("s=%u,%u,%u,%u,%u,%u\n",
float_to_lasershark_xy(x_f), float_to_lasershark_xy(y_f), 4095,4095,1,1); // x, y, a, b, c, intl_a
--- End code ---
If you have the lasershark plugged in but not running, what is the voltage between the C channel + and GND pins? (It should be close to if not 0v).
If you pipe circlemaker into lasershark_stdin and probe, what is the voltage between the C channel+ and GND pins? (It should be close to 5v).
I will help you with the lasershark_displayimage debugging after we get this solved. Trying to diagnose displayimage without first resolving circlemaker adds unknowns which makes debugging the overall problem more complex.
sla_newbie:
1. I was overdriving the galvos I guess because the new galvo setup doesn't make any noise while piping circlemaker with stdin, the old one made a lot of noise and had a tough time reflecting the laser (literally nothing was projected on the screen laser was scattering all over)
2. Yes, I am using the pre-compiled code. One more thing I noticed is that:
--- The Circle is continuous when connected to B channel
--- The circle is broken into 3 segments and not continuous when connected to C channel
3. Yes, the code is perfect and should work just as fine. Let me measure the voltage and diagnose it.
Thank you :)
sla_newbie:
Hi Macpod,
I made a rookie error and once I changed the wiring with molex connectors and re-wired it, it works pretty fine. The circle is perfect.
With this thing done I am having issues with the png files. Can you please help me and give specifics on the png file piping methods.
Thanks.
Macpod:
Hi again, I was out at defcon and wasn't checking this. Glad to hear you found your wiring problem.
For lasershark_stdin_displayimage what is your current problem? The image must be less than or equal to 4096x4096 pixels in size. If you run lasershark_stdin_displayimage with -h help will be printed out
Since you are using a ttl laser you will want to use the monochrome mode. The following will display a png named test.png at 10,000 kpps in monochrome. to use a syntax like
--- Code: ---lasershark_stdin_displayimage -p test.png -r 10 -m
--- End code ---
I would suggest printing a black and white checker board pattern for testing. If you have a smartphone/camera you can use a long-exposure app to get a more complete (and very neat) looking photo :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version