- Posts: 22
Serial out for LRS boxes
- Whiffles
- Offline
hexfet wrote: Thanks for testing! Are you using the nightly build or the reduce_latency test build?
Planning to work on the configuration settings when the test unit arrives. It has started the trip.
I'm using the nightly. I wasn't aware the reduced latency test build wasn't incorporated. I don't sense any latency when flying, but maybe I'm just not sensitive to it. I'm working on a tutorial video for setting this up and I'm directing people to the nightly page.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Whiffles
- Offline
- Posts: 22
hexfet wrote: Directing folks to the nightly build is best. If they're interested enough to get on the forum they'll find the rest. While the test build has slightly less latency I don't think it's a difference that would be noticed in flying.
Sounds good! Have you had a chance to look at the Lua scripts? I think the only technical hurdle here is dynamically building the CRSF settings menu. The Lua script seems to load the settings in real time as it contacts the RX. The TX should be easier as the setting options can be requested directly from the module.
Please Log in or Create an account to join the conversation.
- Whiffles
- Offline
- Posts: 22
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
Possibly also this can be tested by using a flight controller, if it is in the nightlies I might hook up tonight see if it runs on betaflight receiver monitor.
(Still I hope some of the RF masters here manage to hook up Semtech module over the SPI bus)
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Whiffles
- Offline
- Posts: 22
hexfet wrote: The Frsky website says the R9M only supports PPM and PXX. I've coded the PXX protocol but won't be able to test for several weeks.
I'm not familiar with PXX. Does it have any latency issues like PPM?
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
Please Log in or Create an account to join the conversation.
- xfapv
- Offline
- Posts: 23
hexfet wrote: Thanks for the testing. It wouldn't surprise me if there's a small resistance between PA9 and the TX pin for short/ESD protection. If it's more than a couple hundred ohms then it might be the wrong pin. Can you measure with an ohmmeter? Compare to the resistance between PA8 and the trainer jack.
The oscilloscope should show a short burst of 400 kbps data every 4 ms. At 400k one bit time is 2.5 microseconds, so the 25 byte packet will only last 625 microseconds.
Update on Devo12: I tested the signal on the TX pin header with a better scope. As hexfet suspected there is no signal at all with CRSF. The voltage on the TX pin is about 3.4 V (constant) for protocol SBUS (and others) and switches to no signal when selecting protocol CRSF (the signal doesnt change, regardless if the scope is connect to TX or not). So something changes, when CRSF is selected, but the correct signal is not there.
So could you please check, if the CRSF signal is sent to devo12 TX Pin, or point out, where the output destination is set in the source code. I tested with the nightly build e801244.
Thx for any hint.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
There's also no signal on the RX pin header?
If the SBUS and TESTSER protocols also don't show any output then it's unlikely the problem is specific to CRSF. Is the test done with a simple model that should produce a signal for the first four channels?
It is necessary to click Re-Init after changing the protocol to get the serial protocols started.
Please Log in or Create an account to join the conversation.
- Alx_Slk
- Offline
- Posts: 4
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Alx_Slk
- Offline
- Posts: 4
hexfet wrote: That's good news! Do you have a link to the new version. The file here hasn't been updated.
Here is the link. I do not have a module, so I can not check. I follow this because I want to buy a micro TX module for my t8sg v2 plus radio.
https://www.team-blacksheep.com/products/prod:agentxhttps://www.team-blacksheep.com/products/prod:agentx
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Rjx
- Offline
- Posts: 38
Got T8SG v2+ here.
Was wondering if there is also support for openLRS?
Orange UHF or the wolfbox
Thanks
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
From what I've seen so far PPM should work without any changes required. A hardware mod may or may not be needed to use SBUS, and telemetry is possible but need to learn more to see what's required. I'll look into it.
Please Log in or Create an account to join the conversation.
- Rjx
- Offline
- Posts: 38
Ive just ordered the wolfbox.
Another question, can the Transmitter do internal RF=off with PPM output at the back?
SBUS would be great option too. Since PPM has bigger delay
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
Modules internal modules are than off.
For DIY a very good contender is qczek qlrs system using lora
Please Log in or Create an account to join the conversation.
- Rjx
- Offline
- Posts: 38
Fernandez wrote: Yes PPM, sbus, pxx protocols can be used to external
Modules internal modules are than off.
For DIY a very good contender is qczek qlrs system using lora
Hi
Do I still need to flash nightly builds to get PPM and SBUS out? I have NOT flashed mine since I got it. Only mod I have done is the MP3 voice module.
How to know if internal RF module is OFF?
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Serial out for LRS boxes