Arduino relay not working bluetooth

Hi.
I have a setup composed of a relay connected to an Arduino Uno and powered by a ESC. The idea is, I'm controlling a BLDC via bluetooth and the RemoteXY app, and using a relay to change the direction of the motor (ESC is not bidirectional).

The problem is that I can't change the state of the relay. Theoretically, when I press on a switch on my phone, the relay should be open/closed. Instead, nothing happens. I've checked the pins connected to the relay; they are powering on/off, so I doubt that it is a coding issue.

One weird bug: if I short the signal wire to the ground, the relay turns on.

Indicates your logic may be inverted.

Your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advice on) your project :wink: See About the Installation & Troubleshooting category.

The relay won't switch whether its pin is high or low, so I don't think that's the issue here

Well it is the issue to some extent as GND triggers relay and your pin doesn’t therefore your pin does not equal GND

It's probably time you provided details of the relay and a connection diagram.

Yeah, I don't know what I fixed exactly, but I have disassembled and reassembled everything and now it works just fine, soooooo sorry for wasting your time.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.