Go Down

Topic: L298N two pin connection to arduino? (Read 985 times) previous topic - next topic

ben10

Mar 24, 2011, 08:54 am Last Edit: Mar 24, 2011, 09:03 am by ben10 Reason: 1
Hi guys,

I was trying to work on a two pin configuration using L298n by following a schematic from this source:

http://translate.googleusercontent.com/translate_c?hl=en&sl=es&tl=en&u=http://txapuzas.blogspot.com/2009/12/paperstepperl298n-driver-de-potencia.html&rurl=translate.google.com&usg=ALkJrhjl0u8FjoTX1wilU47EvROlEmefnA

However, whenever I try this two pin setup my motor just barely moves in fact it doesn't move the shaft but I can hear the motor trying to move. I tried the four pin configuration using L298n and my motor happily moves. Has anybody tried a two pin configuration using L298n if yes can you shed some light of what I might be missing to make this work?

Thanks in advance.  

MarkT

You need to check that the 2 to 4 pin conversion circuit is actually working - each transistor should be inverting the logic signal it gets on its base - use multimeter.  Check all the connections too.
[ I won't respond to messages, use the forum please ]

ben10

Thanks MarkT for the tip I finally got it working however the weird thing is that it's a bit buggy the motor will run and turn it's shaft as expected but later on it seems to get chocked up meaning the shaft begins to barely move and I can see that the motor is trying to move the shaft. There seems to be allot of noise on the signal what could be the fix to this? Thanks again.

ben10

Adding decoupling to Vss and Vdd seems to work =)

MarkT

[ I won't respond to messages, use the forum please ]

ben10


Decoupling is never optional ;)


Yeah, well as you can see from the original schematic it uses decoupling but it seems not enough to filter the noise, I added capacitors based on decoupling best practices that seems to do the trick! Now I'm learning =) thanks allot!!

Grumpy_Mike


ben10


You might have to use inductors as well as capacitors, see:-
http://www.thebox.myzen.co.uk/Tutorial/De-coupling.html


Thanks for the help guys really appreciate it!

@Mike yeah was reading through your articles regarding de-coupling and it sure helped allot!!

Go Up