accuracy stepper motor

hello everibody sorry for my broken English i'm French

i do a prototype with two stepper motor ITC-CNC-1 1.8°/200STEPS/12V/0.39A/4W

two driver L298N

one relay high-low level trigger

i do a prototype (see the video) for a machine to stick lens on pipe

you put the piece of pipe on the rotary motor 2

and the arm go down with glue pumpe

the rotary run( normally 200steps) and the relais put on the glue pumpe

when rotary stop(normally after 200steps) the arm go up to remove the pipe

i am oblige for its works to put about 270steps on motor two

and the motor is very hot

if somebody have the solution i am very happy

in advance thank you for all

sketch_ap20a.ino (2.42 KB)

You need to provide a link to the datasheets for your motors.

What stepper drivers are you using?

What power supply are you using for the motors (volts and amps)?

How much torque does the load impose on the motors ?

It is normal for stepper motors to be hot - uncomfortable to touch.

You may get some useful stuff in stepper motor basics

...R

Steppers will get very hot, this is how they are designed. Since you are using H-bridges
to drive your stepper you need about 10V to the windings, so 12V supply into the L298
board is correct.

Using H-bridges you won't get much speed from the motor, perhaps 200rpm max,
before its torque drops away.

By the way stepper motors are expected to be bolted onto something that can help
take away the heat, such as the framework of the machine it is part of. Datasheets
normally assume a reasonable amount of heatsinking for a stepper motor.

What video?

THANK YOU FOR YOUR ANSWERS

about the tork

still now i use plastique cover of peint spray as table and id'nt put aany weight on it

the type of the motor sepper

"http://www.itc10.com/moteur-pap-pro---itc-cnc-1-12v-4w/produit-detail.aspx?refext=STP685110&categories=

the driver stepper is L298N

AC/DC SUPPLY IS MEAN WELL RS25/12
http://www.ebay.fr/itm/like/271730941326?ul_noapp=true&chn=ps&lpid=97

RELAY

do you think if i change the librairie " stepper h" by" accel stepper " i get bette result or i need a rotate

encoder ?

thank you very much for your help

sketch_ap20a.ino (2.42 KB)

THE VIDEO SORRY FOR THE DELAY

I assume, since they say it is a 12v 4W motor, that it requires a current of 0.33 amps. It is unusual that they have not specified the coil resistance.

The L298 is a poor choice for driving stepper motors. And it is an old device with a large voltage drop so if you are using a 12v power supply the motor might only be seeing 10v - which may explain why it is missing steps.

As explained in Stepper Motor Basics stepper motors work better with higher voltage power supplies

...R

The difference between 10 and 12V is not very significant, missing steps probably means the motor
either has inadequate torque for the job or is being stepped too fast. You also have resonance issues
if not using microstepping.

HELLO EVERYBODY
THANK FOR ALL THE TIME YOU LOOS WITH MY PROBLEM
I AM NEWBIE WITH ARDUINO
AND I DON'T KNOW HOW USE MICRO STEPPING WITH ARDUINO AND L298N
THANK FOR ALL

AND I DON'T KNOW HOW USE MICRO STEPPING WITH ARDUINO AND L298N

It is OK not to know, because you can't.

@WillyF, please STOP SHOUTING.

...R