Hi, this is my K40,

Hi, this is my K40, I hope you’ll like it :wink:
Detailled photo of the peltier module (4x inside de wood box), the original board to get DIR and STEP signals, the water tank made with roofmat contain about 10 liters.
The power (pwm) and the PPI mode is done by an arduino pro micro. There is also a water sensor controler by the arduino, but the temperature is a stand alone screen and probe.
With PPI mode I can setup the pulse time in ms, the PPI, and the power.

I have problem with the PPI mode, after certain time of cutting the power decrease, sometimes after 30 sec of cut, sometimes 5 min. If someone know why??

@Joachim_Franken how are you implementing the PPI mode?

Yes but I don’t see improvement in cutting, my psu give 22mah a full power, so I limited the pwm range to 18mah, I tested at 18mah, from 3 to 8ms, and from 100ppi to 800ppi, but at 800ppi and 5ms at 10mm/s, the signal is near continuous fire

Sorry, I miss read you question, I count the step on x and y and fire during the time programmed once the distance between two point is reached. It’s working with interrupt to get the step, polling is not a good method

@Joachim_Franken Thanks for the info. What controller are you implementing this on?

The original 6c6879m2, i don’t see why every body tell that’s a crap, the only missing feature is to control the laser power by software. I add a valve for the air assist controled by this board also.

I am a little confused. What are you using other than the M2Nano to control the laser? PPI control is not in the software or hardware that comes stock with the unit.

An arduino pro micro with atmega 32u, all signals are intercepted by interrupt, and calculation of the travel distance is done once motors have done 4 steps. With this system, i can engrave at 400mm/s when ppi is inactive, the fire signal is intercepted by interrupt and send on another pin of the arduino

Is your sketch available?

Yes I have github, i’ll put on, are you able to help me on the psu problem?

I will do my best. @Timo_Birnschein ​ might be interested too.

https://github.com/JoachimF/PPI Have fun :wink:
https://github.com/JoachimF/PPI

Thanks!

My code isn’t too messy?

Your code is just fine. WILL let you know if I do any tweaks.