Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Motor step angle 3,6 °
09-30-2016, 06:46 AM
Post: #1
Motor step angle 3,6 °
Hello! I engines have different parameters (step angle 3,6 °). What you need to change the program to work properly?
Find all posts by this user
Quote this message in a reply
09-30-2016, 08:25 AM
Post: #2
RE: Motor step angle 3,6 °
Replace this code constant 46 -> 23 and 23 -> 12
Code:
#if MICROSTEPPING==16
  speed = speed_M1 * 46; // Adjust factor from control output speed to real motor speed in steps/second
#else
  speed = speed_M1 * 23; // 1/8 Microstepping
#endif
Find all posts by this user
Quote this message in a reply
09-30-2016, 02:15 PM
Post: #3
RE: Motor step angle 3,6 °
Thank you! I installed it. And unless this is not necessary to do:

Code:
#define MICROSTEPPING 8  // 8 or 16 for 1/8 or 1/16 driver microstepping (default:16)
not 16, but 8?
Very strong jerks and falls.
Find all posts by this user
Quote this message in a reply
09-30-2016, 02:39 PM
Post: #4
RE: Motor step angle 3,6 °
You engine therefore takes a big step, but you also put 8 microsteps.
That it was just like the original, do not change anything in the code (leave 46 and 23). Select the code 16 microsteps and, if you have an engine driver DRV8825, set the jumpers 32 microstepping.
Find all posts by this user
Quote this message in a reply
09-30-2016, 02:55 PM
Post: #5
RE: Motor step angle 3,6 °
Нет возможности сейчас поставить DRV8825. Думаю ничего у меня не получится. Надо моторы нормальные поставить. Я поставил моторы от старых русских печатных машинок, униполярный шестипроводный. Подключил без средних жил. Характеристик никаких нет. Всё что я знаю про эти движки, так это посчитал количество щелчков за оборот. Спасибо еще раз. Жду моторы.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)