Показать сообщение отдельно
  #1  
Старый 09.02.2026, 11:58
samlevy0515 samlevy0515 вне форума
Новичок
 
Регистрация: 06.05.2025
Сообщений: 17
По умолчанию Trouble Driving a Nema 23 Stepper Motor

Hey all. I am trying to drive a Nema 23 stepper motor for a project I am working on. I have attached a picture of my setup and my code.

I have decided to drive the motor using a microstep driver. The barrel jack (as shown in the picture) connects to a 24V wall adapter.

The motor leads are connected as follows: A+: Black A-: Green B+: Red B-: Blue

The DIR- and PUL- pins are connected to common ground on the arduino uno. The DIR+ pin is connected to digital pin 3 on the uno, and the PUL+ pin is connected to digital pin 2 on the arduino.
Ответить с цитированием