This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:cnc:4th_axis [2025/04/15 00:01] – [A manual controller for a spindle motor] admin | projects:cnc:4th_axis [2025/04/15 00:07] (current) – [A manual controller for a spindle motor] admin | ||
---|---|---|---|
Line 7: | Line 7: | ||
Project summary: | Project summary: | ||
- | * Code runs on an arduino | + | * Code runs on an arduino |
* Connected to an [[https:// | * Connected to an [[https:// | ||
* With a 4k7 potentiometer on A0, direction and speed can be set. | * With a 4k7 potentiometer on A0, direction and speed can be set. | ||
* When using a button on D8 (to GND), the axis rotates certain degrees (which can be configured with a BCD switch) in the direction it was rotating previously and stops afterwards, regardless of the potentiometer setting. | * When using a button on D8 (to GND), the axis rotates certain degrees (which can be configured with a BCD switch) in the direction it was rotating previously and stops afterwards, regardless of the potentiometer setting. | ||
* To start motor movement, either press the switch, or move the potentiometer to the center position, after which the motor will rotate continuously when moving the potentiometer any further. | * To start motor movement, either press the switch, or move the potentiometer to the center position, after which the motor will rotate continuously when moving the potentiometer any further. | ||
- | * If the indicator led is blinking fast, it will indicate that the potentiometer need to be positioned at the center first. This is to prevent any unwanted | + | * If the indicator led is blinking fast, it will indicate that the potentiometer need to be positioned at the center first. This is to prevent any motor rotation |
* As a latest addition, a 2-digit BCD-switch is connected to inputs A1-A5, | * As a latest addition, a 2-digit BCD-switch is connected to inputs A1-A5, | ||
Line 25: | Line 25: | ||
| CN4,5 | /Off | Power off stepper drivers | | CN4,5 | /Off | Power off stepper drivers | ||
| CN4,6 | / | | CN4,6 | / | ||
- | | CN4,7 + CN4,8 | +5v | This pin is not connected | + | | CN4,7 + CN4,8 | +5v | This pin was originally |
| CN4,9 + CN4, | | CN4,9 + CN4, | ||
| CN7.5 | / | | CN7.5 | / |