Welcome! Log In Create A New Profile

Advanced

Sanguino v1.2: Problems with Stepper Motor Drivers v2.3

Posted by david_bru 
Sanguino v1.2: Problems with Stepper Motor Drivers v2.3
May 09, 2011 09:47AM
Hello,

I built in the past weeks a Mendel - bought the elctrical Kit from iPrint3d.

So far I have the following parts hooked up:
1 RepRap Motherboard v1.2, Sanguino ATMEGA644A
3 Stepper Motor Driver v2.3
3 Opto EndStops v2.1
3 Stepper Motor

On the software side I use:
Arduino 0022 with the Tonokip Firmware
RepSnapper as Host Software

I can upload the firmware without any troubles.
I start RepSnapper and am able to move the X-axis in the interactive tab.

However if I want to move Z- or Y-axis they just won't turn.

Z-Stepper Motor Driver: when I power the RepRap the 4 LEDs besides the connector to the motor are lighting up but the motor just won't turn.

Y-Stepper Motor Driver: when I power the RepRap not even the 4 LEDs are lighting up. Although the power-LED is light.

If i unplug the ribbon cable which leads from the motherboard-X to the X-stepper driver and replug it so that it goes from motherboard-X to the Y- or Z-stepper driver the motors work just fine.

In the configuration.h file every direction is turned on, so I really don't know anymore what to do.
Do you guys have any suggestions as to what I should try next?
Is it maybe possible that on my motherboard the Y- and Z-connectors are not properly soldered or in another way faulty? (Although I bought it preassembled from iPrint3d)

Thanks in advance for your answers.
Cheers from austria
David

EDIT: If I try to move the Y-motor +10 the LED on the Y-Opto-Endstop is lighting up. In reverse if I try to move the Y-motor -10 the light at the LED vanishes. Still the motor just won't turn.

Edited 1 time(s). Last edit at 05/09/2011 10:17AM by david_bru.
Re: Sanguino v1.2: Problems with Stepper Motor Drivers v2.3
May 09, 2011 10:14AM
Hi,

What are the potentiometers on the stepper motor drivers set to? Are they all the same, or is the X driver set slightly higher than the others? For reference, mine are set to about 1/3 on, and that's with a RAMPS setup and these motors.


------------------------------------------
garyhodgson.com/reprap | reprap.development-tracker.info | thingtracker.net
Re: Sanguino v1.2: Problems with Stepper Motor Drivers v2.3
May 09, 2011 10:25AM
The potentionmeters are all as well 1/3 turned on - just as yours. Even if I turn them an additional 1/3 the motors just won't move. They don't even try to move.. That's why I suspect, that it's the two male IDC connectors on the motherboard (Y and Z) which are faulty.
And as far as I can tell, I use the same motors in my setup.

Only difference I can see now between your setup and mine is that I use the Sanguino while you use RAMPS.
Re: Sanguino v1.2: Problems with Stepper Motor Drivers v2.3
May 09, 2011 10:37AM
If the end stop leds are affected by the firmware, rather than the flag, it looks like your firmware pin configuration is wrong. It looks like the Y direction pin is connected to the endstop.


[www.hydraraptor.blogspot.com]
Re: Sanguino v1.2: Problems with Stepper Motor Drivers v2.3
May 09, 2011 10:55AM
@nophead: you may have a point there sir or madam.
at least pin number 19 is used twice. once for X_ENABLE_PIN and once for Y_ENABLE_PIN.
and pin number -1 is also used three times (FAN_PIN, PS_ON_PIN and KILL_PIN)

i just redownloaded the original tonokip firmware and it's the same there. so the question is, how do i fix the pin numbering?
trial and error? or is there a certain method to test it? or is there maybe even already a fix for that? and tonokip just didn't update it yet?
Re: Sanguino v1.2: Problems with Stepper Motor Drivers v2.3
May 09, 2011 12:27PM
halleluja.. it works.
i changed the pin configuration according to this picture:
[www.flickr.com]

so my new pins.h looks something like this:
#define X_STEP_PIN 15
#define X_DIR_PIN 18
#define X_ENABLE_PIN 19
#define X_MIN_PIN 20
#define X_MAX_PIN 21

#define Y_STEP_PIN 23
#define Y_DIR_PIN 22
#define Y_ENABLE_PIN 24
#define Y_MIN_PIN 25
#define Y_MAX_PIN 26

#define Z_STEP_PIN 27
#define Z_DIR_PIN 28
#define Z_ENABLE_PIN 29
#define Z_MIN_PIN 30
#define Z_MAX_PIN 31

thanks for all the help..
Sorry, only registered users may post in this forum.

Click here to login