Single phase stepper motor driver


















Pressing it second 2 nd time selects double coil excitation and when it is pressed 3 rd time it selects half step coil excitation. Every time the selected mode is displayed on LCD. Complete functionality of project is because of the program downloaded into arduino board microcontroller ATMega The program is the soul of the project.

The program also known as sketch is written and compiled in arduino IDE software tool. You must be logged in to post a comment. Questions related to this article? Tell Us What You Think!! Cancel reply You must be logged in to post a comment. The driver usually comes with a small adhesive-backed heat sink, which I recommend you to install right away. You can also buy a bunch of small heat sinks from Amazon for really cheap. Now that you have wired up the driver and set the current limit, it is time to connect the Arduino to the computer and upload some code.

For this specific example, you do not need to install any libraries. This sketch controls both the speed, the number of revolutions, and the spinning direction of the stepper motor. The sketch starts with defining the step and direction pins. I connected them to Arduino pin 3 and 2.

The statement define is used to give a name to a constant value. The compiler will replace any references to this constant with the defined value when the program is compiled. So everywhere you mention dirPin , the compiler will replace it with the value 2 when the program is compiled. I also defined a stepsPerRevolution constant. Because I set the driver to full step mode I set it to steps per revolution.

Change this value if your setup is different. In the loop section of the code, we let the motor spin one revolution slowly in the CW direction and one revolution quickly in the CCW direction. Next, we let the motor spin 5 revolutions in each direction with a high speed. So how do you control the speed, spinning direction, and number of revolutions? For this we use the function digitalWrite. In this example sketch, the for loops control the number of steps the stepper motor will take.

The code within the for loop results in 1 step of the stepper motor. Because the code in the loop is executed times stepsPerRevolution , this results in 1 revolution.

In the last two loops, the code within the for loop is executed times, which results in steps or 5 revolutions. Note that you can change the second term in the for loop to whatever number of steps you want. The speed of the stepper motor is determined by the frequency of the pulses we send to the STEP pin. The higher the frequency, the faster the motor runs.

You can control the frequency of the pulses by changing delayMicroseconds in the code. The shorter the delay, the higher the frequency, the faster the motor runs. One of the advantages is that it supports acceleration and deceleration, but it has a lot of other nice functions too.

You can download the latest version of this library here or click the button below. The Library Manager will open and update the list of installed libraries.

Select the latest version and then click Install. The following sketch can be used to run one or more stepper motors continuously at a constant speed. No acceleration or deceleration is used.

The next step is to define the A to Arduino connections and the motor interface type. The motor interface type must be set to 1 when using a step and direction driver.

You can find the other interface types here. Next, you need to create a new instance of the AccelStepper class with the appropriate motor interface type and connections. The name that you give to the stepper motor will be used later to set the speed, position, and acceleration for that particular motor.

You can create multiple instances of the AccelStepper class with different names and pins. This allows you to easily control 2 or more stepper motors at the same time. Speeds of more than steps per second can be unreliable, so I set this as the maximum. If you have multiple stepper motors connected, you can specify a different speed for each motor:. In the loop we first set the speed that we want the motor to run at. For this, we use the function setSpeed. This depends on the set speed and the time since the last step.

If you want to change the direction of the motor, you can set a negative speed: stepper. Search by Specification. A Single Driver to Support a Variety of Motors The driver is equipped with an automatic recognition function, which recognizes the attached motor. Low Vibration In addition to the microstep drive system, the AlphaStep AR Series also uses the smooth drive function to allow for smoother motion.

High Response The stepper motor operates synchronously with pulse commands to achieve high response. Capable of Driving Large Inertia Loads Compared to a servo motor of the same frame size, a larger inertial load can be driven regardless of speed conditions. Automatically Controlled Electromagnetic Brake A separate circuit is not needed to control the electromagnetic brake. Separation of Main Power and Control Power The control power-input terminals are provided separately from the main power terminals.

Return Operation Two return operation functions are available: return to electrical home operation and automatic return operation. Push-Motion Operation You can input pulses to perform push-motion operation where the load continuously has force applied to it.

An arbitrary value can be set for the home position. Linked operation This is a multistep speed-change positioning operation linked to operating data. Linked operation 2 This is a positioning operation with timer linked to operating data. Sequential mode sequential positioning The positioning operation starts in order from operating data No.

Automatic Return Operation This automatically returns to the original stopped position when the motor has become misaligned due to an external force during non-excitation.

Absolute Backup Using the battery accessory makes the absolute system. Group Sending Function via RS communication or Network Converter Groups can be configured with multiple axes connected via RS communication, and commands sent to each group. High Reliability with Closed Loop Control. Learn More Search by Specification. Learn More Select Gateway. Learn More Select Controller. Select Mounting Plate. Select Cable. Select Power Cable. Control Options - Control Module. Select Control Module.

Support Software Select Communications Cable. Software Videos. Select Battery Set. Select Regeneration Unit. System Configuration. Downloads Support Software. Product feature: 1. Capacity range: 0. Changzhou Hejie Motor Co. Changzhou Prostepper Co. Shenzhen Phaeton Electric Co. Single phase V 2. Higee Machinery Shanghai Co. Fetching products Images Search. Please enter 20 to characters to contact this supplier.



0コメント

  • 1000 / 1000