Vtx on/off gpio

Hello guys!
I wonder If somebody use VTX Power ON/OFF by GPIO?
I use SpeedyBee F405 wing with VTX connected to serial 5.
So, my param:
RC8_OPTION 34 Relay2 On/Off ( I assigned one toggle switch of my RC on Chanel 8)
RELAY_PIN2 81 9V/12V Switch GPIO
From the file of SpeedyBee F405wing hwdef.dat :
vtx power control
PC13 PINIO1 OUTPUT GPIO(81) LOW
Looks like everything is ok, but this way is not working.
Anything I missed?

Hmm, I’m not sure, how related servo out and serial5 where VTX is connected. But, anyway, I will give a try.
Or, Maybe I have to connect VTX 12v pin via servo where GPIO settled? But it’s not in ardu manual.

your talking about 2 different things, there is the switched power output for controlling the power supply to the vtx power that is operated like a relay
https://ardupilot.org/copter/docs/common-relay.html

then there is serial control of the vtx where you can set pitmode that tells the vtx to turn its power down to <1mw.

Generally you don’t need both.

https://ardupilot.org/copter/docs/common-vtx.html

i forgot your using the integrated switcher that has its own pin so you dont need to set a servo to GPIO.

Yes! I need first one to shut down VTX. But I’m not really see the connection scheme.
So, It really need VTX wire put via servo out?
Pit mod sometimes not really working good.

But, the servo is good idea, just need to think how to implement that.
I’ve seen in githab a case that dedicated VTX pin is not working, that’s why I’m looking another way.

you can get really small RC relays

1 Like