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
A little help please!!
#16
Hello Sean,

After checking the outputs of pins 2,3,9 and 10, I was able to verify that pins 2 and 3 work normally, but that pin 9 sends current only in one direction, pin 10 sends it in the other direction: it is therefore necessary to connect these last 2 pins to the same 'enable' input of the l298n. Not wanting to touch your code, I did this by using 2 diodes so as not to short-circuit the 2 pins, but to use it alternately, depending on whether the rotation is to the right or to the left.
The pilot seems to be walking now (on my desk for now, while waiting for the tests on board) !!


   Pin 9 - |> ---- | _______ Enable L298N
   Pin 10 - |> --- |
   


I still have to calibrate and adjust the gain !!!
thank you so much

Kinefou
Reply


Messages In This Thread
A little help please!! - by kinefou - 2020-03-07, 08:04 PM
RE: A little help please!! - by seandepagnier - 2020-03-07, 08:58 PM
RE: A little help please!! - by kinefou - 2020-03-08, 09:13 AM
RE: A little help please!! - by seandepagnier - 2020-03-08, 05:47 PM
RE: A little help please!! - by kinefou - 2020-03-09, 11:17 AM
RE: A little help please!! - by kinefou - 2020-03-09, 08:14 PM
RE: A little help please!! - by seandepagnier - 2020-03-11, 11:22 PM
RE: A little help please!! - by kinefou - 2020-03-12, 07:20 PM
RE: A little help please!! - by seandepagnier - 2020-03-13, 03:34 PM
RE: A little help please!! - by kinefou - 2020-03-14, 12:50 PM
RE: A little help please!! - by seandepagnier - 2020-03-14, 03:05 PM
RE: A little help please!! - by kinefou - 2020-03-14, 05:23 PM
RE: A little help please!! - by seandepagnier - 2020-03-15, 06:59 PM
RE: A little help please!! - by kinefou - 2020-03-15, 08:05 PM
RE: A little help please!! - by seandepagnier - 2020-03-16, 04:19 PM
RE: A little help please!! - by kinefou - 2020-03-18, 05:02 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)