2018-06-15, 02:50 PM
(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."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.
it would seem that the opto should be between arduino pins and the 12v mosfets
or are you powering the arduino with 12v.?
Quote:i have a few MOC3041's left over that i got for other projects.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 .
i've been going thru my parts bin and the builder bug bit me..