- Posts: 38
Serial out for LRS boxes
- Rjx
- Offline
Ive flashed the latest nightly build (mar02)
Currently at work today but I will scope it out later (sbus output) and connect it to an FC for testing.
@hexfet
I completly forgot about posting addtl info on wolfbox. I will post detailed images later. Im not sure what firmware the stock wolfbox was using, but have flashed it (now) with latest openLRSng fw 3.9.0 (using arduino) . im using latest configurator also version 1.0.0. Rx also flashed to latest, again with arduino.
Hardware schematic for this is (I think) a copy of flytron M3(tx). Havent had the time to properly trace the actual circuit.
What I have figured out now is how to get sbus(or sumd) output from the rx. Using PPM input from Tx thru JR bay. Now what I need to do now(later) is check if openLRSng supports sbus/sumd as input. Really havent thought of that until Ive read THIS THREAD. this would be waaay better having sbus input and sbus output(instead of ppm to sbus).
If wolfbox/olrsng does not accept sbus input, could order QLRS modules.
Will update later. And thanks for the awesome work!!
P.s.got the mp3 module installed. I hope this wont give problems?
UPD:
Yes openLRSng supports sbus input
github.com/openLRSng/openLRSng/issues/116
UPD2:
Ok got some signal scope'd on the trainer port. Ive used 'SBUS'. And this is my 1st time viewing an Sbus. So this is un-inverted?
Wolfbox 433MHz 1000mW Tx & 100mW Rx came w/o any kind of manual. Even the description at BG was different from what I got. The Tx antenna was replaced with shortened dipole instead of telescoping antenna. SMA placement of Tx is different also. Im using openLRSng 3.9.0 on Tx/Rx.
I had -lots- of RF interference when using stock ufl/sma cable and antenna on Tx , on rf out 5/6/7. With 1, there is NO problem.note im using an audio amp/speaker as my RF radiation monitor. So had to replace them with new cable RGxxx(next time will directly bypass ufl connector and solder directly to module pins). Made also a vee dipole. Seemed to work better a bit. But TRANSMITTER still gets interference when the ground element gets 'touched'. I think this is normal. this needs better antenna placement I suppose. Its using RF23BP(what ive seen on countless posts). I do have a few of those modules for backup and diy.
Rx is using RFM22, again this info from net.havent removed the covering yet. But it works.although with servo test only. Binding and failsafe setting with Tx button at back.
Honestly, havent done much with Rx yet as im still waiting for parts to arrive on 6" build.
Sorry for being slow. work is just taking a toll on me.
Current mod/s:
Added 220uF elcap at power input of Tx. On Rx
3D printed 'knurled SMA wrench' bought from BG.
My next plan is diy the Tx module and 3D print a case, to mount farther away from control.
UPD3
Nice!! Even works on the JR bay. SBUS or PPM (or any other protocol)
UPD4
Ive connected the transmitter trainer port(3.5mm 3p plug, tip=Tx/sleeve=Gnd) to my old hglrc F425 stack. Through dsmx pad(uart 1) and setting protocol to serial/sbus(obviously). And yep. In reciever tab, everything moves. On CLI , set sbus_invertion = on.
Took me a while to test ALL 3 pads (dsmx/ppm/sbus) to get connection. Sbus pad just wont accept it even when its labeled sbus(even with inversions on and off)
Anyways, ive also wired my wolfbox tx module to transmitter and scope out the sbus output from the rx output(yes, confirmed). Just a matter of time connecting it (rx) to FC. But....
I need to sleep 1st. ?
UPD5(last)
Yes it works! From T8SG plus(sbus protocol) ->> wolfbox 1000mW Tx flashed with openLRSng in 'sbus' mode ->> wolfbox rx(in sbus output mode) ->> F4 FC serial/sbus(invertion=on). The last thing to do is test it out in the air. In 2 weeks time. I need to make a separate Tx module away from the controller(T8SG+) because during high power settings of tx module, the controller gets interference.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Attachments:
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
A bit off-topic but Ive just finished this "OpenLRSng" Tx hardware by Kha. Few pinout remaps here and there, SPI hardware 'connections' but firmware not yet using SPI. Basically a slight hw upgrade from the old openLRS design.
My goal here was to separate the tx module from controller and avoid rf interference && UP the rf output power. Will use the 3.5mm trainer port for sbus output. Still designing case along with 2x 18650 batts to power this thing
Please Log in or Create an account to join the conversation.
- Rjx
- Offline
- Posts: 38
Is there also SUMD support?
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
It will surely be a nice addition to lrs. sbus would have been ok if it werent for scaling errors (1mS-2mS) and signal inversion.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
The failsafe setting is not implemented yet. It's not clear from the spec if it is a one-time procedure or if failsafe frames should be transmitted periodically. Anyone know this detail?
Please Log in or Create an account to join the conversation.
- Rjx
- Offline
- Posts: 38
hexfet wrote: Support for SUMD in test build (7983588) here . Data values are spot on according to this spec . The specified packet interval is 10ms which is the default but there's a protocol option to adjust it from 6 to 14 (left over because it was copied from sbus). Might not have got the CRC correct but no way to test.
The failsafe setting is not implemented yet. It's not clear from the spec if it is a one-time procedure or if failsafe frames should be transmitted periodically. Anyone know this detail?
Thanks hexfet
Yup confirmed working. Using the trainer port going to FC.
The only problem I see is 1100uS to 1900uS stick movements.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Any info on the normal usage of the failsafe feature of SUMD? Is there a standard way of sending failsafe values to SUMD receivers?
Please Log in or Create an account to join the conversation.
- Rjx
- Offline
- Posts: 38
hexfet wrote: Thanks for testing. Those are the 100% values required by the specification. At 150% they should be 900/2100. Are you seeing something different from that?
Any info on the normal usage of the failsafe feature of SUMD? Is there a standard way of sending failsafe values to SUMD receivers?
Ok. How would I go about with 125%? Can it be done on FC? Or by controller only?
I dont understand the 'seeing something different',
Tbh Dont have any idea regarding sumd. Is this old protocol? Ive always used iBus, since I went with flysky(cheaper) compared to frsky(sbus) on 2.4GHz system.
No idea as well with failsafes either. This is my first test with sumd(FC test)..
Or how about just "copy" how ibus or sbus do their failsafes?
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Looking at the Qlrs it provides it's own configuration for setting failsafes. Doesn't seem to pay attention to the SUMD failsafe signal. I'll just leave the functionality out for now.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
This build was tested with a full-size Crossfire transmitter and an Nano RX receiver. All the functions are working, but there are a couple rough edges such as overlapping text and blank lines in a menu.
Please report any test results, especially with Crossfire devices other than the above.
Video of navigating through some of the menus
Please Log in or Create an account to join the conversation.
- Pepe
- Offline
- Posts: 9
Have a hard time to set mid and end points, everytime I plug it the values changes, now it seems to be OK....
I set channel 12 for LQ, channel 8 on betaflight, it appears on my osd but very low (36) But I have a full bar on ch8 on the radio page on BT3.5.6
Also when I reboot on BT the rssi channel is always disable, any idea?
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Which endpoints are you referring to? Is it a Crossfire setting? If so please try with the new test build.Have a hard time to set mid and end points, everytime I plug it the values changes, now it seems to be OK....
Don't know about the betaflight behavior. Currently don't have a board that will run anything past 3.2.
Please Log in or Create an account to join the conversation.
- Pepe
- Offline
- Posts: 9
I was refering the mid and endpoint of the sticks on betaflight, but everything is good now!
thanks for the great work, now we are able to switch to 12 channels and have LQ on the OSD....
why my LQ is only 35? noise indahouse? the bar on channel 8 in betaflight is full, and my rssi channel is always disable everytime i connect to BF...strange?
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Do you meant the rssi channel output from the receiver? What do you have to do to re-enable the rssi channel?
Please Log in or Create an account to join the conversation.
- Pepe
- Offline
- Posts: 9
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.
- Pepe
- Offline
- Posts: 9
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Serial out for LRS boxes