17HS8401S NEMA17 Stepper Motor (48mm)
17HS8401S NEMA17 Stepper Motor (48mm)
Stepper Motor
The 17HS8401S NEMA17 Stepper Motor is a high-performance, two-phase hybrid stepper motor designed for precise motion control applications. With a compact 48mm frame size, this motor offers a high torque-to-size ratio, making it an ideal choice for various automation, robotics, and CNC applications.
The 17HS8401S NEMA17 Stepper Motor operates on the principle of electromagnetism, where an external control signal is used to energize the motor windings, causing the rotor to rotate in precise, incremental steps. The motor's stepper mechanism allows for precise positioning, velocity control, and smooth acceleration/deceleration, making it suitable for applications requiring accurate motion control.
48mm (NEMA17)
48mm
5mm
20mm
approximately 250g
| 2.5V - 4V DC (recommended operating voltage | 3.5V) |
| 1.5A - 2.5A per phase (peak current | 3A) |
1.4 ohms per phase (at 20C)
3.5mH per phase (at 20C)
40Ncm (minimum)
1.8 (full step)
200 steps per revolution (full step)
up to 1000 RPM (depending on the driver and application)
2-phase stepper motor driver (bipolar or unipolar)
4-wire or 6-wire configuration (dependent on driver type)
up to 500 kHz
-20C to 50C
-30C to 60C
F (155C)
IP65 (dust-protected and water-resistant)
RoHS Compliant
CE Marked
The 17HS8401S NEMA17 Stepper Motor is a reliable and efficient motion control solution for a wide range of applications, including robotics, CNC machines, 3D printers, and more. Its compact size, high torque, and precise step control make it an ideal choice for designers and engineers seeking a high-performance stepper motor solution.
17HS8401S NEMA17 Stepper Motor (48mm) DocumentationOverviewThe 17HS8401S NEMA17 Stepper Motor (48mm) is a high-torque, bipolar stepper motor designed for applications requiring precise positioning and control. With a step angle of 1.8 and a holding torque of 42 Ncm, this motor is suitable for a wide range of IoT projects, including robotics, CNC machines, and automation systems.Technical SpecificationsStep Angle: 1.8
Holding Torque: 42 Ncm
Motor Type: Bipolar
Phase Resistance: 1.5 ohms
Phase Inductance: 2.5 mH
Rated Current: 1.5 A
Voltage Range: 12-24 VDC
Shaft Diameter: 5 mm
Shaft Length: 24 mm
Motor Size: 48 mm (NEMA 17)Code Examples### Example 1: Basic Stepper Motor Control using ArduinoThis example demonstrates how to control the 17HS8401S NEMA17 Stepper Motor using an Arduino board and the Stepper library.
```cpp
#include <Stepper.h>// Define the stepper motor pins
#define STEPPER_DIR_PIN 2
#define STEPPER_STEP_PIN 3// Create a stepper motor object
Stepper stepper(200, STEPPER_DIR_PIN, STEPPER_STEP_PIN);void setup() {
// Initialize the stepper motor
stepper.setSpeed(60);
}void loop() {
// Rotate the motor clockwise for 1 revolution
stepper.step(200);
delay(1000);// Rotate the motor counterclockwise for 1 revolution
stepper.step(-200);
delay(1000);
}
```
### Example 2: Stepper Motor Control using Raspberry Pi and PythonThis example demonstrates how to control the 17HS8401S NEMA17 Stepper Motor using a Raspberry Pi and the RPi.GPIO library.
```python
import RPi.GPIO as GPIO
import time# Define the stepper motor pins
DIR_PIN = 17
STEP_PIN = 23# Set up the GPIO pins
GPIO.setmode(GPIO.BCM)
GPIO.setup(DIR_PIN, GPIO.OUT)
GPIO.setup(STEP_PIN, GPIO.OUT)try:
while True:
# Rotate the motor clockwise for 1 revolution
GPIO.output(DIR_PIN, GPIO.HIGH)
for i in range(200):
GPIO.output(STEP_PIN, GPIO.HIGH)
time.sleep(0.005)
GPIO.output(STEP_PIN, GPIO.LOW)
time.sleep(0.005)# Rotate the motor counterclockwise for 1 revolution
GPIO.output(DIR_PIN, GPIO.LOW)
for i in range(200):
GPIO.output(STEP_PIN, GPIO.HIGH)
time.sleep(0.005)
GPIO.output(STEP_PIN, GPIO.LOW)
time.sleep(0.005)except KeyboardInterrupt:
# Clean up the GPIO pins
GPIO.cleanup()
```
### Example 3: Stepper Motor Control using ESP32 and MicroPythonThis example demonstrates how to control the 17HS8401S NEMA17 Stepper Motor using an ESP32 board and MicroPython.
```python
import machine
import utime# Define the stepper motor pins
DIR_PIN = machine.Pin(17, machine.Pin.OUT)
STEP_PIN = machine.Pin(23, machine.Pin.OUT)try:
while True:
# Rotate the motor clockwise for 1 revolution
DIR_PIN.value(1)
for i in range(200):
STEP_PIN.value(1)
utime.sleep_ms(5)
STEP_PIN.value(0)
utime.sleep_ms(5)# Rotate the motor counterclockwise for 1 revolution
DIR_PIN.value(0)
for i in range(200):
STEP_PIN.value(1)
utime.sleep_ms(5)
STEP_PIN.value(0)
utime.sleep_ms(5)except KeyboardInterrupt:
# Clean up the GPIO pins
DIR_PIN_deinit()
STEP_PIN_deinit()
```
Note: These code examples are for illustrative purposes only and may require modifications to suit your specific IoT project requirements. It is essential to consult the datasheet and documentation for the 17HS8401S NEMA17 Stepper Motor and any microcontrollers or boards used in your project.