GearHeads Corner
January 22, 2020, 05:31:50 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: My laser engraver from 0 knowledge to .... i dont know  (Read 1317 times)
0 Members and 2 Guests are viewing this topic.
BobbyW
Newbie
*
Posts: 30


View Profile
« Reply #30 on: January 13, 2020, 06:38:39 PM »


2)
     Auggie can only send numbers from 0-100 as power. So when you limit it to 32% by the laser power
in auggie you can get only 32 different PWM levels. This is unfortuna te for high power lasers as it reduces the
resolutio n as you lower the laser power %.   I use an arduino to receive the pwm and allow me to adjust its
% before it goes to the laser. The arduino can subdivide in 100 steps. SO I set laser power to 100%, then
 tell the arduino to adjust down to 20%. The output is then 100 steps from 0 - 20 instead of only the 20
steps Auggie can do by itself. The arduino project is published on this board as well if youd like to make
a similar board. This allows you to override the 0-100 steps the pokeys can do to be 100 steps of any %.
  So this arduino takes in 0-100% pwm from auggie set to 100%, and outputs 0-xx% as set on a lcd
connected to the arduino and sends a new pwm to the laser.

  You can see the project in the auggie topic I think under pwm control.

Hi Art
Ahh ok, i got it now, you use the trick to get a good resolutio n. I never work with arduino still i was developer for years on dsPIC products a while ago. I think i have a board here with one microcont roller , i can write a small code for that in a moment . I never think on that . Thanks.
Right now is midnight here , so i need to sleep , but tomorrow i will do some test .
I will let you know.
Bobby
Logged
BobbyW
Newbie
*
Posts: 30


View Profile
« Reply #31 on: January 13, 2020, 07:34:35 PM »

Hi Art
I can't stop myself to go on sleep, i made some fast and small test's.
1: First i connect the PWM to TL input and on analog input on the source i set the voltage on 200mv . I play with some feedrates and here we go , some result arrive .
First on you image and after on my . Laser was able to increase the power. I listen you advice and i put 100% at maxim , and of course the laser itself was limited by input analog vcc.
2: I found only the PIC 16F684 here , and i made a very small code , programed in real time with Pickit3 and i made some adjustmen ts.
Like you see was pointed laser , on same image .
Also PWM set matter in my case in ouggie. If i set to high i get only full power , to low , the annoing noise from low frequency and resonance s around 2khz  Shocked (probably was source reflectio n on they chinese drivers). Also when than noise come out , the laser remain stuck with fixed power (maxim alowed by analog input )
The picture say everythin g.
Also i think the material matter . That's a regular mdf , i cant find any different here around my city and i didn't has the time to search.
Thanks Art , i will let you know what happen .
Bobby


* interesting 2.jpg (151.66 KB, 900x1600 - viewed 4 times.)
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5546



View Profile
« Reply #32 on: January 13, 2020, 08:59:18 PM »

Much better. I see more steps.

 In my PWM processor I take it in, and measure it based on the 5khz I use. I then have an LCD
display that allows me to pick a %. If I pick 50% on the lcd for example, I will change an incoming
100% to an outgoing 50%.  If the arduino see's a 25% PWM, it puts out a 12.5% ( 50% of incoming).

 This allows 100 steps of any power level set by the arduino as long as Auggie stays on 100%.

( Actually, do not go above 99% as i seem to have a bug at 100% that I am tracking down, it may
be in my arduino code but I need to be set to 99% in Auggie on my system for it all to work.
Now if I run a grey scale at 100%, I can set my LCD to 10% and get 0-10% power in 100 steps. )

Art
Logged
BobbyW
Newbie
*
Posts: 30


View Profile
« Reply #33 on: January 17, 2020, 05:48:32 AM »

