Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Stepper motors squealing
Sergii
Newbie
Posts: 1
Permalink
Sergii
Post Stepper motors squealing
on: July 29, 2016, 19:45
Quote

Hi all.

I am from Ukraine, but currently living in Norway. And here is my first test drawing (Pluto) with Polargraph. Thank you Sandy for such amazing project on fringe of technology and art.

The drawing machine: Arduino Mega, Adafruit Motor Shield V2, NEMA 17 (17HS2408, 200 steps per revolution, 0.6A).

So far, I have two problems: 1) The high tone sound from the stepper motors, 2) Absence of an acceleration of stepper motors. I can live with the absence of acceleration, but the motor squealing is difficult to stand. I have tried to arrange the power supply so I used the next chargers – 5V/2.0A (most annoying noise), 7.5V/1.5A, 9V/1.5A (less noise, but motors are getting hot). I set up the next parameters: steps per rev = 200 and step multiplier = 16. Also I have changed some Arduino settings according to http://forum.arduino.cc/index.php?topic=16793.0.

As I understand, all problems are because of AMSV2. If there are no solutions, I will play around with what I have for now and later will think about other shield. Also I cannot draw with the Norwegian pixels on AMSV2, can I?

Thank you in advance.
Sergii
Image

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Stepper motors squealing
on: July 30, 2016, 22:08
Quote

That's a cracking picture, love that style.

I never got the hang of the AFMSv2 - the squealing is to do with microstepping, it's endearing at first, but outstays its welcome.

The quick solution is to turn off microstepping, modify the line of code at https://github.com/euphy/polargraph_server_a1/blob/master/configuration.ino#L31 to be

const int stepType = INTERLEAVE;

And set up your spec as

stepsPerRev = 400;
stepMultiplier = 1;

in your controller default.properties.txt

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Stepper motors squealing
on: July 30, 2016, 22:15
Quote

And the other thing - norwegian pixel is a feature of a MEGA-based machine that has an SD card attached.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.018 seconds.