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:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dummy motor driver
#4
If it is an arduino, it would be best to use the existing arduino sketch.   It supports 3 types of controller:

  1.   servo ESC pwm, single output
  2.   pwm and direction, two outputs
  3.   direct hbridge, four outputs
I think the polulu is pwm and direction io like the vnh2sp30, but you better check this.

What  you described is not a good protocol to use because it is inefficient and lacks error checking.   It also seems like it doesn't support all the features already implemented.   Please check the source code in arduino/motor/motor.ino of the pypilot repository.
Reply


Messages In This Thread
dummy motor driver - by qaywsxedc - 2019-02-02, 12:42 AM
RE: dummy motor driver - by seandepagnier - 2019-02-02, 08:58 AM
RE: dummy motor driver - by qaywsxedc - 2019-02-02, 11:01 AM
RE: dummy motor driver - by seandepagnier - 2019-02-02, 06:23 PM
RE: dummy motor driver - by qaywsxedc - 2019-02-03, 12:29 AM
RE: dummy motor driver - by seandepagnier - 2019-02-03, 02:04 AM
RE: dummy motor driver - by ddelorme - 2019-02-05, 10:39 PM
RE: dummy motor driver - by seandepagnier - 2019-02-06, 01:14 AM
RE: dummy motor driver - by ddelorme - 2019-02-07, 01:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)