Site Tools


projects:cnc:4th_axis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:cnc:4th_axis [2025/04/15 00:01] – [A manual controller for a spindle motor] adminprojects: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 (nano).+  * Code runs on an arduino Nano V3.0.
   * Connected to an [[https://www.mechapro.de/shop/Schrittmotor-Steuerungen/Einzelachsen-Takt-Richtung-offene-Bauform/HP-Step-pro-1-Kanal-4A-Mikroschritt-Endstufe::135.html|HP-Step.pro stepper controller]].   * Connected to an [[https://www.mechapro.de/shop/Schrittmotor-Steuerungen/Einzelachsen-Takt-Richtung-offene-Bauform/HP-Step-pro-1-Kanal-4A-Mikroschritt-Endstufe::135.html|HP-Step.pro stepper controller]].
   * 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 motor rotation.+  * 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 you probably do not want.
   * As a latest addition, a 2-digit BCD-switch is connected to inputs A1-A5,D2,D3,D10 with the common of the switches to ground. With this switches the rotation angle can be set. The arduino internal pull-up is used at these ports, so no additional resistors are required.    * As a latest addition, a 2-digit BCD-switch is connected to inputs A1-A5,D2,D3,D10 with the common of the switches to ground. With this switches the rotation angle can be set. The arduino internal pull-up is used at these ports, so no additional resistors are required. 
  
Line 25: Line 25:
 | CN4,5  | /Off  | Power off stepper drivers  |  5  | | CN4,5  | /Off  | Power off stepper drivers  |  5  |
 | CN4,6  | /Sleep  | Reduces motor current to 25% from nominal during low state  |  6  | | CN4,6  | /Sleep  | Reduces motor current to 25% from nominal during low state  |  6  |
-| CN4,7 + CN4,8  | +5v  | This pin is not connected but rewired to the internal 5v supply of the stepper controller and used to power the Arduino nano standalone   +5v  |  +| CN4,7 + CN4,8  | +5v  | This pin was originally not connected (NC) and now repurposed to power the arduino controller from the internal 5v supply of the stepper controller  |  +5v  |  
 | CN4,9 + CN4,10  | GND  | Ground  |  GND  | | CN4,9 + CN4,10  | GND  | Ground  |  GND  |
 | CN7.5  | /Reset  | Reset  |  13  | | CN7.5  | /Reset  | Reset  |  13  |
projects/cnc/4th_axis.1744668117.txt.gz · Last modified: 2025/04/15 00:01 by admin