跳至主要内容

How to control Nema 17 with M542T Stepper Motor Driver

The M542T driver used in this project is disassembled from the same 3D printer.
Few words about this
The good part was that I knew I could control the stepper motor with this driver. The bad part is that it was necessary to make adjustments to control the motor to reach the desired result. Theoretically, I would have to connect the stepper motor to the driver, the driver to the Arduino, and then control the stepper motor without any problems. Things work differently than my expectations. The fact that I use a Bluetooth connection make a change in the driver’s behavior for normal operation.
The M542T driver is a cheap hardware resource (~ 1EUR / piece) and can control stepper motors powered by a voltage between 8V to 35V.
Until I explain the settings from the driver, I will start with the beginning – with the power supply.

Working with A4988
To work, the M542T needs a 5V voltage source. All the project is powered by a 12V – 3A power adapter and an adjustable LTC3780 DC buck/boost converter that lowers the voltage from 12V to 6V. The output of the LTC3780 is 6V because I need to power the servo motors of the robotic arm. The same 6V output I connected to Pololu’s S7V7F5 voltage regulator with 5V output. So, in the voltage regulator go 6V and pull out 5V – exactly what I need to power the A4988 driver.
I use the same voltage regulator to power the stepper motor driver, the Bluetooth communication module, and other components that require a power source of 5V.
Schema: A4988 control NEMA 17

评论

此博客中的热门博文

How to Choose the Right Pancake Stepper Motors for Your Needs

A step motor is a type of electric motor that uses a series of electrical pulses to move the rotor. The rotating rotor causes a linear actuator, which produces motion in one direction. The pancake stepper motor is a type of step motor that has the capability to rotate continuously in both directions without any need for periodic rotary encoder. It is also known as the "pancake" stepper because it resembles a pancake, with its flat shape and circular cross-section. This article discusses how this type of step motors work and their applications in industrial machinery such as 3D printers, CNC machines, and robotics. What Makes the Pancake Stepping Motor Different From Others? The pancake stepping motor is a type of electric generator that uses an electromagnet to produce electricity. It is also known as the pancake motor because it looks like a pancake when it is folded in half. It has been around since the 1970s, but it saw a surge in popularity after the Fuk

What drivers Can i use on NEMA 17 motor or NEMA 24?

Description Nema 17 motor  is not standard for electrical characteristics of the stepper motor. It is just faceplate and mounting holes standard to make it easier to interchange motors. Most likely you have to check from the specification that what is rated current for that motor and is it unipolar or bipolar one. Choose driver based on that. Note: Drive can always be more powerful than the motor, but you have to limit your current from the drive side. It’s also possible to use chopper drives with the less current rating, but then your motor runs underpowered. But one can definitely make assumptions on the motor size that NEMA 17 could use 1A – 2A current and  NEMA 23 motor  could use around 2A – 5A current. How to run a stepper motor without a microcontroller? It’s totally possible since the drive doesn’t care where it gets it’s stepping impulses. You only need some kind of source for pulses and direction. The simplest option would be to use a NE555 timer chip.

What’s the difference between servo and closed loop stepper motors?

Servo and  closed loop stepper motor  have similar construction and share the same fundamental operating principle. Both motor types incorporate a rotor with permanent magnets and a stator with coiled windings … and both are operated by energizing or applying a dc voltage to the stator windings. That then causes the rotor to move. However, this is where the similarities between servo and stepper motors end. Drive methods for stepper motors Stepper motors have 50 to 100 poles and are two-phase devices. In contrast, servo motors have between four and 12 poles and are three-phase devices. What is more,  stepper motor driver  generate sine waves with a frequency that changes with speed … but with an amplitude that is constant. Servo drives, on the other hand, produce sine waves with variable frequency and amplitude — allowing them to control both speed and torque. Control methods for stepper motors Traditional stepper motors move when they receive a command to advance a cer