K40 laser cutting platform control

Hello Everyone
I modified my K40 with a stepper motor to raise and lower the cutting platform using a rep rap driver board about 5 years ago since then I used the board for other projects. Now I would like to get it back running again I don't really want to buy another rep rap board to get it back running I have nanos and megas to use for the controller and tmc2208 drivers for the stepper on hand. I have done numerous searches to figure out a sketch that will allow homing, use 2 buttons to control the direction the platforms moves up and down. I have been told in past projects to avoid any delays in the sketch like the plague, but every sketch I find to get a starting point to work from has some sort of delay in it. I also have a flow meter that will also be sending the flow rates to the arduino I have this part working reading L/pm, flow output in m/L s and total flow in liters. would the delays in the sketches I have found delay(1) to the max of delay(5) effect the flow meters readings that are sent to the LCD? . I don't really need all that info being read and displayed on the LCD but it is nice this parts uses millis for timing. I am no programmer!!! just a cut and paster LOL. thanks for any help you can give

Of course you kept a safety backup copy of the original project code….
Dig that out and you’re at least 70% of the way to success.

LOL who needs no stinking backup LOL. the original setup was done in marlin I think. the K40 still has the original MB. I used the rep rap board just to move the platform stepper.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.