Author Topic: T2Laser with CNC Shield v4 - Need help please.  (Read 25144 times)

parnz

  • Newbie
  • *
  • Posts: 23
    • View Profile
T2Laser with CNC Shield v4 - Need help please.
« on: October 18, 2016, 07:26:18 PM »
1) It's a custom build laser engraving machine but I'v not build the structual yet just have the electronics parts.
2) The controller board is CNC Shield V4 (https://www.google.com/search?q=cnc+shield+v4&biw=1366&bih=589&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjQg46G4-XPAhUJPo8KHRnkBlEQ_AUICigD)
3) With Benbox software + benbox.hex It works the X and Y axis stepper spin (Laser Diode not connected, waiting for received from china)
4) With benbox.hex + T2Laser It works XY axis stepper spin like 3).
5) With grbl 0.9 .hex (comes with T2)+T2Laser not works It's feel like stepper want to move but it can't, LED on Nano flashing rappidly.
6) With grbl 1.1c.hex (comes with T2)+ T2Laser the result is the same as 5).
7) With grbl 1.1d.hex, laserink.hex, jtech.hex each of them+T2Laser the result same as 5).

in sammarry:
My board works only bexbox.hex+T2Laser.
I've tried 1) to 7) with Universal gcode Sender and get the same result as T2.

p.s. I can't figure it out how to send gocde in Bencutlaser the gui is very complex.

Thanks in advance.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2851
  • Administrator
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #1 on: October 18, 2016, 07:55:31 PM »
Welcome to the forum @parnz...!!!

>p.s. I can't figure it out how to send gocde in Bencutlaser the gui is very complex.

Are you wanting to load your gcode from a file?
or
Do you want to create your gcode by hand, on the fly?
or
Do you want to generate your gcode from a .dxf file?

UPDATE: Did you make the PWM Modification on your controller board?
« Last Edit: October 18, 2016, 07:56:52 PM by Administrator »
Admin -- Ralph -- ralphfreshour at gmail com
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to ralphfreshour at gmail com

parnz

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #2 on: October 18, 2016, 08:42:41 PM »
Welcome to the forum @parnz...!!!

>p.s. I can't figure it out how to send gocde in Bencutlaser the gui is very complex.

Are you wanting to load your gcode from a file?
or
Do you want to create your gcode by hand, on the fly?
or
Do you want to generate your gcode from a .dxf file?

UPDATE: Did you make the PWM Modification on your controller board?

-Yes, I want to load my *.nc file and send it to the board.
- If you mean swap between D11 and D12, then I've not mod it because D12 pin is there (in image below) and D11 connected to Z-,Z+ (end stop switch) pin so I can connect the laser diode to Z- or Z+ without modifycation.

thanks Ralph.




Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2851
  • Administrator
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #3 on: October 18, 2016, 08:57:46 PM »
>Yes, I want to load my *.nc file and send it to the board.

All you need to do is be on the COM Port tab. Connect. Load the file and then send it.

Please see my two attachments.

I do not have your controller board so I am unfamiliar with it, but you will need your laser to work in PWM in order to use BCL. I have sticky threads at the top of my BenCutLaser board to help you get started.

Let me know if these instructions do not work for you.
Admin -- Ralph -- ralphfreshour at gmail com
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to ralphfreshour at gmail com

parnz

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #4 on: October 18, 2016, 09:30:51 PM »
Thanks for the instruction  ;) I'll try bcl again to see the x,y stepper work when i'm back home.

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2851
  • Administrator
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #5 on: October 18, 2016, 09:49:10 PM »
Thanks for the instruction  ;) I'll try bcl again to see the x,y stepper work when i'm back home.

If it doesn't work then most likely you don't have PWM setup on your controller board. Maybe someone else who can identify your board can jump in here and tell both of us how to set it up for PWM  :D
Admin -- Ralph -- ralphfreshour at gmail com
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to ralphfreshour at gmail com

