Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

laser not burning #299

Closed
murph1480 opened this issue Mar 12, 2018 · 24 comments
Closed

laser not burning #299

murph1480 opened this issue Mar 12, 2018 · 24 comments

Comments

@murph1480
Copy link

question regarding the moski 3018 cnc.

I am new to this game and do not have the best computer skills so please keep that in mind as I need to be talked to in Lameman terms.

I have used the laser on 1 project thus far successfully. however after that project was finished the system stopped responding. so I re-freshed the software and reloaded the driver. success the machine is responding properly again. except the g code movements have shifted to mirror commands. left button moves the table right.... ETC. and the laser will turn on but does not burn now, no matter how I focus it I cannot even get it to burn a piece of paper. all of this took place after downloading and installing GRBL 1.1
ive tried searching everywhere on the net for this particular model and how to trouble shoot and much to my dismay I cannot find any assistance other than on here, and being inept to the technical side of computer issues I am lost

anyone able to help me out in the easiest form of assistance??

Murph

@vovpff
Copy link

vovpff commented Mar 14, 2018

@murph1480 check PWM params. After update my cnc to 1.1f grbl I checked the same stuff. Problem was in PWM value. For old siftware there are about 200 for max power, after update 6000. laser 12 V 2.5 W

@murph1480
Copy link
Author

murph1480 commented Mar 14, 2018 via email

@vovpff
Copy link

vovpff commented Mar 15, 2018

@murph1480 S-MIN and S-MAX
image
For S250 my laser is visible but not burn now. I use this for targeting. In the past with older GRBL S255 was maximum power: burns like on maximum. Now maximum is 6000.

@arkypita
Copy link
Owner

arkypita commented Mar 15, 2018

I suggest to configure grbl $30 to 255 and $31 to 0 then use S-MIN S-MAX as 0-255

See: #285
https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#30---max-spindle-speed-rpm

@murph1480
Copy link
Author

murph1480 commented Mar 15, 2018 via email

@vovpff
Copy link

vovpff commented Mar 16, 2018

@murph1480 type $$ in console. I must receive message like this:

$0=10 (step pulse, usec)							
$1=25 (step idle delay, msec)					
$2=0 (step port invert mask:00000000)				
$3=5 (dir port invert mask:00000101)			
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0.010 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=0 (soft limits, bool)
$21=0 (hard limits, bool)
$22=0 (homing cycle, bool)
$23=0 (homing dir invert mask:00000000)
$24=25.000 (homing feed, mm/min)
$25=500.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$100=800.000 (x, step/mm)							
$101=800.000 (y, step/mm)							
$102=800.000 (z, step/mm)							
$110=5000.000 (x max rate, mm/min)					
$111=5000.000 (y max rate, mm/min)					
$112=500.000 (z max rate, mm/min)					
$120=50.000 (x accel, mm/sec^2)						
$121=50.000 (y accel, mm/sec^2)						
$122=10.000 (z accel, mm/sec^2)						
$130=200.000 (x max travel, mm)						
$131=200.000 (y max travel, mm)						
$132=200.000 (z max travel, mm)

After that you can change parameters by typing $xxx=yyy. xxx - number of parameter. yyy must be adjusted for your CNC machine.

@murph1480
Copy link
Author

murph1480 commented Mar 16, 2018 via email

@vovpff
Copy link

vovpff commented Mar 16, 2018

@murph1480 unplug laser module and check voltage at connector pins.

@Icemanhpg
Copy link

You should have a command such as $30 and $31 to enable laser mode

@murph1480
Copy link
Author

murph1480 commented Mar 26, 2018 via email

@Icemanhpg
Copy link

Did you change your pin layout after changing to 1.1? The signal pin should be D11 now.

@murph1480
Copy link
Author

murph1480 commented Mar 26, 2018 via email

@Icemanhpg
Copy link

Doesnt matter which board it is.. If it uses GRBL you will have to flash the Arduino Board. It is like upgrading your windowas software. doesnt matter which computer it is is till needs to be upgraded.

@murph1480
Copy link
Author

murph1480 commented Mar 26, 2018 via email

@murph1480
Copy link
Author

murph1480 commented Mar 26, 2018 via email

@Icemanhpg
Copy link

https://github.com/grbl/grbl/wiki/Flashing-Grbl-to-an-Arduino . It is all explained in the link

@Icemanhpg
Copy link

All your settings will have to be configured from scratch. So make a note or simply a screenshot. I do not have the current stock settings at hand.

@murph1480
Copy link
Author

murph1480 commented Mar 26, 2018 via email

@Icemanhpg
Copy link

After you have flashed the Arduino . You can open lasergrbl, Connect to the arduino using the usb connection at 115000 Baud, and in the command line type in $$. This will show you all the command lines. Input your values here. by typing " $+ line number you want to change = and input new value then press enter.you have succesfully updated a value. Do it with all the values that have changed. Then pay attention to values $31 and $32. These are the ones that enable laser mode. Read Arkypita notes on changing these values. Hope this helps

@arkypita
Copy link
Owner

One more info: between 0.9 and 1.1 the grbl team decide to change the pwm base frequency from 8khz to 1khz.

This should be not a problem, but some user has reported issues with their laser driver that doesnt work well with lower freq

#63

@vovpff
Copy link

vovpff commented Mar 27, 2018

@murph1480 usually woodpecker board can't be upgraded correct because Chinese guys make some safety tricks.
If you have woodpecker board with soldered Atmega chip on board simplest way is:

  • take new arduino nano and upload latest grdl
  • unsolder chip from nano and woodpecker PCB
  • replace chip on woodpecker

I have CNC 3018 and only this actions helps me for updating GRBL with correct parameters

@arkypita
Copy link
Owner

arkypita commented Mar 27, 2018

usually woodpecker board can't be upgraded correct because Chinese guys make some safety tricks.
If you have woodpecker board with soldered Atmega chip on board simplest way is unsolder and replace chip

@vovpff really? what safety tricks they made to make this procedure so difficult?!

In my opinion the only safety trick could be the lack of arduino bootloader, so you cannot reprogram the chip using usb-serial programmer, but if you solder 6 wire-wrap wires to the atmega (GND, VCC, RESET, SCK, MOSI, MISO) on woodpecker board, you can add an ICSP connector and use ICSP programming.

https://www.arduino.cc/en/Tutorial/ArduinoISP

image

image

@arkypita
Copy link
Owner

arkypita commented Mar 27, 2018

If you are using Woodpecker 2.7 GRBL board the ICSP connections are available via through holes beneath the main I/O header.

Pad1 - Vcc
(gap)
Pad2 - GND
Pad3 - RST
Pad4 - SCK
Pad5 - MOSI
Pad6 - MISO

Use the following guide if you are struggling to flash the bootloader onto the Woodpecker board. You will need a spare Arduino to act as a ISP if you do not have one already. https://www.arduino.cc/en/Tutorial/ArduinoISP

I then used Arduino IDE to load the latest version of GRBL.

From: https://www.youtube.com/watch?v=kJRy3_heliQ

image

@vovpff
Copy link

vovpff commented Mar 28, 2018

@arkypita thanks for your solutions but i tried them without result. Greatest for me was replacement of atmega chip. 2$ and 15 minutes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants