Go Down

Topic: L298N and problems with steppin motor (Read 1 time) previous topic - next topic

TomGeorge

#15
Dec 04, 2017, 08:43 am Last Edit: Dec 04, 2017, 08:44 am by TomGeorge
Hi,
17pm-k502-p2st


Quote
Specifications:

Series: 17PM
Type: Standart
Coil Type: Bipolar
Supply Voltage: 12-36VDC
Steps per Revolution: 200
Step Angle: 1.8°
Diameter - Body: Square 1.65" (42.00mm)
Lenght - Body: 1.299" (33.00mm)
Diameter - Shaft: 0.196" (5.00mm)
Tom.... :)

Everything runs on smoke, let the smoke out, it stops running....

shimidan

Hi,
17pm-k502-p2st


Tom.... :)


WOW! I couldn't find these from manufacture sites. Could say what is the current of the motor?

Robin2

#17
Dec 04, 2017, 09:50 am Last Edit: Dec 04, 2017, 09:51 am by Robin2
I got a problem like a4988 stepper..., with my new a4988.
I'm not going to read 3 pages of posts to see what you are talking about. Please just describe exactly what you did (with wiring diagrams) and tell us what your current problem is.

The Pololu a4988 web page has great information about using the A4988.

Read first. Experiment second.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

TomGeorge

WOW! I couldn't find these from manufacture sites. Could say what is the current of the motor?
I'm trying, unforunate that the info is so limited.
Can you ,measure the resistance of the windings of the stepper?
Thanks.. Tom... :)
Everything runs on smoke, let the smoke out, it stops running....

shimidan

I'm trying, unforunate that the info is so limited.
Can you ,measure the resistance of the windings of the stepper?
Thanks.. Tom... :)
Each coil 2.3  Ohm.

shimidan

#20
Dec 04, 2017, 01:25 pm Last Edit: Dec 04, 2017, 01:53 pm by shimidan
I'm not going to read 3 pages of posts to see what you are talking about. Please just describe exactly what you did (with wiring diagrams) and tell us what your current problem is.

The Pololu a4988 web page has great information about using the A4988.

Read first. Experiment second.

...R
Sorry, i couldn't draw it in Proteus.

pins 3 and 4 to step and direction.
5V (arduino uno) to VDD.
right and left GND of uno and GND (next to VDD) to one column of bread board.
V12 of power supply to VMOT.
GND of power supply to GND (next to VMOT).
A 47 micF capacitor  between power supply lines ( N To N, P to P).
Reset and sleep are bridged.

I guess the potentiometer doesn't work correctly (maybe wrong use by me).

Simple code:
void setup()
{
 
 
  pinMode(3,OUTPUT); // Step

 
}

void loop()
{
 
     digitalWrite(3,HIGH); // Output high
    delay(2000); // Wait
    digitalWrite(3,LOW); // Output low
    delay(2000); // Wait

 
}

Robin2

Sorry, i couldn't draw it in Proteus.

Pencil and paper is fine. Then post a photo of the drawing.

It is too easy to misunderstand verbal descriptions of wiring connections.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

shimidan

Pencil and paper is fine. Then post a photo of the drawing.

It is too easy to misunderstand verbal descriptions of wiring connections.

...R
I Think the board is fired! I will buy another. Which screwdriver is proper to adjust this potentiometer?

Robin2

I Think the board is fired! I will buy another. Which screwdriver is proper to adjust this potentiometer?
One that fits.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

shimidan

#24
Dec 05, 2017, 06:02 am Last Edit: Dec 05, 2017, 06:36 am by shimidan
Pencil and paper is fine. Then post a photo of the drawing.

It is too easy to misunderstand verbal descriptions of wiring connections.

...R



Robin2

That's a nice drawing and it looks correct. The code in Reply #20 is nearly right. The problem is that you are sending your pulses to the direction pin. And you have no control on the step pin. You need to set the direction pin HIGH or LOW and then send pulses to the step pin.

Try the code in my link in Reply #10. But make sure the pin references are correct for your wiring.

...R
Two or three hours spent thinking and reading documentation solves most programming problems.

shimidan

That's a nice drawing and it looks correct. The code in Reply #20 is nearly right. The problem is that you are sending your pulses to the direction pin. And you have no control on the step pin. You need to set the direction pin HIGH or LOW and then send pulses to the step pin.

Try the code in my link in Reply #10. But make sure the pin references are correct for your wiring.

...R
Sorry! I've set the wiring times and times. I means that i connected a pin (3 or 4) to step and used 'HIGH' for this pin, but sometimes it was 3 sometimes 4. Thank for your attention.

I think board is down, because i didn't care.

shimidan

A new board and it's working fine. even no needs current adjustment or overheating. Ty all. (Please c http://forum.arduino.cc/index.php?topic=515912.0)

Go Up