Asked — Edited
Resolved Resolved by Dunning-Kruger!

H Bridge Reverse Instead Of Backing Up

This is bugging the hell out of me...I have a L298N H bridge setup and for the life of me cant seem to figure out why Megabyte turns to the right . Instead of reversing straight back! Ive tried swapping all the combos for movement in EZ builder. Forward, left and right work. But reverse he seems to pull to one side. Im sure its something obvious,...but im stumped!


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

#17  

I got credit for resolving this and I shouldn't have... I think @Xuven meant this for Rich.... If EZ Robot can, they should debit me and credit Rich.....

United Kingdom
#18  

Don't worry about it dude, I'm sure I can afford to let a few slide and I'm sure I've been credited where you should have been a few times in the past too.

@xuven, if you look on the L298n datasheet you can see which pin on the L298n chip (the big thing with lots of pins and a heatsink on it) should go to In1 to In4 (labelled as Input 1 to Input 4). With a multimeter you could check continuity between the In1 pin and Input 1 of the L298n, In2 pin and Input 2 of the L298n, etc. (Inputs on the L298n are pins 5, 7, 10 and 12) just to make sure the H-Bridge isn't faulty.

You could also ground 3 of the 4 In pins and apply a signal set to On to the fourth pin and see if an LED lights up, then move to the next In, ground the others, apply the on signal to the In etc. and test each one at a time (if that makes sense).