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 communication settings
#1
Hi,
My setup consist of:
A Pi 3b+
A USB GPS dongle (Globalsat BU-353S4)
mpu9255 inertial sensor plus a motor controller (powered by a fully charged 12V car battery), delivered as a package, including optically isolated communication.
A 12V wind shield wiper motor (connected to/powered by the motor controller). The functionallity of the motor has been verified by running it straight of the battery.

I've tried to find information through various forums and Youtube, but also through the OpenPlotter documentation of course.

I've managed to calibrate the sensors (accelerometers, alignment, compass), get the GPS readings presented in OpenCPN and the GPS mode available in the Pypilot plugin (in OP 1.2) so that the direction pointer pointed at the active waypoint of the activated route. In the same plugin it unfortenatly stated "No connection" (or similar). No voltage can be measured on the output to the wiper motor when moving the MPU. I can see that the "P, I, D"-parameters are affected in the Pypilot control-

In OP 2.0 I yet again manage to get the Compass and GPS modes to be activated in Pypilot App/Autopilot Control, but it  states "none", "Disengaged", "0" and "none" at the upper part of the Autopilot Control window.

Runnning pypilot_servo spews out "nmea got flag for process pipe: 17"

My problems could be due to not underdstanding how to configure the system correct. Or might I have a HW issue?
I think it would be great if there was a "for Dummies" section under Pypilot. Smile
 
What configurations are neccesary with regards to the motor controller?
1) Serial App
- How shall the UART be configured?
/ Devices
- What device is the motor controller?
- What data format should be set?
/ Connections
- What should be connected (Signal K / Pypilot / GPSD), and with what connection settings (Auto / Manual (speed?))?
2) Pypilot App
- Any specific Device/Connection settings here?
3) OCPN/Options/Connections
- TCP / UDP, 11010, In / Out?
- TCP / UDP, 22020, In / Out?
4) Other
- Signal K?
- ...?

Regards,
Fredrik
Reply


Messages In This Thread
Pypilot motor controller communication settings - by Lightmower - 2020-06-09, 09:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)