-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[BUG] Co2 Raster Laser On Marlin 2.0 on Re-Arm #14934
Comments
Can you confirm you used the same version of Marlin on both boards, we need to verify that the change in functionality is caused by the mcu, not Marlin version. |
I'm running 1.1.9 on the mega 2560, I'll load up 2.0 tonight and reply back
with my findings. Thank you for the quick reply back!
…On Mon, Aug 12, 2019, 08:07 Chris Pepper ***@***.*** wrote:
Can you confirm you used the same version of Marlin on both boards, we
need to verify that the change in functionality is caused by the mcu, not
Marlin version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#14934?email_source=notifications&email_token=ABQVSVMHVVUQJKX27VUNKI3QEGDFPA5CNFSM4ILCQY3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DASLQ#issuecomment-520489262>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQVSVJZCMUWOUYNSY4YXXLQEGDFPANCNFSM4ILCQY3A>
.
|
So per .p3p's request, I loaded 2.0 into the mega 2560. I got the same results that I got with installing it into the re-arm. The laser output is not synced to the movement in raster mode. The pins are the exact same that I had when I ran 1.1.9 successfully. I didn't think to do that first, It was a great idea! A few months back I had the same issue with a teensy 3.2 with Marlin 2.0 and it had the same exact issue. I wrote it off as it not supporting fast PWM so I went back to my trusty Arduino Mega running 1.1.9 and sidelined the teensy. I had a controller die and figured why not upgrade to a re-arm? |
Had a quick look through the open issues regarding lasers and found #11576, you are probably hitting the same issue as them (discussed later in the thread not the original delay issue), a limit was added on how often You could trying undoing this change although the commit it was added in didn't explain why the limit was added. Change Marlin.cpp @ line 636
to just
|
Found the PR(#8446) it was changed in, and ironically it was added because of a limitation in the LPC176x Software PWM system, the implementation has changed since then (late 2017) to not be blocking so I'm not sure it is still needed at all .. |
.p3p Thank you for looking into this, I found the lines of code and will make the changes and update this post. Also looking into #11576, very good lead!!! |
I updated the code to reflect and it works! I'm going to post this in the laser spindle section for others Thank you again! |
I'm pretty sure the update frequency limit is not required anymore, for the reason it was added at least, does it run ok on the LPC176x(Re-ARM)? |
Yes it does, I tested it last night. :) |
@mattr254 so we can close this one? |
Yes please
…On Tue, Sep 24, 2019, 07:27 Bo Herrmannsen ***@***.*** wrote:
@mattr254 <https://github.com/mattr254> so we can close this one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14934?email_source=notifications&email_token=ABQVSVMT2NJ66ZONDN4VTY3QLIWUZA5CNFSM4ILCQY3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7OYJUY#issuecomment-534611155>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQVSVM6TXN46SDRDLTLSH3QLIWUZANCNFSM4ILCQY3A>
.
|
Hey - i have the same setup with Marin 1.1.9 and the Atmega2560. I enabled Fan Control and Fast_PWM. But the engraving still is not in sync. May you help me ?! TY! |
Your intensity and trigger wires might be backward. I found the best pins
to use are the servo ctrl pins. I moved over to Somoothieware on my Re-arm
and haven't looked back so my memory is a little foggy on the Marlin
specifics... On Smoothieware I like how it is able to automatically stop
the laser output when the head stops and switches directions so it doesn't
burn hotter in the corners. Sommthieware doesn't use fan control instead it
uses G1 and G0 to turn the laser on and off. If you're going to do a lot of
raster images I would recommend it. Vector burns Atmega should be able to
handle it.
…On Wed, Feb 26, 2020 at 9:41 AM Thunder8888 ***@***.***> wrote:
I've been running Marlin on my Mega 2560 for over a Year now using
Hardware PWM's To control the Intensity and enable and it works great on
raster images. Well, it's slow but it still works (Max Speed 3000 mm/s).
I'm able to get this to work by enabling fastPWM and using fan commands.
I've been trying to use the new 32 bit F/W on the Re-arm and can't get it
to work. The Pins have output. I've tried several of the PWM pins on the
board running a break out not a shield. The laser doesn't seem to be in
sync with the movement. I've tried both the interrupt type and the
dedicated type.
I've tried Pins P1_18,P2_04,P1_21 All in different combinations for both
intensity and enable.
Am I missing something?
Hey - i have the same setup with Marin 1.1.9 and the Atmega2560. I enabled
Fan Control and Fast_PWM. But the engraving still is not in sync. May you
help me ?!
TY!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14934?email_source=notifications&email_token=ABQVSVOW5GWXCFYGVZMZQF3RE2ZUHA5CNFSM4ILCQY3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENBMK3A#issuecomment-591578476>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQVSVPIULYD2J2FXBWPMULRE2ZUHANCNFSM4ILCQY3A>
.
|
Ok - i‘ll try! Ty! Which board / software do you use atm /w smoothieware |
Re-ARM it's a direct RAMPS 1.4 Plugin
…On Wed, Feb 26, 2020 at 10:21 AM Thunder8888 ***@***.***> wrote:
Ok - i‘ll try! Ty! Which board / software do you use atm /w smoothieware
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14934?email_source=notifications&email_token=ABQVSVKUZSAPGTBX3PWX7GTRE26LRA5CNFSM4ILCQY3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENBRCHI#issuecomment-591597853>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQVSVJGMT2AGUXJVD3QZQ3RE26LRANCNFSM4ILCQY3A>
.
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I've been running Marlin on my Mega 2560 for over a Year now using Hardware PWM's To control the Intensity and enable and it works great on raster images. Well, it's slow but it still works (Max Speed 3000 mm/s). I'm able to get this to work by enabling fastPWM and using fan commands.
I've been trying to use the new 32 bit F/W on the Re-arm and can't get it to work. The Pins have output. I've tried several of the PWM pins on the board running a break out not a shield. The laser doesn't seem to be in sync with the movement. I've tried both the interrupt type and the dedicated type.
I've tried Pins P1_18,P2_04,P1_21 All in different combinations for both intensity and enable.
Am I missing something?
The text was updated successfully, but these errors were encountered: