This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
L298N and Arduino Nano
#2
don't use d9 d10 use d2 d3 to in1, in2.

Once this is working, feed d9 to the pwm (ena) pin to get speed control. You might want to switch to pwm_style = 2, since d10 will be pwm output in other direction.

Since it's dual motors, you could maybe parallel everything to get twice the output current?
Reply


Messages In This Thread
L298N and Arduino Nano - by jamos.tan@gmail.com - 2019-08-13, 05:17 PM
RE: L298N and Arduino Nano - by seandepagnier - 2019-08-14, 02:21 PM
RE: L298N and Arduino Nano - by seandepagnier - 2019-08-14, 08:36 PM
RE: L298N and Arduino Nano - by seandepagnier - 2019-08-15, 01:37 PM
RE: L298N and Arduino Nano - by ironman - 2019-08-31, 09:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)