Lob0426

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1628
  • Let the Magic Blue Smoke out!
    • View Profile
    • Richards RasPi Web Server
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #6 on: October 18, 2016, 11:30:25 PM »
As you said. You will have to connect to Z+. The pwm enabled firmware changed pins from original D12 to D11. I see the same thing on the CNC Shield V3 with an Uno.
Richard
A5 2.5W w/homing switches on L7
A5 2W diode self upgraded from stock 500mw
Printrbot Play. Ext bed, integrated tablet control.
Printrbot Simple Metal
USA

parnz

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #7 on: October 18, 2016, 11:57:03 PM »
If it doesn't work then most likely you don't have PWM setup on your controller board. Maybe someone else who can identify your board can jump in here and tell both of us how to set it up for PWM  :D

Hmm...Why PWM is matter to get the y,x axis to move?  ??? (this is my main problem: with grbl compliled by myself from github repo or either precompiled one which included in bcl or L2 the x and y axis not moving correspond to the gcode (ex. X20 or Y20 feed to the Nano but benbox.hex does)

AFAIK the PWN use for controlling how much the laser diode produce its light power.
So either PWM capable or not the x,y axis should move right?
Please collect me.  :-\

For other try, I may build my own controller board based on Arduino Nano and two stepper driver and then try again.

thanks  :)
« Last Edit: October 19, 2016, 12:29:47 AM by parnz »

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3263
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #8 on: October 19, 2016, 05:48:29 AM »
One of the differences that I see is your board has jumper options for setting the micro stepping on the stepper motor drivers. The Eleks Lx boards we typically use hardwire the micro stepping to 16. This needs to be synchronized with the values stored in EPROM.

I agree that PWM "should" be independent of X,Y,Z motion.

Have you tried using a simple terminal emulator such as teraterm and entering the G-Code by hand?
SARCASM - Just one more service we offer here.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7308
    • View Profile
    • T2Laser
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #9 on: October 19, 2016, 06:14:06 AM »
Set 1/16th microstepping and load the T2Laser default parameters and it should work. I have used that same board in testing.

When it is working with Benbox firmware did you use T2Laser without any changes, it should also work.
« Last Edit: October 19, 2016, 06:15:07 AM by Zax »

parnz

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #10 on: October 19, 2016, 07:46:37 AM »
thank ggallant571 and Zax to point me out to the microstep settings.
My driver is A4988 not sure how to set it to do 1/16 microstep.


May I ask how to set it to 1/16? found this one but I'm confuse... :-\



beikeland

  • Guest
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #11 on: October 19, 2016, 08:33:16 AM »
The stepper drivers usually have pull down resistors on MS1, MS2 and MS3 so if you measure voltage between ground and MS1 you should read 0V, a logic 0.

If you then install the jumpers under the stepper drivers this should apply a 5V signal to these pins, bringing them to a logic 1, or 5V. When all three jumpers are in place you should have 1/16th microstepping on A4988 boards.

Agastar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1878
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #12 on: October 19, 2016, 08:53:14 AM »
That was a very good explanation!

parnz

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #13 on: October 19, 2016, 09:00:15 AM »
The stepper drivers usually have pull down resistors on MS1, MS2 and MS3 so if you measure voltage between ground and MS1 you should read 0V, a logic 0.

If you then install the jumpers under the stepper drivers this should apply a 5V signal to these pins, bringing them to a logic 1, or 5V. When all three jumpers are in place you should have 1/16th microstepping on A4988 boards.


thanks beikeland
I then take a look on a copper side turn out it wiring the Ground instead of +5v.
So I unplug the Nano and the drive put them in the breadboard and wiring MS1, MS2 and MS3 to +5v now it do microstepping.
But it still not work with grbl 0.9 frimware only work with benbox hex (LX-Nano.328p.20150626.hex)

T2 can recognize it as benbox and work, x,y stepper spin in microstepping mode.
« Last Edit: October 19, 2016, 09:00:57 AM by parnz »

parnz

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: T2Laser with CNC Shield v4 - Need help please.
« Reply #14 on: October 20, 2016, 02:12:35 AM »
I'm suspecting the stepper driver can't handle the step pulse rate ($0). It's a cheap A4988 clone.
« Last Edit: October 20, 2016, 02:14:15 AM by parnz »