Using the Ardupilot MissionPlanner and SpeedyBee F 405Wing FC. Need to connect to the servo rail the phisical button which will be using for fully switch off the external motor. The problem that Servo rail all time sending short signal and simple connection the Relay Module is not working because it all time receiving some signal. Need advise how to realise the Button solution fro servo rail. It will be controlled with one of the RC switches remotely
That Flight Controller doesn’t support a typical Safety Switch. What are you trying to do with the relay?
relay should close the circuit - it works like a switch, but it is impossible to do beuse to the servo is all time some signal is going. That is why it was a question about help
No clue what you mean by that. If you want to trigger a relay set the output for GPIO and understand timing groups and how to configure a relay. Relay Switch
thanks, i will try the relay switch
Make sure you assign GPIO to a timing group that doesn’t include motors. Details of the Timing Groups for that FC here Speedybee F405-wing
ok. will try. thanks
Need Help With IT
The relay connected tp the speedybee f405wing FC to the Servo8.
The Problem that it is all time is ON, I need to switch OFF it from the transmitter.
i have set the parameters:
SERVO8_FUNCTION = -1 (Tried 0 also)
RELAY1_PIN = 57 (Tried 41 also, 1 also)|
RC6_OPTION = 28
RELAY1_FUNCTION=1
RELAY1_INVERTED=0 tried1 also
But Relay is all time ON and it is impossible to switch it OFF
NEED HELP!!! How to set the Relay on to the ServoX port and make it switchable from the Tranmsitter
SERVO8_FUNCTION = -1
RELAY1_PIN = 57
RC6_OPTION = 28
RELAY1_FUNCTION=1
Then go to Mission Planners Servo/Relay Tab (under the HUD) and with a voltmeter connected to Chan8 output you should see ~3.3Vdc when you press the Relay 1 High button.
Then, get a relay with a 3.3V coil.
the problem in that the FlightController on the switched OFF relay set to the signal 0,02V it means that relay all time ON, because the Flight controller should send 0 when it switched OFF but it does not
So you are saying in the off state it’s 0.02V and in the on-state it’s what? Disconnect the relay when making this measurement. 0.02V is not going to active a relay coil.
when servo8 is OFF the signal voltage is 0,02v when servo8 is ON the signal voltage is 3,42v
Then it’s working as expected. Get a relay with a 3.3V coil. The one you have is 12V.
SDR-03VDC-
I don’t think GPIO can drive a coil directly. They will need a transistor to drive the coil unless the driver is built into the relay module.
Yes, you could be right. Spec is .36w for the coil so ~110ma.
And it’s a SpeedyBee!
Well in the MCU will be very unhappy range. I don’t have experience with STM32 output protections but the best case is that it browns out, the worst is that the magic smoke is out.
MOSFET or relay driver IC needed. Unless the Chinese did something stupid low side N-Channel MOSFETs will be the easiest to deal with. What is servo pin state during boot?
It’s high I think. There have been some posts about this changing that action in the bootloader. Well maybe it depends. I just tried this on a bench Kakute F7 I was playing around with for this post and it doesn’t go high. Didn’t scope it though. OK, did now and it’s low.
Low or at least high impedance would have been much better as with the bootloader state being high inversion will be needed to drive the MOSFET.
what about to put the Arduino between the relay and Flight controller for getting analog from SpeedyBee and producing the digital signal for relay?
A arduino is also not much more capable to switch high current loads directly.
So which relay module you are using exactly. Show all specifications.
Which power (V) you are using for the relay module?
