I know the dreaded laser control questions…
I have a Elekslaser 2500mw 3 wire unit and i am curious if everyone is leaving the ramps configured as EFB or are you changing to SF mode for specific spindle or Laser controls?
second question is in regards to speed control for my spindle, it has Mach3 speed control (10v pwm)
has anyone done this native on the RAMPS or are we needing to build some sort of 10V control circuit to do this?
thanks Ryan
I just loaded the newest clone of marlin 2.0 and enabled dual steppers to get it back to a match for your version of the older 2.0 clone. I needed to move to the new clone due to a bug in the older 2.0 that would not allow pin debugging to be enabled.
I will post my results of M43 in the morning. but still no pwm control even with no other changes except pin swap for 44. M43 shows pin 44 being listed for multiple items and shows it with a status of protected. Does this mean its in use by another feature and i need to use another pin? if so what is my next best 5v pwm pin on ramps 1.4?
no response when watching with M43 P44 W
and executing M106 S255
i am attaching zip of configs and pin_ramps.h
only files that have had changes are included http://www.bits-stl.com/downloads/Configuration.zip
From some searching, the PWM pins appear to be as follows: If you look at the Mega, then you’ll see that pins 2 through 13 are marked PWM. Checking the RAMPS pinout, 8,9 and 10 are used for the mosfets on the RAMPS, 2 and 3 are used by the X endstops though most printers don’t use X max, so pin 2 may be free on your machine. Also, 44,45 and 46 are also PWM capable, which isn’t reflected on the silkscreen. So, any of 2,4,5,6,7,11,12,13,44,45 and 46. From: reprap dot org slash forum slash read.php?219,426628
thanks i will try 6, i know i have seen it mentioned in a few posts elsewhere as well.
I think i will build a quick LED and resistor circuit to use for plugin testing since i should be able to see it ramp up and down, in case its an issue with the laser im dealing with.
looks like switching to pin 6 i can control the led/resistor circuit and dim it. but no control of the laser. i tried 12v + and 12- from the power supply and signal only on pin 6 and also 12+ from supply and pin 6 signal and ground associated to pin 6 for 12v-. still have just manual on off control using button on top of laser giving only full power or what they call dim light mode by the switch. no fan controled pwm changes
What does everybody think is this a bad elekslaser module?
its an eleksmaker fb03-2500mw, no specsheet really available but here is a link to a few sellers
they say its both ttl and pwm (ttl for on/off, and pwm for power)
EleksMaker® FB03 new series of laser modules, exquisite workmanship and nice appearance.
445nm 2500mW focusable blue laser module, with TTL/PWM functions. (TTL and PWM are compatibe while TTL can control the switch and PWM can control the power).
Something to keep in mind is the default pwm rate for 8bit ramps boards is 7Hz. Lots of devices expect pwm signals in the kHz range. If you look at my spindle post (in mpcnc) I go into some detail on how to modify the PWM rate. It’ll lower steps available but might solve your issue.
Hi Bob. I posted a solution for a 5v TTL controlled 12 v powered laser here. It is for GRBL on a Mega + Ramps board if interested. This version of GRBL MEGA 5X works properly with Lightburn. I haven’t tried spindle speed control with this since I am using routers with adjustable speeds.
Not to butt in, but I’ve used Mega/RAMPS with that same 2.5 watt laser… using remapped D9 fan output (12v) to pin 44 (5v) for the TTL modulation. Check out this post and following (scattered)… where I show scope shots of the output for various M106 Sxxx input…
thanks for the input there, I have a feeling i may have either gotten a faulty unit or a counterfeit unit.
I was able to verify pwm output was variable with use of the lcd and resistor circuit