1XD misuse to trigger an Arduino
-
Hello together.
Here is what i am trying to do:
I am developing a Special Tool, which is build around an Arduino taking Measurements.
To sync it up with the Motion precisely my Plan is to use a Step Signal connected to an Interrupt on the Arduino. This way i can calculate the precise location. By assigning it an Axis and setting it to 1Step/mm I can drive it from within Gcode like this to get for Example 10 measurements: G1 U10.The System is based around the CAN Bus, so it seemed obvious to get a 1XD Board for this.
However now I am not sure how I'd need to connect it.From the documentation I was under the Impression I could just use an GPIO utilizing the Arduino's Internal Pullup Resistors and connect the Pin to STEP- .
What do you think?
-
@theBohnanza the 1XD board has 5V differential STEP outputs with active pullup and pulldown. So you can connect it more or less directly to a 5V Arduino. If the 1XD and Arduino use different power supplies then common the grounds (i.e. negative outputs) of both power supplies, and put a series resistor of about 10K between the 1XD STEP output and the Arduino input to prevent excessive current flow when only one of them is powered.
-
@dc42
Thank you, that's the Info I needed.