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
Pypilot motor output
#2
(2020-03-26, 11:02 PM)janne Wrote: My questions; 
-What program outputs the directions for the motor driver? 
-And in what "form"(nmea?) is the output? 

Indeed, at first it can be quite daunting. The raspberry sends (motor) commands to the arduino and receives status information back. This is a proprietary byte code format; it would be ill-advised to break into this protocol. The arduino can drive a motor in three different ways. Each way requires additional electronic circuitry to be attached to D2, D3, D9 and/or D10 of the arduino, depending on the way of driving (in the code 'pwm_style'). All a good understander needs to know is in the motor.ino code commentary, but if you are not into electronics I'd suggest you buy a complete motor controller from the pypilot.org site; this integrates an arduino and the electronics to attach a motor to.
Reply


Messages In This Thread
Pypilot motor output - by janne - 2020-03-26, 11:02 PM
RE: Pypilot motor output - by ironman - 2020-04-10, 10:00 PM
RE: Pypilot motor output - by janne - 2020-04-13, 02:51 PM
RE: Pypilot motor output - by seandepagnier - 2020-04-14, 02:08 AM
RE: Pypilot motor output - by janne - 2020-04-15, 10:40 AM
RE: Pypilot motor output - by ironman - 2020-04-15, 12:01 PM
RE: Pypilot motor output - by asahi - 2020-04-26, 04:11 PM
RE: Pypilot motor output - by seandepagnier - 2020-04-27, 01:17 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)