Only from some speculative reading. I think it’s supposed to issue a Feed Hold and then stop the spindle and move it away from the work surface, then when the door closes moves the spindle back, start the spindle and do a cycle start.
It’s pretty simple. The Atmega328P has an internal active circuit (I think it’s a MOSFET) that pulls a given pin up to 5 volts when that option is programmed into the chip. It acts like a high resistance (about 37K ohms) so that you can turn the pull-up on and then use a switch to ground to pull the pin low and the internal pull-up limits the current so you don’t burn out the pin grounding it.
The same thing can be accomplished outside of the chip by hooking a resister between +5 volts and the pin. Then the resistor becomes the pull-up and limits the current through the pin when you ground the pin.
It’s a convenience offered by the chip maker to make wiring up switches easier.
Not entirely. This morning I knew nothing about G-codes and after some reading I used your macro from a previous post and added a software pause and hardware resume with follow up movement. Now I know that a lot is possible. If this works for one axis it can be done for the other axis too.
I tried to import this in Easel but that is not allowed. There is some confusion about the hard and software implementation of grbl in the X-Controller. So maybe UGS is easier to do untill Inventables adds a function in easel that does probing.
The z-probe feature in Easel will work with the original X-Carve. You need to run the machine setup under the “Machine” menu. It will get to a page asking if you have a z-probe. If you do have one that works with other software it should work with Easel. Be sure to select the advanced option on the z-probe setup page, so you can enter the height of your device (if not using the one sold by Inventables).
You will need to make sure your arduino is updated to 1.0.
After the positive message from Larry I decided to go to the bottom of this. Success
I went to the Inventables fork and downloaded the grbl library, copied the files to my Arduino and flashed my Arduino UNO with 1.0c. I upgraded Easel to version 0.2.7 and went to machine setup. Choose ShapeOko1 or 2, g Shield and finished setup. My ACME spindle differs from the standard so I used UGS to change that to the right value.
My touch plate is 19mm high and the Inventables only 15mm so the test pocket of 10mm deep should come out at 6mm. So it did.
I could not find a parameter for setting the touch plate thickness so my touch plate willl visit the lathe and lose 4mm.
I made no modifications to the Arduino. So with Easel I can use the Probe from Easel and with DevCAD where I get the g-code file I will use UGS and my macro file.