Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Motors wont lock
Stephan
Newbie
Posts: 8
Permalink
Post Motors wont lock
on: September 25, 2014, 14:16
Quote

Hi,

my Polargraph was out of order now for a while, because the Arduino wasn't recognised anymore by any of my Computers. So after a long time I decided to repair the maschine and bought a new Arduino Mega 2560 (I've got one of the first PolagraphSD that Sandy made.
My new Problem is now, that the motors won't lock when I give the "Set home" command. In case I couldn't make them lock at all. I measured the voltage of my power supply which is 7.55V at the output pin. I checked the cable connections at the motor cables which all seem fine too.
Could anyone gove me a hint where i could measure with my multimeter if the needed voltage is even going out to the motors? A short hint, in which state the voltage should be at which level measured at two pins would be nice. For a easier communication a made a picture and numbered the output pins of the output plugs. I hope someone can help me with this, I trying to use the polargraph for a magazin cover Iam Layouting right now.

Bye Stephan

Image

PS: The servomotor does exactly what it should, so I think there is no communication problem with the controller.

PPS: The controller monitor (Ctrl+C) shows the following when hitting "set home":

Dispatching command: C09,1578,1577,END
Last command:C09,1578,1577,END:419856133
regenerating preview queue.
incoming: Engaged motors.
incoming: SYNC,1578,1577,END
incoming: READY_200
sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Motors wont lock
on: September 25, 2014, 23:33
Quote

Ok .. going to have to say it... Your motors aren't plugged in!

Just kidding, I know, I'm so funny. Good to see you again, you have the 14th ever PolargraphSD 🙂

Well, they are all good signs. 7.5v has always been plenty enough for me in the past. If you measure the voltage between the two pads/holes marked + and GND on the lower right-hand corner of the board, immediately to the right of the motor terminal socket.

If you want to check for continuity through to the stepper drivers themselves, the bottom-left corner pin of each stepper driver breakout board (just the board, not the chip itself) is the motor power supply pin, and the top-left is GND. So you can check the voltage between those two, but be careful not to short the power to the next pin along.

Next thing - make sure the bottom of the motor terminal connector isn't shorting against the USB socket on the arduino.

You could try sensing a voltage between some of the motor connector pins, but I wouldn't be very surprised to find that it is clever enough to spot that there is no load (or infinite resistance), and won't necessarily apply a voltage. If there is a voltage applied, it'd be between one of either two pairs in each connector. So it'd be between 1&2 OR 3&4, and 5&6 OR 7&8.

Last thing - the motor drivers are adjustable with the small screw potentiometer. Turning clockwise turns the power up, so send your lock command, then twizzle each adjustment screw around and see if anything grip happens on the motor. Listen too, there's usually some whining if there's current flowing.

I'm fairly certain that the pin assignments haven't ever changed since the beginning, but tell me what version board you have (it's printed on it somewhere) and I'll double-check the schematics. I guess you are using POLARSHIELD as the MOTHERBOARD in the firmware.

Good work on getting it running too - I recently had to revisit an old machine here, and caught myself out on every single gotcha there is (wrong screen, wrong calibration...)

sn

Stephan
Newbie
Posts: 8
Permalink
Post Re: Motors wont lock
on: September 26, 2014, 21:58
Quote

Hi Sandy,

As mentioned in the other thread, I just revived my old motorshield v1 polargraph to get a job done, but after that Iam going to fix the SD.

I have got a Polarshield v 1.1.
I measured all the voltages, and on the output pins i had 6.7V. Is that ok, or do I have to turn the potiometers on the motro drivers?

Stephan

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Motors wont lock
on: September 28, 2014, 12:34
Quote

Any voltage at all on the output pins is a sign that the supply voltage is enough to run the stepper drivers, so that's good. And if you can measure a voltage on the output pins, then that _must_ be enough to interact with the motors in some way. It might not be enough to lock firmly, but it'll be doing something.

When you say output pins, you mean the green sockets that the motor cables plug into, right?

Is there any chance you have got the motors wired up wrong? If there is voltage, there will be some current flow if the motors complete the circuit. If the two coils in the motors are not wired up to the two pairs of wires in the connector (pair a: 1&2, pair b: 3&4), then the circuit isn't complete and nothing will flow.

Try swapping 2&3 maybe.

sn

Stephan
Newbie
Posts: 8
Permalink
Post Re: Motors wont lock
on: October 8, 2014, 10:43
Quote

Ok, this problem is now also solved. I don't know which cable connection was not right, but after disconnecting them all and reattach everything the motors lock now, as they should. So the Polargraph SD as well as the Polargraph Motorshield do work fine now.

Thanks for the help!

Stephan

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