Question about L297-8 and 555 timer circuit

FAQ, Q and A on the L297-L298 Board

Question about L297-8 and 555 timer circuit

Postby electron » Wed Apr 20, 2011 11:34 pm

I just built up my board and connected the stepper motor. I am using this circuit to test the board out:

Image

I am wondering if I have chosen the wrong 555 resistor values. When connected, the motor gets the HF whine (dogs go crazy) and it seems as if its moving very, very, slowly. As in, you barely notice it. Or, is this circuit totally wrong? When I use actual switches to enable and step the motor moves one step.

It's a bit late for me so I need some help! :)
electron
 
Posts: 12
Joined: Fri Mar 25, 2011 5:04 pm

Re: Question about L297-8 and 555 timer circuit

Postby PMinMO » Thu Apr 21, 2011 4:00 pm

You shouldn't let the 10K pot goto 0 ohms. Add a 470 ohm resistor in series. When the switch is in the 2.2K mode you might not get the motor started. Steppers really need to have a acceleration profile from 0 hz, and you would be better to change one of the resistors to 100K and set the pot to max resistance to get the mtor started.
Phil
Too many interests, too many projects, not enough time!!!!!!!!
Always looking for people to sign my guestbook @ http://pminmo.com
email me by using the email button below
User avatar
PMinMO
Site Admin
 
Posts: 1907
Joined: Tue Nov 22, 2005 5:35 pm

Re: Question about L297-8 and 555 timer circuit

Postby electron » Fri Apr 22, 2011 3:43 pm

Ahhh... I was area of the acceleration profile of a stepper but did not realize it was that important. I put in my resistance substitution box and I was still unable to get the motor moving. I even tried full-coil or half-coil to no avail.

The 33uF cap on mine is not a polarized one so that might be the issue or my timer circuit is sloppy somehow. I should maybe breadboard it first and tinker with it some more.

This project is to make a turntable that rotates for an art project. So, I was hoping that the acceleration/deceleration thing would not be a factor.

Augh.
electron
 
Posts: 12
Joined: Fri Mar 25, 2011 5:04 pm

Re: Question about L297-8 and 555 timer circuit

Postby PMinMO » Fri Apr 22, 2011 6:25 pm

usually the 555 does a really good job on timing. I have a test box I use frequently that is simple 74HC14 RC oscillator, works like a champ, but you can dial the frequency down to fractional hz. Something like: http://www.piclist.com/images/www/hobby ... _ckt13.htm
Phil
Too many interests, too many projects, not enough time!!!!!!!!
Always looking for people to sign my guestbook @ http://pminmo.com
email me by using the email button below
User avatar
PMinMO
Site Admin
 
Posts: 1907
Joined: Tue Nov 22, 2005 5:35 pm

Re: Question about L297-8 and 555 timer circuit

Postby electron » Fri Apr 22, 2011 8:39 pm

Damn... still is not working for me. Either the 555 or the other circuit you mentioned. I wonder if its my power supply as its a 24vdc/2.5a switch-mode type. The PS itself changes frequency as I try different freq's to move the stepper. I have another, identical one, I'll try that as maybe its a bad one.

sigh
electron
 
Posts: 12
Joined: Fri Mar 25, 2011 5:04 pm

Re: Question about L297-8 and 555 timer circuit

Postby electron » Sat Apr 23, 2011 2:36 pm

OK, i followed your T/S section on your Wiki. The outputs with power supplied and NOT enabled is near zero (like 200 mV). When I enable the outputs look normal. However, when i step they do not. They seem to be missing a step or I have to step twice maybe three times to get a voltage change from zero to supply voltage and back again. It will change just not always. This behavior is primarily on one channel.

So, Pminmo, do you think its the L297 or L298 or the 74HC14 chip?
electron
 
Posts: 12
Joined: Fri Mar 25, 2011 5:04 pm

Re: Question about L297-8 and 555 timer circuit

Postby electron » Sat Apr 23, 2011 3:45 pm

One of the three was bad, I suspect the L298... I originally used lead-free solder which has a much higher working temp. So, this time around I used leaded-solder and I can use the push buttons to step the motor. But, my 555 timer circuit just does not seem to work. It's always 60Hz on the output, which is probably line noise leaking in. And, I can't adjust that frequency at all.
electron
 
Posts: 12
Joined: Fri Mar 25, 2011 5:04 pm

Re: Question about L297-8 and 555 timer circuit

Postby PMinMO » Sat Apr 23, 2011 4:06 pm

if you socketed the L297 that's the easiest to swap and see if it fixes the problem. 99% of the time it's a solder joint. On DIY etch boards a tiny etch issue.
Phil
Too many interests, too many projects, not enough time!!!!!!!!
Always looking for people to sign my guestbook @ http://pminmo.com
email me by using the email button below
User avatar
PMinMO
Site Admin
 
Posts: 1907
Joined: Tue Nov 22, 2005 5:35 pm

Re: Question about L297-8 and 555 timer circuit

Postby electron » Sat Apr 23, 2011 4:52 pm

You think this circuit would be better?

Image
electron
 
Posts: 12
Joined: Fri Mar 25, 2011 5:04 pm

Re: Question about L297-8 and 555 timer circuit

Postby electron » Sat Apr 23, 2011 5:12 pm

OK... I figured out what it was with the 555 timing circuit: I forgot to connect Pin 7 to the two selectable resistors. As soon as I did that I was able to change the frequency and when I hit the enable pin the stepper started turning. Man... I can't believe it, a missed wire.

Whew!

P.S. I may have killed my first L298 by connected the motor with the power on. I think that's a sure fire way to kill the L298.
electron
 
Posts: 12
Joined: Fri Mar 25, 2011 5:04 pm

Re: Question about L297-8 and 555 timer circuit

Postby PMinMO » Sat Apr 23, 2011 5:23 pm

Yep, connecting a motor with power on is almost a guarantee to kill a driver ship.
Phil
Too many interests, too many projects, not enough time!!!!!!!!
Always looking for people to sign my guestbook @ http://pminmo.com
email me by using the email button below
User avatar
PMinMO
Site Admin
 
Posts: 1907
Joined: Tue Nov 22, 2005 5:35 pm

Re: Question about L297-8 and 555 timer circuit

Postby electron » Sun Apr 24, 2011 12:27 am

I also have a "cold joint" on a wire or somewhere which is the reason for the intermittent operation.

First cold join in like 8 years for me. I feel ashamed.

But, it works like a champ when it does!
electron
 
Posts: 12
Joined: Fri Mar 25, 2011 5:04 pm


Return to L297-8

Who is online

Users browsing this forum: No registered users and 1 guest