An open API service indexing awesome lists of open source software.

https://github.com/xreef/arduinocncschieldcontrol

A simple program to control CNC Shield to calculate step per millimeter and move/test axis movement
https://github.com/xreef/arduinocncschieldcontrol

Last synced: 5 months ago
JSON representation

A simple program to control CNC Shield to calculate step per millimeter and move/test axis movement

Awesome Lists containing this project

README

          

# Arduino CNC Schield Control
A simple program to control CNC Shield to calculate step per millimeter and move/test on axis.
I used this program to calculate step/mm.

The my Cyclone PCB Factory project is described here
https://www.instructables.com/id/Cyclone-PCB-Factory-My-Way-Step-by-Step/

```
= x, y, z
= 1 (activate), 0 (deactivate)
= 1 (invert direction), 0 (normal direction)
= impulse delay in microsenconds
```

Commands:
```
g,, --> Example: g,x,1 (start x movement)
d,, --> Example: d,x,1 (set direction to inverse)
v,, --> Example: v,x,2000000 (set delay step to 2000000 microseconds)
```

Basic,
- upload the sketch
- connect via serial at 9600 baudrate
- now you can send command via serial interface.

Usage,
- position the spindle to the edge (, when you are near the edge )
- then copy step number (ES: 2345678) and mark the position of splindle (ES: 23mm from edge)
- start splindle movement to the other edge of axis ( change direction start movement)
- stop near the other edge
- then copy step number (ES: 2654678) and mark the position of splindle (ES: 166mm from the first edge)
- calculate total step (ES: 2654678 - 2345678 = 309000 total step) then calculate distance traveled (ES: 166mm - 23mm = 143mm)
- calculate step/mm (ES: 309000/143=2160,839160839161)

More distance traveled more precision you can obtain.