2020-04-08, 04:20 PM
(2020-04-08, 02:29 PM)DvdB Wrote: Hello,
We have build an RC boat with a raspberry pi 3B+ with openplotter. We are using an RC controller now but we want to be able to sail to a waypoint we have inserted in opencpn. So we want to try Pypilot to navigate our boat to the waypoint.
Setup:
We have a globalsat bu353 S4 and an MPU 9250 imu.
Raspberry pi model 3B+ with openplotter v2 headless and OenCPN 5.0.0
We use a regular brushless DC motor with an esc for moving forward and a little pwm servo for moving the rudder.
Open CPN works fine we can see the GPS location of the boat.
The motor.ino sketch is working on the arduino and the arduino is connected to the raspberry by serial and it is communicating.
We can choose in Pypilot between the compass and the gps.
The Pypilot gives the following information:
SignalK Server: Connected
Servo Flags: DRIVER_TIMEOUT
Autopilot Errors: no motor controller!
Only thing we are missing is to make the motor and the servo working with Pypilot.
So we like to know if it is possible to use Pypilot with a small pwm servo like the SG90 or a H-king HK15338 to move the rudder.
And how can we connect the servo and the motor?
I hope somebody can help us
Regards
Hi,
maybe this helps
http://forum.openmarine.net/showthread.p...228&page=3
save sailing
Andreas