PPM-TRN/PPM-ALT

er9x is the best known firmware. It has a superb range of features and is well supported by the community. Well worth trying out.
Post Reply
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

PPM-TRN/PPM-ALT

Post by Rob Thomson »

Hello,

This is a question for Mike... :D

How easily do you think you could add a protocol option called PPM-ALT or PPM-TRN

What this option does is map all PPM output to the Trainer output, rather than the standard module.

My logic here is that users could potentially install 2 modules in their radios.

One in the back as per normal.

the other as a standard hack module install.

This would simply be wired into the trainer socket.

the protocol option could then be chosen in the setup to choose which RF module is used for the output.

In my case... I have an old DM9 module that this would work well with!

let me know your thoughts.

Rob
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!

User avatar
MikeB
9x Developer
Posts: 18010
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PPM-TRN/PPM-ALT

Post by MikeB »

That is planned, thought I had described it somewhere, just need some time to implement it.
Using the trainer PPM-in to drive PPM out is also useful to drive SIMs, the PPM signal is not then loaded by the tx module.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Rob Thomson
Site Admin
Posts: 4543
Joined: Tue Dec 27, 2011 11:34 am
Country: United Kingdom
Location: Albury, Guildford
Contact:

PPM-TRN/PPM-ALT

Post by Rob Thomson »

Lovely :)

Looking forward to it.

Rob


Sent from my iPhone using Tapatalk
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
User avatar
MikeB
9x Developer
Posts: 18010
Joined: Tue Dec 27, 2011 1:24 pm
Country: -
Location: Poole, Dorset, UK

Re: PPM-TRN/PPM-ALT

Post by MikeB »

OK, I have a version of this I'm testing, seems to work fine. I'm testing it on the V2 version of er9x, I will migrate it to standard er9x later. I also want to make this PPM ouit the one active when operating in student mode, but I'll add that subsequently.

Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PPM-TRN/PPM-ALT

Post by Kilrah »

Good thread, I actually had a semi-related question I needed to ask.
Currently, it's the power switch that chooses the trainer jack direction between PPM in and PPM out. With the switch off it is an output, with the switch on it's an input. However, from what I can see it's actually controlled by software, with signal SIMCONTROL on pin PG4 of the AVR (taken from FCC schematics).

Now, would you be open to extend/replace that power-switch-controlled behavior to a menu setting, as an extension to the discussed behavior?

Here's why:
I have modded my trainer jack (which is actually stereo), and wired (switched) power onto the unused contact. I fly FPV, and this allows me to plug my video goggles with integrated head tracker into the trainer port. With a single cable, I power the video goggles from the radio's battery, AND send head tracker info to the radio. The perfect, clean, highly portable setup. I can plug the jack with the radio off (no power on the jack, which is good as when you insert a TRS plug it usually creates temporary shorts), then turn the radio on, which powers the goggles and turns the trainer port into an input to accept the head tracker's PPM.
That's perfect. But now, that convenient port could also be used for an RF module, with power of course (FrSky DHT-U for channel 9-16??). But this would require the jack to be powered (switch ON), with the trainer port set to PPM out.

I have already tried other solutions (using direct, unswitched battery power onto the jack, even if bad), but while it doesn't cause damage the trainer port somehow won't work at all anymore, either as input (channel values are jumping all around) nor as output (nothing), unless I unplug the battery, insert the jack, then plug battery, where it then works normally. It seems the 4066 somehow doesn't appreciate some power it might receive for a split second when the jack is inserted.
I have even rewired the jack to apply power to the tip contact that is less likely to cause shorts rather than the orignally free middle contact, but no change. I left it that way as it has the advantage that in case someone plugs a mono jack into my TX all it would do is short the PPM line instead of the battery - much less risky. Less so for the student TX that would get battery power into its PPM line, but that's not my problem anymore :twisted:

So, in summary, it would be nice to have a "soft" setting to choose trainer port direction, and thus being able to use a powered output in both directions :)

Image

User avatar
Kilrah
Posts: 11109
Joined: Sat Feb 18, 2012 6:56 pm
Country: Switzerland

Re: PPM-TRN/PPM-ALT

Post by Kilrah »

Any other reflexion on the subject?

Post Reply

Return to “er9x”