Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Direction problems
gozog
Newbie
Posts: 2
Permalink
Post Direction problems
on: August 18, 2014, 16:48
Quote

I need help troubleshooting the direction of my Polargraph. I searched several threads and have swapped the motors and wires but I still can’t figure it out. The polargraph moves up and down fine but is the reverse for left and right. I’ve read in the forum where the opposite is true and you need to only swap the motors but this only makes things worse. What’s the right way to go about setting this up?

Also, I’m setup using an UNO with a Adafruit Motorshield v2 using steppers. I saw the other day where the UNO may not be a good option for Polargraph. Should I go ahead and do that or try to make it work with my UNO first or just get a Mega?

Thanks in advance for your assistance.

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Direction problems
on: August 18, 2014, 18:33
Quote

Hello, welcome to the show,

I think your motors are swapped AND your wires are reversed.

When I find myself in this mess, I try to do a move that _should_ only move one motor. Because of the weird coordinates system, that means moving from a home point to another point, while keeping ONE of the strings the same length.

Image

When the pen moves, it doesn't go to the location that you've asked for.

Step 1: Keep an eye on which motor actually runs the longest. If it is the one you expected, then your motors are OK - they are not swapped.

That is, if you've asked to move it right and down (like in the pic), then you expect:
- Left-hand string should move, get longer.
- Right-hand string should stay still, stay the same length.

If the right-hand string DOES stay roughly the same length, then you have your motors the correct way around. Hurray.

If in fact the LEFT-HAND string stays the same size, and the right-hand string changes size, then you have your motors swapped around.

Step 2
If your motors ARE swapped, AND if the moving string got longer, then your wiring to that motor is reversed.

If your motors are NOT swapped then your moving string got shorter, and that means your wiring to that motor is reversed.

In both these cases, you need to rewire your motor in reverse sequence.

Now try both steps again but moving in the opposite direction, to test the wiring on the opposite motor.

Gosh that seems like hard work!

UNOs are fine, but with the Adafruit Motorshield v2 you are quite limited by memory. I've been given some help from one of the members here that should make it a little more reliable, soon.

Personally I only really use the MEGAs. They are very cheap now if you get a clone, and it's really one less thing to worry about.

good luck!
sn

(see also https://github.com/euphy/polargraph/wiki/It's-going-the-wrong-way!)

gozog
Newbie
Posts: 2
Permalink
Post Re: Direction problems
on: August 18, 2014, 19:51
Quote

Thanks Sandy. I'll be hacking away at it again later today using the help you provided. I'll keep you posted on my progress.

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