Until another board arrives, I have some UNO CNCshield v3 lying around. Is there any good setup to beef up a K40 with that? Also, any schematic to do a middleman adapter.
I’ve lost an while searching out there but I only find “chitchat videos” of how cool is this or that but no a good old blog with connections and schematics.
You can invert the pwm signal in grbl. You need to change the code spindle.c where you can initialise the pwm timer register. Also atmel has a datasheet on how to do that on their website
@Jorge_Robles Here is a good link about interfacing that board; http://diy3dtech.com/?s=cnc+sheild
Also when you say “invert the PWM” are you referring to interfacing with the “L” input? If you control the laser with the “in” input (where the pot is) you do not need to invert the PWM signal but will need to invert the laser “on” signal to trigger the power supply “L” input. You can use Peter’s inverter or if you are comfortable with programming, this can be done in the GRBL config.h file. Also be aware that the signal pins have changed from GRBL v0.8 so if you are going to use the newer GRBL then you will need to adjust the board’s pin out accordingly.
Thanks @HalfNormal , yes “Inverting PWM” was about the L input. I think will use the inverter, but have to get the model of transistor and resistance values. Anyway, I’m doing this all on my head. I’m sure I will have a bunch of questions when unit arrives.
When you say interfacing with “in” input, I guess L controls Enable (M3), and IN is the PWM (Sxxx) real signal?
@Jorge_Robles i use a switch so i can choose between the pwm and pot which is useful when cutting. However most cnc software let you tune the pwm output in steps of 10% increase on the fly