Pages: [1]   Go Down
Author Topic: L298N two pin connection to arduino?  (Read 876 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.  
« Last Edit: March 24, 2011, 03:03:37 am by ben10 » Logged

0
Offline Offline
Shannon Member
****
Karma: 200
Posts: 11672
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Adding decoupling to Vss and Vdd seems to work =)
Logged

0
Offline Offline
Shannon Member
****
Karma: 200
Posts: 11672
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Decoupling is never optional smiley-wink
Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Decoupling is never optional smiley-wink

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!!
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 597
Posts: 33314
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!!
Logged

Pages: [1]   Go Up
Jump to: