Pulse every 2s on BlueBoat Relay line

We are trying to attach a Relay to a BlueBoat. The relay is wired into the Servo pins based on the guide and it is successfully working and can be controlled via Mission Planner. The issue we are having is that appears to be a pulse on the signal pin every 2 seconds. The pulse lasts for about .06 seconds. If the relay is on, the pulse clears the high value and sets it back to being off. I have tried it with attach power to AUX on the navigator board, and without and it has not impact. I have also tried pins 4, 9 & 15 and it still happens.

Could there be an parameter that is causing this? We had previously noticed some issue with the stability of the PWM signal for a servo we were trying to drive - it could be related. We have since remove that servo.

As a side note - I also had to set the SERVO_GPIO_MASK to set the servo pins to be GPIO. I didn’t see that mentioned anywhere in the guide, but it didn’t work til I did that.

Quick update - I tried the same steps on a second BlueBoat and had no issues. So whatever it is, it is specific to this one boat. I may try restoring factory defaults and then double checking the wiring. Oddly, I did notice that the White Light on the electronics box on the broken boat is on all the time instead of flashing. I wonder if the strobe line is somehow being channeled onto the servo lines.

It looks like there was an old Lua script in the directory for controlling the Nav Light. It was strobing Relay1 every 2 seconds!! I deleted that and everything is working perfect on the boat with the problem.

lights.lua (4.2 KB)

2 Likes

Hi @robotastic, welcome to the forum :slight_smile:

It’s great that you managed to resolve your issue - thanks for sharing your progress and the solution!