New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable ISRM internal module for non-FrSky hardware (T16 / TX16S / etc...) #477
Conversation
…g with frames sent by the mixer
RF-Module heartbeat signal is unfortunately due to hardware error not usable on Jumper T16 and RM/Eachine TX16S, as tested today (T16 by @raphaelcoeffic , RM TX16S by me). JR RF-bay connector, as at the back of T16/TX16S, has 5 pins: The heartbeat signal provides a possibility for the radio to see that the RF module is live and working (if the module emits a heartbeat). According to the schematic (Jumper T16 here and appropriate snippet of RM/Eachine TX16S below), the module can pull down (periodically) the heartbeat line to signal it's presence and liveliness to main STM32F429BIT6 µC. Using a NPN-transistor (Q9 in T16 schem, Q105 in TX16S schem) the signal is inverted. The populated diode is to limit only to pulling the base of the transistor low (D5 in T16, D103 in TX16S). This de-couples the main µC of the radio from arbitrary positive rail used by the RF-module. The diode is of type 1N4148 and has a forward voltage of roughly 0.55 to 0.6V (as also verified with measurements). This value is although too much, so that the NPN transistor (of type S8050) is always opened (thanks to 10 kOhm pull-up at base), even if the cathode of the diode is pulled straight to ground (tested on T16 and TX16S) - the collector of the transistor will never get to high level. For the heartbeat to be usable, the diode should be replaced with a model that has significantly lower forward voltage, e.g. with a Schottky type such as 1SS389. 1SS389 has a typical forward voltage of ca. 0.2 V only and comes in the same SOD-523 package as the existing 1N4148XHE3 diode. |
In an ideal world, the heartbeat schematic would in my opinion look like this using a PNP transistor instead of a NPN: I took upon this idea and integrated this in my enhanced TX16S mainboard developement. |
Nice 😉 and youre not receive this continous periodic channel Movements? Not after an Emergency Mode or else? |
The replacement lib is functionally equivalent. It just works :-) |
@rotorman By replacing the diode listed above would it still be necessary on the external access mod to run the third wire to the heartbeat pin or is this the reason they are using this third wire to bypass this diode? It appears the diode is connected to the leg of the transistor they are soldering the wire for connection to the heartbeat pin. Thanks - Rich |
I think that you might be right with that. |
@MRC3742 / Rich, with the diode fix, you are not disabling any functionality. In fact, without this mod, the heartbeat pin of T16/TX16S radios won't work at all, as even when the Heartbeat pin is pulled straight to GND, it still is not enough to disable the NPN transistor, activated via the pull-up resistor on it's base pin. |
is there a way to use the FrSky ACCESS ISRM module , as an external module ( or even internal, disabling the original internal module ) on a Taranis QX7 radio ? |
Maybe when configurated as access protocol. Maybe with externalaccessmod together with additional external inversion. Plus a reuse of the S.Port for the Heartbeat? The Boot pin can be activated together with JR Bay supply line (over 5V BEC) for 5V Module Supply. Thats what i might See at first sight. This needs to be Discussed with Pafleraf and Risto Isnt that already selectable in latest nightly Radio setup Menu? |
thanks @brainbubblersbest for your quick response ! |
Has the diode been updated to one with a lower forward voltage on the new Radiomaster TX16S Mark II radio? |
Hello @raphaelcoeffic raphaelcoeffic |
@chrisleprince using a shottky diode is the “correct way”, as it provides some degree of protection. Just bridging it is the “I know what I’m doing” way of life (aka. “No risk no fun”). |
Thanks a lot for the answer @raphaelcoeffic |
A RCGroups user dkoro has created a PCB as ISRM adapter for TX16S. The Eagle CAD files can be found under: https://github.com/TakeToTheSky/Radiomaster-TX16S-ISRM-Adapter For documentation purposes, I link the following posts from RCGroups to this PR: |
This is somehow Hilarious as FRSKY does everything (from their perspective) to NOT make this possible. 🤣 |
I have purchased a TX16S MK II Radio with the updated main board. I measured the diode with a multimeter in diode mode. It showed me a forward voltage of 0.185. Can one of the experts confirm that this is representative of a diode with a lower forward voltage and will therefore meet the requirements for this mod? |
@TakeToTheSky according to @rotorman it should, but the real test is actually if it actually works. In my case I detected the issue with a (analog measurement capable) logic analyser connected before and after the diode. |
@TakeToTheSky Did you test it out with ISRM if it works w/o any mods to the diode with TX16S mkII? |
I recently converted my TX16S MKII to a Frsky internal ISRM module. I had some adapter boards produced using the PCB files provided by RCGroups user dkoro. The conversion was very easy thanks to the adapter boards, and it was not necessary to change the diode. All in all a strait forward conversion with no issues. |
Very nice and thank you for the feedback. This demonstrates that TX16S mkII lower forward voltage diode fixes the HEARTBEAT issue of the T16 and first generation TX16S. |
Here further report about a successful mod at RCGroups by user UU68: https://www.rcgroups.com/forums/showpost.php?p=50561063&postcount=5922 |
This should allow to run "update ISRMs" on other hardware, like Jumper T16, RM TX16S, etc...
Please note that on the T16, TX16S and probably others, a small hardware mod is required so that the heartbeat signal is transmitted properly to the micro-controller (TBD: document hw mod).