2026-11-02, 04:51 AM
I have an issue with my pypilot setup. It was previously correctly configured and I was able to test the movement of the linear actuator by simulating a manual Tack. The next project step was to configure the anemometer. This proved more difficult than anticipated. Eventually I made a major error and used Ai. This resulted in the entire setup being corrupted, which mean a clean reinstall. Now I have the problem with pypilot
My setup is a RPi5 with NVME bottom hat. A BME280 and IMU. The motor controller is an Arduino Nano connected to the Rpi by USB cable. The Arduino is connected to an H-Bridge Relay controlling a linear actuator. Nothing has physically changed since my previously working version of Pypilot (ie no change to the wiring or connections). This leads me to believe I have a software configuration issue.
In the Op4 Serial Devices window I have UART0 enabled.
The window shows the following:
USB Port Device /dev/ Alias/dev/ vendor product serial remember
1f000300000.serial:0.0 tty/AMA0
No hub 3-1.1.0 ttyUSB0 ttyOP_Arduino 0403 6001 A5069R dev
No Hub 3-2.2:1.0 ttyACM0 1a86 55d3 5D01123585
Hub port 4:1 3-2.4.4:1.0 ttyACM1 ttyOP_gps 1546 01a7 dev
107d001000.serial:0.0 ttyAMA10
107d50c000.serial:0.0 ttyS0
The tyACM0 device is the USB dongle for the anemometer
In the Connections window it shows
device/dev/ alias/dev data Connection ID bauds
ttyUSB0 ttyOP_arduino NMEA0183 Pypilot 1 auto
ttyACM1 ttyOP_gps NMEA0183 SignalK gps 38400
In the Pypilot 4.011 Serial window is /dev/ttyOP_arduino
In the Pypilot Services window is Enable Autopilot Pypilot Version: 0.71 Detected IMU: ICM-20948
Clicking the Control Button shows a RED AP. Clicking it makes it change to GREEN. The Arduino is Engaged with alignment warning. Rudder 0
The Red and Green column just flicker as lines at the bottom of the window.
The Arduino has the Red power led illuminated and the RX and TX leds constantly flicker
Clicking the Tack to Starboard or Port button results in the Tack window closing and no response from the actuator.
SignalK Dashboard shows yellow underlining for gps i2C and Pypilot
In OpenCPN the gps, compass and IMU all provide data to the gauges.
I don’t know what the issue is but suspect either the configuration between the Serial and Pypilot OR the ‘alignment warning’ in Autopilot Control.
Any suggestions on how to identify the problem and rectify it/them would be greatly appreciated.
Tom
My setup is a RPi5 with NVME bottom hat. A BME280 and IMU. The motor controller is an Arduino Nano connected to the Rpi by USB cable. The Arduino is connected to an H-Bridge Relay controlling a linear actuator. Nothing has physically changed since my previously working version of Pypilot (ie no change to the wiring or connections). This leads me to believe I have a software configuration issue.
In the Op4 Serial Devices window I have UART0 enabled.
The window shows the following:
USB Port Device /dev/ Alias/dev/ vendor product serial remember
1f000300000.serial:0.0 tty/AMA0
No hub 3-1.1.0 ttyUSB0 ttyOP_Arduino 0403 6001 A5069R dev
No Hub 3-2.2:1.0 ttyACM0 1a86 55d3 5D01123585
Hub port 4:1 3-2.4.4:1.0 ttyACM1 ttyOP_gps 1546 01a7 dev
107d001000.serial:0.0 ttyAMA10
107d50c000.serial:0.0 ttyS0
The tyACM0 device is the USB dongle for the anemometer
In the Connections window it shows
device/dev/ alias/dev data Connection ID bauds
ttyUSB0 ttyOP_arduino NMEA0183 Pypilot 1 auto
ttyACM1 ttyOP_gps NMEA0183 SignalK gps 38400
In the Pypilot 4.011 Serial window is /dev/ttyOP_arduino
In the Pypilot Services window is Enable Autopilot Pypilot Version: 0.71 Detected IMU: ICM-20948
Clicking the Control Button shows a RED AP. Clicking it makes it change to GREEN. The Arduino is Engaged with alignment warning. Rudder 0
The Red and Green column just flicker as lines at the bottom of the window.
The Arduino has the Red power led illuminated and the RX and TX leds constantly flicker
Clicking the Tack to Starboard or Port button results in the Tack window closing and no response from the actuator.
SignalK Dashboard shows yellow underlining for gps i2C and Pypilot
In OpenCPN the gps, compass and IMU all provide data to the gauges.
I don’t know what the issue is but suspect either the configuration between the Serial and Pypilot OR the ‘alignment warning’ in Autopilot Control.
Any suggestions on how to identify the problem and rectify it/them would be greatly appreciated.
Tom

