Bisound.com - Музыкальный портал

Bisound.com - Музыкальный портал (http://www.bisound.com/forum/index.php)
-   Что нового ? (http://www.bisound.com/forum/forumdisplay.php?f=45)
-   -   Trouble Driving a Nema 23 Stepper Motor (http://www.bisound.com/forum/showthread.php?t=2065246)

samlevy0515 09.02.2026 11:58

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.


Часовой пояс GMT +3, время: 19:52.

vBulletin® Version 3.6.8.
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Перевод: zCarot