L298N two pin connection to arduino?

MarkT:
Decoupling is never optional :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!!