- Posts: 983
New FrSkyX protocol
- Fernandez
- Offline
Please Log in or Create an account to join the conversation.
- mickkn
- Offline
- Posts: 42
Would really like to try the Voice Alert buiild together with this FrSkyX protocol
Guess I need to compile it myself?
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
The two changes are implementation of AD2GAIN, and moving the total cell voltage reporting from VOLT3 to a new telemetry value AllCell. This value is the total of all the CELLx telemetry values (hub or s.port). The AllCell value is inserted in the center column of row five of Devo10 telemetry test page, moving VOLTA and CURRENT down to rows 6 and 7 respectively.
The AIN input is sent as an s.port telemetry value with id ADC2_ID. The value is reported in hundredths of volts, and is then multiplied by AD2GAIN/10. The result is reported as the VOLT3 telemetry value. On a new model the default value of AD2GAIN is set to 10 which is a gain factor of 1 (no gain).
Since it comes in as s.port telemetry VOLT3 is not supported in the 7e build.
Should the protocol option name change to "AINGAIN" to reflect the name of the hardware input?
Fernandez, the VOLT3 value should display with two digits after the decimal. Are you saying that the AD2GAIN adjustment is too coarse? Please give it a try and ideas for improvement are welcome.
Frsky/FrskyX telemetry test page on Devo10
RSSI | VOLT1 | CELL1 |
TEMP1 | VOLT2 | CELL2 |
TEMP2 | VOLT3 | CELL3 |
RPM | MIN CELL | CELL4 |
FUEL | ALL CELL | CELL5 |
ALTITUDE | VOLTA | CELL6 |
VARIO | CURRENT | DISCHARGE |
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Yes and yes. My development branch is usually up-to-date.mickkn wrote: Is there a way to merge two test-builds ?
Would really like to try the Voice Alert buiild together with this FrSkyX protocol
Guess I need to compile it myself?
Please Log in or Create an account to join the conversation.
- Alexandro
- Offline
- Posts: 204
i tested the x8r-sb on an Original Frsky System .
Here is the AIN at Volt2, i think we should move it to the Original Volt2 to stay compatible
The Name for AD2Gain we should change to AD2Divider (on Original System use the Divider Menu to adjust) , it is the AD2 input Pin of the RX.
The DIVIDER numbers should stay , do not make any X,XX.
The original is the same X with out ,XX .
Here is a 2nd Menu Point better, a fine coarse with is able to + or - 0,0X (+3,99 to -3,99 at 0.01 Steps ) volt to the showed Number on Volt 2.
-> on Taranis it counts the same Way, the Divider jumps not direct to your wanted Number, it is always some tenth of the Number and then you use the +/- on the fine coarse to get even
but there you can see the changes of the none even Divider direct on Display at real Time. On Deviation it is a bit hard to get it adjusted with out the actual Number ( Volt2) at changing moment .
With it we can adjust some difference from cheap Resistor Divider.
If the Divider is not on an even Number the use some other Resistors !
-> the most Divider at Shops are 04 for RX Volt and 10 for Flight Pack
-> the Showed Numbers on an Original Frsky System is:
Short -> 0 Volt
Open -> 2.8 Volt <- i think it is ok here to show the 2.8 on open Connection , its the Original Frsky System
3.2 Volt -> 3.2 Volt <- it show the right Volt
can we change to Volt2 and an fine Coarse for adding the 0,XX to get an adjust on it ?
greetings Alex
p.s.
the only thing i found at moment who is changed on the D8r to X8r , is the Volt1 on D8r (internal RX Voltage) to RXVolt on X8r (now the RXvolt is the internal RX Volt ) . My Original Display do always show a Warning on change from the X8r to D8r .
EDIT: sorry some edits to get it better describe
Please Log in or Create an account to join the conversation.
- darker44
- Offline
- Posts: 11
I am back home and tested build '147' x4r-sb , devo 7e
I still don't have channel 11 and 12, don't know why, but others have it so maybe it is my fault, I don't know.
Thanks for your work!!
P.S. I was flying on old version 739 and everything went good. No lags, long range
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
Why not enter the devider ratio direct: 4,68
If some voltage error, just tune a bit the value?
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
- The AIN value (ADC2_ID telemetry) is moved to VOLT2 for consistency with Frsky. (The ADC1_ID telemetry value swaps to VOLT3)
- The AD2GAIN value range is now 0.01 to 10.00 (1 to 1000 on Devo display). Long press jumps in steps of 100. Default is 100.
- Fixed scaling on rx telemetry values
Would like some input on usability of the expanded AD2GAIN range. Probably easiest to set initially by editing the model file. Since Alex' testing showed a shorted input gives a zero reading a separate fixed offset correction shouldn't be needed.
Alex, I don't know any details about what you stated in the p.s. It may be related to the other "rx telemetry" values - ADC1_ID (now VOLT3) and BATT_ID (currently on VOLTA - shared with amp sensor voltage!). I'm not sure where they come from. These IDs don't fit with the rest of the s.port telemetry values - they're 8-bit and have a different ID scheme. You might see one or the other with the D8R or X8R.
Please Log in or Create an account to join the conversation.
- Alexandro
- Offline
- Posts: 204
Test Ver.047 ( Devo 8s / 7e )
8s and 7e do not show any Volt at V2, V3
7e adjusting the AD2GAIN is a bit to fast with the jumps, better to do a 5 or 10 Number jump with this speed ( 100 at moment)
greetings Alex
-> a connected Divider does set the Number to 0 with open loop ( tested with 147 at volt3 )
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
I'll adjust the big step size.
Please Log in or Create an account to join the conversation.
- Alexandro
- Offline
- Posts: 204
Telemetry Volt2 on Devo 8s shows 0 Volt at the Box (Main Screen selected Box with Volt2 ) .
same on 7e
greetings Alex
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
What is your AD2GAIN value? Any change if set to 100?
It works in the 8s emulator....
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Changed the AD2GAIN adjustment long press step size to 10.
Brought up-to-date with latest changes in DeviationTX.
Please Log in or Create an account to join the conversation.
- darker44
- Offline
- Posts: 11
Display:
There is no black box under the selected menu so you can't see what is there, because the font is transparent.
Please Log in or Create an account to join the conversation.
- Alexandro
- Offline
- Posts: 204
Test Ver. 513
Devo8s
Background is white and shows 0 Volt at Volt2,Volt3
Volt1 and RSSI are ok
Devo7e
Navigation Bar is white and Text to ( it should be Black and Text white )
Jumping Speed , i cant see. It is white on white
Volt1 and RSSI is ok
Volt2, Volt3 is 0 Volt with white Background.
-> Volt2 does show 0 Volt on booth TX, Navigation Bar is broken on 7e.
greetings Alex
Please Log in or Create an account to join the conversation.
- Arakon
- Offline
- Posts: 305
Tried copying over media folder from 5.0.0 with no change, so it's not down to fonts themselves.
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Alex, the white background indicates telemetry values are being updated though it seems all show white even if only one value updated. There's no movement from 0 no matter what the AIN input is set to? Could you check the TelemVAmp value also? It's another value that can come from the receiver (shared with hub current sensor voltage).
Please Log in or Create an account to join the conversation.
- Alexandro
- Offline
- Posts: 204
done a long Test.
DEVO 8s
showing Volt2 , but the AD2Gain is to low. on 1000 the Volt is to low for a 1/10 Divider <- this was the Trap with showing 0 volt at around 50 ( Calculation Error ? 1000 is lower 1/10 )
AMP is ok
Alt is ok ( some later testing with compare to Tarins Numbers )
DEVO7e
here the same Setup does not show Volt2, it is only 0V
some Strange Thing is the Volt3 , it shows the same as Volt1 with out any working RX ?.
Testet the Volt2 with a fresh Restart, here the Background is Black. It does not get the Data from the RX <-
-> Devo 7e does not show Volt2, always 0V
-> Devo 7e not getting Data for Volt2, Background is Black. Or the lowest Recorded Number is the Black Background ?
-> Devo 8s AD2GAIN to low
greetings Alex
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
- For this test the VOLT3 value is ADC2 without any gain. On VOLT2 I changed the equation a bit to make certain of the order of operations for multiplying by AD2GAIN.
- The highlighting problem is fixed. Need to make a PR to the main code for that. There are some other changes in appearance made by that same change (commit 8bdf866)
The 7e doesn't support Volt2 - it doesn't have room to support the required s.port decoder code. It shouldn't appear on the test page at all. I need to remove the possibility to assign to the main page. Same for Volt3 and TelemV3.
Please Log in or Create an account to join the conversation.
- goophoba
- Offline
- Posts: 17
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- New FrSkyX protocol