588,657 active members*
5,846 visitors online*
Register for free
Login
Page 1 of 3 123
Results 1 to 20 of 41
  1. #1
    Join Date
    Dec 2014
    Posts
    15

    L297 l298 driver help

    Hello everybody
    I am making four stepper drivers using the l297 /l298 circuit as shown in the schematic attached
    The problem is that after i soldered two board and tried them the stepper doesn't spin it just vibrate

    I tryed to make the stepper move slowly to find that the stepper is vibrating back and forth
    I tried to change stepper wiring but no chance

    One of the drivers worked when i adjusted the potentiometer on just on place and the stepper starts to vibrate again on higher speeds

    So please help me fix this problem
    Click image for larger version. 

Name:	uploadfromtaptalk1426599978055.jpg 
Views:	2 
Size:	57.9 KB 
ID:	272672

  2. #2
    Join Date
    Jan 2005
    Posts
    1695

    Re: L297 l298 driver help

    5v is far too low for a stepper motor. That's why you can't go fast.

  3. #3
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    Thank you H500 for your reply
    I am using 5v (vcc) to power the l297 and 12v (vss) to power the stepper

  4. #4
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    Hello again
    I found something i think it will be helpful to solve my problem

    I am using arduino to test my driver and i tried to make the step pin go on and off every 1/2 second, iknow it is too slow but i did that to see how the two leds on motor terminal will act

    And i found that the led on terminals 3 and 4 is going on and off regularly but the other led doesn't turn on at all

    Si now i know that my driver isn't driving thd two stepper coils the same

    I checked the connectivity between all pins on the pcb and all are as it should be like the schematic

    I hope anybody can help me

  5. #5
    Join Date
    Jan 2005
    Posts
    1695

    Re: L297 l298 driver help

    You probably damaged one of the leds by putting negative 12v into it. I believe the typical reverse volt rating is around 5v.

    Is your power supply capable of supplying the amps?

  6. #6
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    I am using atx power supply
    And my stepper needs 0.4 amp in each coil

    Today i tried to make a breadboard circuit using l297 and fou darlingtons as a unipolar stepper driver ( my stepper is unipolar)
    The stepper works good with no vibration
    I used accelstepper library to control my stepper
    I foud that the stepper can run on 900 steps per second without vibration and with faster speed it will start to vibrate a lot

    Is that normal?? Does steppers has max speed??

    I am using a steppet called 42bygh801
    http://www.wantmotor.com/ProductsView.asp?id=156&pid=80

    And thank you again for your help

  7. #7
    Join Date
    Feb 2015
    Posts
    74

    Re: L297 l298 driver help

    Classic RepRap I see,
    did you make the PCB your self ?

    Stepper Motor Driver 1.2 - RepRapWiki

    same Circuit, but they are using the 12 volts and the 5 volts from the ATX supply

    H500 might be right about the Led

  8. #8
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    You are right lonewolf55
    I took the schematic from 1.2 driver and modify it a little bit to make it suitable to my electronics

  9. #9
    Join Date
    Feb 2015
    Posts
    74

    Re: L297 l298 driver help

    the Voltage on that stepper motor is 12 Volt ... I use steppers rated down to like 3 volts or less if I want to run them with 12 Volts


    see this ===>>> NEMA 17 Stepper motor - RepRapWiki

    notice the Low Voltage ratings

  10. #10
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    I see that most steppers on the reprap page are below 12 volts or even below 6 volts
    So should i use a higher voltage? And what is that higher voltage you suggest?? And does the higher voltage increase torque or speed??

  11. #11
    Join Date
    Feb 2015
    Posts
    74

    Re: L297 l298 driver help

    the Max voltage to use on that motor assuming the Square Root of the Inductance times 32 = 169 Volts

    well, you ain't gonna get there with what your driver is rated at, and that would be a MAX voltage, you might get that motor to run with 24 volts but it will not run fast.

    you really need to read this post ===>>> http://www.cnczone.com/forums/steppe...48947-cnc.html

    I don't think your stepper motor is right for what you are trying to drive it with.
    Have you studied the Data Sheets for these 2 IC's that you are using ?
    PCB layout seem Critical on that L298 also.

    One more thing, here is a stepper motor Calculator you can play with so see what different voltages will do ===>>> Stepper Motor Calculator

  12. #12
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    I bought this stepper because i thought it have the right rated voltage and because this are the only steppers i can find in my country with an acceptable price
    i readed the datasheets of both l297 l298 chips but actually i didn't anderstoud current controlling in l297 datasheet
    And my driver didn't worked.. Maybe it's because i changed all the layout on the board especially the grounds maybe (i didn't used star ground method)

    But i can change the whole driver idea if you suggest another design even if it uses other chips

  13. #13
    Join Date
    Sep 2009
    Posts
    1856

    Re: L297 l298 driver help

    if you have it connected like the schematic it should work what is you program post that there are some what don't work to well with the L298N forget about the L297 if you are using a L298 on a schematic for a L297 it wont work to well

    https://www.sparkfun.com/datasheets/...eral/L298N.pdf
    http://danielscnc.webs.com/

    being disabled is not a hindrance it gives you attitude
    [SIGPIC][/SIGPIC]

  14. #14
    Join Date
    Feb 2015
    Posts
    74

    Re: L297 l298 driver help

    Figure 9 : Suggested Printed Circuit Board Layout for the Circuit of fig. 8 (1:1 scale). on Page 9
    http://www.st.com/web/en/resource/te...CD00000240.pdf

    I do not know how you laid out your board, but according to what I read in the Data Sheet it is somewhat critical due to Noise issues.

    and if you insist on using that motor, you will need to increase the supply voltage, the Max Voltage the Driver can handle is 46 volts

  15. #15
    Join Date
    Feb 2015
    Posts
    74

    Re: L297 l298 driver help

    Quote Originally Posted by taalabash View Post
    I bought this stepper because i thought it have the right rated voltage and because this are the only steppers i can find in my country with an acceptable price
    i readed the datasheets of both l297 l298 chips but actually i didn't anderstoud current controlling in l297 datasheet
    And my driver didn't worked.. Maybe it's because i changed all the layout on the board especially the grounds maybe (i didn't used star ground method)

    But i can change the whole driver idea if you suggest another design even if it uses other chips
    you might want to read this Post ===>> http://www.cnczone.com/forums/showth...based%20driver

  16. #16
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    Ok thank you lonewolf55 you helped me alot
    I have another question maybe it is off-topic
    What about using a circuit like the attached one i tried it on breadboard and it worked good without noise problems and it can handle more voltage
    But it doesn't control current
    So what about adding current limiting resistors on the common stepper lines that are connected to 12 v??
    Will it work with higher voltage without damaging the stepper? Click image for larger version. 

Name:	uploadfromtaptalk1426835068342.gif 
Views:	3 
Size:	10.4 KB 
ID:	273134

  17. #17
    Join Date
    Sep 2009
    Posts
    1856

    Re: L297 l298 driver help

    are you useing a l297 or a l298
    http://danielscnc.webs.com/

    being disabled is not a hindrance it gives you attitude
    [SIGPIC][/SIGPIC]

  18. #18
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    Daniellyall i am using both l297 (translator) and l298 ( double H bridge) i cant use only l298 to control a stepper without a translator chip

  19. #19
    Join Date
    Feb 2015
    Posts
    74

    Re: L297 l298 driver help

    current limiting resistor in series with each winding is what I would do to control the current, but seems like going backwards from where you started..

    First off what are you trying to use this for ???

  20. #20
    Join Date
    Dec 2014
    Posts
    15

    Re: L297 l298 driver help

    I am trying to make a 3d printer but the problem is that i can't find pololu driver or any Allegro based drivers or even any allegro chips to build a driver
    So i desided to use l297/l298 because i can found theme both and because it's easy to make a pcb that can handle them in home
    And again i cant find many steppers with an acceptable price ( not necessarily cheap)

Page 1 of 3 123

Similar Threads

  1. Reprap 1.2 or pyroelectro stepper driver based on L297/L298
    By alihureiby in forum Open Source Controller Boards
    Replies: 0
    Last Post: 07-26-2013, 08:01 PM
  2. L297-L298 Bipolar Stepper Driver Vero Layout
    By OvaR8ed in forum Open Source Controller Boards
    Replies: 4
    Last Post: 02-18-2013, 12:56 PM
  3. L298, L297 Stepper Driver
    By abbe in forum Open Source Controller Boards
    Replies: 23
    Last Post: 07-01-2012, 04:25 PM
  4. Problems with l297/l298 based driver
    By Jykke in forum Stepper Motors / Drives
    Replies: 21
    Last Post: 01-13-2012, 06:44 PM
  5. l298 l297 driver 2A with stepper 3A help
    By chawkiz in forum OpenSource Software
    Replies: 4
    Last Post: 06-05-2009, 03:09 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •