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
- Host: GitHub
- URL: https://github.com/xreef/arduinocncschieldcontrol
- Owner: xreef
- License: mit
- Created: 2018-07-04T07:13:25.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-09T07:11:56.000Z (over 7 years ago)
- Last Synced: 2025-05-29T19:35:41.092Z (8 months ago)
- Language: Makefile
- Size: 302 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.