I'm trying to get grbl to move the carriage of my 2D scanner to a specific position, pause there for a certain amount of time (until the sensor does its thing), and then proceed to the next position which I want to scan.
The scanner is a simple DIY using an arduino uno and the CNC shield. Motion is cartesian, with 2 motors (& drivers) running the y-axis, and one the x-axis. Nothing fancy to see here.
Scenarios I tried so far:
G1: I can never get it to pause at the position I want to scan
G0: I do get it to pause there, but it drops motor current, losing a step and making precise scanning impossible.
Any ideas how I could fix either scenario, or a new approach all together?