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 controller
#10
(2018-06-15, 11:25 AM)jim321 Wrote: "There is optical isolation to protect the raspberry and the simplest way to do that is over a uart, not spi."

it would seem that the opto should be between arduino pins and the 12v  mosfets
or are you powering the arduino with 12v.?
The analog voltage and current measurement for the motor would also need to be isolated, so it's not possible with simple optical isolation. I am protecting the raspberry from the motor controller, not the arduino.
Quote:i have a few  MOC3041's left over that i got for other projects.
i've been going thru my parts bin and the builder bug bit me..
The pypilot code is yours to change and adapt to whatever hardware you can find that will work. I will do my best to help, but I have a lot of reasons for doing things the way I did .
Reply


Messages In This Thread
Pypilot motor controller - by quetzal - 2018-06-05, 09:09 AM
RE: Pypilot motor controller - by jim321 - 2018-06-05, 10:06 AM
RE: Pypilot motor controller - by quetzal - 2018-06-05, 06:32 PM
RE: Pypilot motor controller - by seandepagnier - 2018-06-06, 06:09 PM
RE: Pypilot motor controller - by jim321 - 2018-06-07, 12:56 AM
RE: Pypilot motor controller - by seandepagnier - 2018-06-12, 09:17 PM
RE: Pypilot motor controller - by NahanniV - 2018-06-14, 12:54 PM
RE: Pypilot motor controller - by seandepagnier - 2018-06-14, 04:04 PM
RE: Pypilot motor controller - by CapnKernel - 2019-11-28, 02:55 AM
RE: Pypilot motor controller - by CapnKernel - 2021-01-13, 02:56 AM
RE: Pypilot motor controller - by jim321 - 2018-06-15, 11:25 AM
RE: Pypilot motor controller - by seandepagnier - 2018-06-15, 02:50 PM
RE: Pypilot motor controller - by seandepagnier - 2018-06-17, 10:27 PM
RE: Pypilot motor controller - by quetzal - 2018-06-19, 03:54 PM
RE: Pypilot motor controller - by CapnKernel - 2019-07-24, 08:24 AM
RE: Pypilot motor controller - by seandepagnier - 2021-01-14, 12:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)