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
Almost There . . .
#1
I'm excited to finally have the Pypilot working through the Opencpn plugin. Just making it move the rudder while I'm in the slip at the moment, but things are looking good.
My setup is a VNC connected RPI 3B+, MPU9250, PWM motor controller that's probably too low amps for the real world, and an Arduino UNO, after the NANO took a dive. Not entirely unexpected, the NANO had been a participant in a number of hexacopter crashes.
It's driving a fairly new Alpha 3000 ballscrew linear actuator. I've got current sense through a DIY shunt resistor, which I haven't got calibrated yet, but  I can see it work. Rudder position sense is working through the Alpha 10k pot feeding a voltage divider. No limit switches yet. I put LEDS on the motor controller Direction, PWM, and Enable inputs for troubleshooting.
My big problem is serial communication through the Pi GPIO to the Arduino. I've finally gotten a loopback test to work on the 5V side of the level converter, so I know the Pi TX and RX are working, but nothing on either Arduino. I'm almost ashamed to say how much time I've put into this issue without success. Finally plugged in USB and Bingo!
While I can get a USB Isolator on Amazon, I'd really like to get things working with an opto-isolated GPIO serial connection. Probably something simple to someone of experience, so any helpful hints would be appreciated
Thanks
Reply


Messages In This Thread
Almost There . . . - by Sailbus - 2019-03-20, 02:08 AM
RE: Almost There . . . - by seandepagnier - 2019-03-22, 02:37 AM
RE: Almost There . . . - by Sailbus - 2019-03-22, 05:56 AM
RE: Almost There . . . - by seandepagnier - 2019-03-23, 01:15 AM
RE: Almost There . . . - by Sailbus - 2019-03-23, 03:02 AM
RE: Almost There . . . - by seandepagnier - 2019-03-23, 03:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)