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!!
#1
Hello,

I try without success to connect an arduino running 'motor.ino' on my raspberry pi4 in UART (after having disabled the bluetooth) to make a test of pypilot.
I have grounded pins A0, A1, A2, A3 and A4, as I have not connected any sensor!
At first, I connected an RC servo to pin 9 after putting pin 6 to earth (pwm_style = 0); and I observe encouraging reactions from my servo which compensates for the deviation from the chosen route in the right direction, but which does so in the form of brief deviations from the servo !!
Secondly, I plug the pin 6 on vcc (pwm_style = 1) to switch to H-bridge mode and I plug in a L298N module with 'enable' on pin 9, 'In1' on pin 2 and 'In2' on Pin3, but I don't see any reaction from the engine.
In motor.ino, it is indicated that the H-bridge plugs in low on pins 2 and 3 and in high on pins 9 and 10: but where plugs the 'enable', given that pin 9 of pwm is busy!
I pers my Latin !!!
I must surely make a mistake, thank you for putting me on the right way!

Cordialy
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)