Mio-tech-service.ru

Автомобильный журнал
0 просмотров
Рейтинг статьи
1 звезда2 звезды3 звезды4 звезды5 звезд
Загрузка...

Шаговый двигатель nema 17 схема

Controlling NEMA 17 Stepper Motor with Arduino and A4988 Stepper Driver Module

A stepper motor is a type of DC motor that works in discrete steps and used everywhere from a surveillance camera to sophisticated robots and machines. Stepper motors provide accurate controlling, and can be differentiated on the basis of torque, steps per revolution, and input voltage. In our previous project, we controlled 28-BYJ48 stepper motor using Arduino. 28-BYJ48 has relatively lower torque than the other stepper motors like NEMA 14, NEMA17.

In this tutorial, we are going to control NEMA17 stepper motor using Arduino Uno and A4988 stepper driver module. Nema17 stepper motor has higher torque and higher operating voltage than 28-BYJ48. Here a potentiometer will also be attached to control the direction of stepper motor.

Component Required

  • Arduino UNO
  • NEMA17 Stepper Motor
  • A4988 Stepper Driver Module
  • 47 µf Capacitor
  • Potentiometer

NEMA17 Stepper Motor

Operation of Nema17 is similar to normal Stepper Motors. NEMA 17 stepper motor has a 1.7 x 1.7-inch faceplate, and it usually has more torque than the smaller variants, such as NEMA 14. This motor has six lead wires, and the rated voltage is 12 volt. It can be operated at a lower voltage, but torque will drop. Stepper motors do not rotate they step, and NEMA17 motor has a step angle of 1.8 deg. means it covers 1.8 degrees in every step. Wiring diagram for NEMA17 is given below.

As you can see that this motor has a Unipolar six-wire arrangement. These wire are connected in two split windings. Black, Yellow, Green wires are part of first winding where Black is center tap, and Yellow and Green are coil end while Red, White, and Blue is part of a second winding, in which White is center tap and Red and Blue are coil end wires. Normally center tap wires left disconnected.

Читать еще:  Что такое донской двигатель

Steps Per Revolution for NEMA17

Steps Per Revolution for a particular stepper motor is calculated using the step angle of that stepper motor. So in the case, NEMA 17 step angle is 1.8 deg.

Specifications of NEMA17

  • Rated Voltage: 12V DC
  • Step Angle: 1.8 deg.
  • No. of Phases: 4
  • Motor Length: 1.54 inches
  • 4-wire, 8-inch lead
  • 200 steps per revolution, 1.8 degrees
  • Operating Temperature: -10 to 40 °C
  • Unipolar Holding Torque: 22.2 oz-in

Also check various stepper motor related projects here, which not only incudes basic interfacing with various microcontrollers but also have robotics projects which involves stepper motor.

A4988 Stepper Driver Module

A stepper driver module controls the working of a stepper motor. Stepper drivers send the current to stepper motor through various phases.

The A4988 Nema 17 stepper driver is a microstepping driver module that is used to control bipolar stepper motors. This driver module has a built-in translator that means that we can control the stepper motor using very few pins from our controller.

Using this Nema 17 motor driver module, we can control stepper motor by using only two pins, i.e., STEP and DIRECTION. STEP pin is used to control the steps while DIRECTION pin is used to control the direction of the motor. A4988 driver module provides five different step resolutions: full-step, haft-step, quarter-step, eight-step, and sixteenth-step. You can select the different step resolutions using the resolution selector pins ((MS1, MS2, and MS3). The truth table for these pins is given below:

MS1MS2MS3Microstep Resolution
LowLowLowFull Step
HighLowLow½ Step (Half Step)
LowHighLow¼ Step (Quarter Step)
HighHighLow1/8 Step (Eighth Step)
HighHighHigh1/16 Step (Sixteenth Step)
Читать еще:  Двигатель выходит на холостые

Specifications of A4988

Max. Operating Voltage: 35V

Min. Operating Voltage: 8V

Max. Current Per Phase: 2A

Microstep resolution: Full step, ½ step, ¼ step, 1/8 and 1/16 step

Reverse voltage protection: No

Dimensions: 15.5 × 20.5 mm (0.6″ × 0.8″)

Circuit Diagram

Circuit diagram to control Nema 17 stepper motor with Arduino is given in the above image. As A4988 module has a built-in translator that means we only need to connect the Step and Direction pins to Arduino. Step pin is used for controlling the steps while the direction pin is used to control the direction. Stepper motor is powered using a 12V power source, and the A4988 module is powered via Arduino. Potentiometer is used to control the direction of the motor.

If you turn the potentiometer clockwise, then stepper will rotate clockwise, and if you turn potentiometer anticlockwise, then it will rotate anticlockwise. A 47 µf capacitor is used to protect the board from voltage spikes. MS1, MS2, and MS3 pins left disconnected, that means the driver will operate in full-step mode.

Complete connections for Arduino Nema 17 A4988 given in below table.

Что такое Arduino

Прежде всего, стоит разобраться, что такое Arduino.

  • название торговой марки аппаратуры, средств программирования, при помощи которых реально построить модели станков (в том числе, трехосевого), несложные системы автоматики и робототехники;
  • линейка продукции, наличие открытой архитектуры у которой позволит скопировать или дополнить уже существующие конструкции;
  • небольшая плата с собственным процессором и памятью;
  • аппаратная вычислительная платформа или же контроллер;
  • язык программирования, позволяющий разбирать различный софт (условно бесплатное ПО, свежие новости в области IT);
  • так называемый электронный конструктор.
Читать еще:  Двигатель hr15de технические характеристики

Создавая на Ардуино устройства электроники, способные принимать сигналы от разных цифровых и аналоговых датчиков, подключенных к нему, как к основе. Поэтому в контексте данной статьи, речь будет идти о платах.

голоса
Рейтинг статьи
Ссылка на основную публикацию
ВсеИнструменты
Adblock
detector