Hello everyone.
I was a little busy but now i have some free time again to play .
So , I figure out everythin g about feedrate , jerk limits and other stuff.
About my laser power , for the moment i programme d a dsPIC to deal with my PWM , I give up the idea to control the laser over analog input ,
and i use TH input and adjustabl e analog input . Like that i have 100 scale control and i notice if i convert the frequency to low frequency pulses
like 400Hz , the result are different , with fast speed on en my laser.
I attach below, the picture have some missing lines and that because i don't have the compresse d air installed and the smoke keep gluing on my laser nose.
That is not a problem now.I will try for sure on analog input after my order with DAC converter will arrive , next week probably.
That's it for now.
Thanks
Bobby


* WhatsApp Image 2020-01-16 at 21.42.55.jpg (85.82 KB, 900x1600 - viewed 6 times.)
Logged
tweakie
Full Member
***
Posts: 167


Super Kitty


View Profile WWW
« Reply #34 on: January 17, 2020, 09:55:09 AM »

Nice work Bobby, you are making excellent progress and I look forward to following your thread.

Tweakie.
Logged
BobbyW
Newbie
*
Posts: 30


View Profile
« Reply #35 on: January 21, 2020, 01:48:31 AM »

Nice work Bobby, you are making excellent progress and I look forward to following your thread.

Tweakie.
Thank you Tweakie , i remember you has the first one who give me the advice about laser engrave.
Yesterday arrive my order with DAC and some optocoupl ers. The DAC working perfect (at least measured , not tested on laser) and let me to adjust the min-max voltage level from 0 - 100 PWM.
That's very useful for different materials and operation s.
Still, connected to my stupid laser source the output become at maxim according with my reference set on 90% PWM. I think i will use an OP to follow the voltage with high current. Also like that i will be sure my input laser source will stay at 0 point all time.
And i manage to tune my motors how Art explain me.
https://youtu.be/a3QQo0dvWFU
That's for now.
Bobby


* WhatsApp Image 2020-01-20 at 15.53.02.jpg (162.64 KB, 900x1600 - viewed 4 times.)

* WhatsApp Image 2020-01-20 at 20.44.01.jpg (134.77 KB, 900x1600 - viewed 7 times.)
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5546



View Profile
« Reply #36 on: January 21, 2020, 09:34:08 AM »

Very nice. Smiley

 It looks like your coming along well. Let us know how the regulatio n circuit works out.
The photos are showing nice progress.

Art
Logged
BobbyW
Newbie
*
Posts: 30


View Profile
« Reply #37 on: Today at 04:40:42 PM »

It looks like your coming along well

Yes and no. First of all i was needed to clear some things. One of them was to see linear on what analog voltage my source will delivery maxim power.
So surprise , surprise, on 2.68V input i get 25ma, on my Fluke , so was very calibrate d measureme nt.
My first test with what i buy , was completel y fail. Not because analog device is not good , because Bobby was a idiot ,
order in hurry and didn't read entire PDF. At least i made a good choice on optocoupl er
https://pdf1.alldatasheet.com/datasheet-pdf/view/598737/CEL/PS9151.html
The PWM to DAC converter was fail , because dont let me to control the VCC in full scale reference by REF pin.
https://tz.infinite-electronic.hk/datasheet/73-LTC2644IMS-L10-TRPBF.pdf
Whatever soon my stupid source has that residual voltage input (the chinese creator let her like that , is written in PDF) i was force to deal with that.
So next help me the optpcoupl er a log potentiom eter and the most loved OP LM324 .
Now i can deal in full PWM range on any level. We will se if the laser respond in the same way >
Bobby


* WhatsApp Image 2020-01-21 at 19.01.40.jpg (168.12 KB, 900x1600 - viewed 1 times.)

* WhatsApp Image 2020-01-22 at 22.09.43.jpg (169.33 KB, 900x1600 - viewed 1 times.)
Logged
BobbyW
Newbie
*
Posts: 30


View Profile
« Reply #38 on: Today at 04:45:22 PM »

I forgot to say , the small potentiom eter in the picture , is used to set the max power of laser , is conected to the external one (have 20 micro steps on full jog).
Now i thinking what simple was to use a pre-amplifier IC controlle d by voltage . Ahh , but is ok like that , i will test later .
Bobby
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!