Arduino Stepper Motor Shield v2 – zufällige Drehzahl
-
Guten Tag, ich brauche schnelle Hilfe.
Ich habe mit einem Uno und einem Arduino Stepper Motor Shield v2 ein Saatgutmessgerät für die Aussaat von Feldfrüchten gebaut. Ich habe vor ein paar Monaten eine Testeinheit erstellt, die gut funktioniert hat. Mithilfe des Beispiel-Stepper-Codes konnte ich die Drehzahl usw. von 1 U/min bis hin zu sehr schnell variieren.
Gestern habe ich es wieder zusammengebaut, um es auf der Maschine zu platzieren, und jetzt habe ich festgestellt, dass der Schrittmotor keine Konsistenz mehr hat, und ich bin zum Beispielcode zurückgekehrt.
Wenn ich variiere:
myMotor->setSpeed(10); // 10 U/min
4 U/min sind langsamer als 1 U/min, 8 U/min sind schneller als 10! und die Variationen werden mit höheren Drehzahlen fortgesetzt.
Ich habe ein brandneues zweites Motorschild v2 ausprobiert. Ich habe einen anderen Schrittmotor ausprobiert.
Dies sind die Motoren, die ich verwende:https://www.oyostepper.de/goods-494-Nema-17-Schrittmotor-für-3D-Drucker-DIY-CNC-Roboter-04A-18-Grad-12V-26Ncm-4-Draden-Hybrid-Schrittmotor.html
12-Volt-Strom aus einer sehr großen Batterie.Ich kann es überhaupt nicht erklären, aber es ist geschäftskritisch.
Ich habe gerade Version 1 der Motorschildplatine angeschlossen und das ist in Ordnung!
-
@Jerry21 Translated to English:
Good afternoon, I need quick help.
I have built a seed meter for sowing field crops with a Uno and an Arduino Stepper Motor Shield v2. I created a test unit a couple of months ago that worked well. With the help of the example stepper code, I was able to vary the speed, etc., from 1 rpm to very quickly.
Yesterday I reassembled it to place it on the machine, and now I have noticed that the stepper motor no longer has consistency, and I have returned for example code.
If I vary:
myMotor->setSpeed(10); // 10 rpm
4 rpm are slower than 1 rpm, 8 rpm are faster than 10! and the variations are continued at higher speeds.
I tried a brand new second engine shield v2. I have tried another stepper motor.
These are the motors I use: [link deleted]
12-volt power from a very large battery.I can't explain it at all, but it's business-critical.
I just connected version 1 of the motor shield board and that's fine!
Sorry, we cannot support you here, this forum is for users of Duet electronics running RepRapFirmware. Try asking on the Arduino forums.
Ian