CubeOrange+ Relay not going high

Hi,

I’ve got two CubeOrange+'s (one on the standard cube carrier and one on the airbot mini carrier). One is running 4.7.0-beta1 and the other is on 4.6.3. The issue I’m having is getting a relay on AUX1 to go high (measure 3.3V on that pin with a multimeter). Params I’ve set:

SERVO9_FUNCTION,-1
RELAY1_FUNCTION,1
RELAY1_PIN,50

When I first power on both boards, the relay measures 3.3V but then drops down to 0V a few seconds later and since then it never goes back up to 3.3V (tried toggling via MP). I’ve tried with the boards powered over USB and with an external 5V source to the carrier and to the servo rail.

Any insight would be appreciated, cheers.

Are you trying to drive an actual relay when the issue occurs?

Nope; at the moment I’m just measuring with a multimeter. My goal is to get a Rockblock 9704 module working and this relay is what I need for the enable pin.

Ok, GPIO can’t directly drive relays. The pin going low with no load is weird.

Could you post log with log_disarmed set.

Not sure why I couldn’t upload it directly here but there’s the link ^

It looks ok to me in the log. The relay is configured to be active low (inverted). I would try with the script disabled.

Okay, interestingly removing the script seemed to fix things..? I didn’t mean to make it inverted I think that would’ve been when I was messing around with the params trying to get it to work. Thanks for the help it seems okay now; strange.

The script may have been trying to control the relay or something, you would have to check it.

1 Like