I've configured and installed servos to control my wife's LongArm sewing machine. She uses Inkscape to convert a PDF pattern after editing to gcode and all-in-all it's working. However there are several challenges and I'm trying to find solutions. Most of these stem from the fact that the thread will break suddenly and the servos need to be stopped. The system will generate an alarm when this happens but not sure how quickly, relative to breaking point this can help getting back to continuation point. 1) first idea is to provide my wife with a remote clicker, e.g. small rf remote that triggers a relay on a small relay on a PCB that can be connected to a Blackbox-x32 relay input? 2) Is there any form of API to the controller software to activate Pause or Abort that would then stop movement? (No WIFI still does not work-NO my wifi works fine, I'm using USB cable :-( OK, once we stop the servos, we need to get back close to the point of thread breaking. Currently we are move back to origin and rerun gcode with "needle up" (i.e no sewing). Once we get close we pause the gcode, assuming things line up close the point of breakage we can then play gcode with "needle down". The steps to get back to sewing after breakage is tedious and time consuming. Ideally what we'd like to be able todo is make note where gcode was paused and then when ready to restart having it go to a point before (since it coasts) and the step gcode one update a time into right position. The gcode positioning is relative but it would be nice if there was a way to compute absolute position from deltas and drive to that spot and the restart. Any ideas on this? Thanks in advance for any constructive feedback. Blackbox-x32 Nema-23 servos 2 axis Longarm - 14ft x 3ft sewing area
Spacebar (pause) or Escape (abort) Could program a microcontroller to emulate keyboard to send keystroke DigiSpark HID Keyboard Explained - Complete DigiKeyboard Commands