모터1 [Arduino] Stepper motor - 28BYJ-48 사용한 HW아두이노 우노 R3 모터 드라이버(motor driver) : ULN2003 스텝 모터(Stepper motor) : 28BYJ-48 USB cable B (AM-BM) 스텝 모터(28BJY-48) 1. unipolar 5 wire 방식 2. Half step sequence 전력이 더 많이 소모 되지만, 더 작은 분해능으로 부드럽게 작동한다. 3. 스텝 각도 (Stride Angle): 5.625도/64 (1회전 당 64스텝, 기어비로 인해 4096스텝 필요) // 핀 번호 정의 const int IN1 = 8; const int IN2 = 9; const int IN3 = 10; const int IN4 = 11; // 스텝 시퀀스를 배열로 정의 (8단계 시퀀스) const int step.. 2024. 10. 9. 이전 1 다음