Results 1 to 5 of 5
-
11-17-2019, 06:05 PM #1
- Join Date
- Apr 2015
- Location
- near EDSB/Germany
- Posts
- 20
Strange Behaviour reading Offset 7396 (Batteries)
Hi @all,
I am reading the offset 7396 (Battery Status) with Arduino/Mobiflight and there is a strange behaviour. Maybe you can enlight me if this is correct or an error.
The Offset 7396 (Bits 3 and 5) deliver the Status if BAT1/BAT2 is OFF. As no further description is given, I assume 0 means OFF and anything else means ON. Now there is the following behaviour:
- If both Batteries are OFF, both offset values are 0.
- If both Batteries are ON, both offset values are 0, too.
- If I switch on BAT 1, the offset value of BAT2 (which is OFF) turns to 32.
- If I switch on BAT 2, the offset value of BAT1 (which is OFF) turns to 8.
What is the intention behind this behaviour? Or is this an error?
For my understanding, both offset bits should have positive values if both batteries are turned OFF.
Thank you very much for your help.
Best regards,
Marco
-
11-17-2019, 06:10 PM #2
- Join Date
- Apr 2015
- Location
- near EDSB/Germany
- Posts
- 20
Re: Strange Behaviour reading Offset 7396 (Batteries)
Sorry Guys: I am using Jeehell FMGS Version 52.4
Tried to edit the post, but the forum would'nt respond when clicking on "Edit Post"
-
11-18-2019, 03:38 AM #3
- Join Date
- Nov 2015
- Location
- Krefeld, GER
- Posts
- 243
Re: Strange Behaviour reading Offset 7396 (Batteries)
yeah, editing posts does not work since a few weeks.
From the pattern you describe, I can imagine, the offsets refer to the korry signals. If only one korry is pushed, the other would show "off". if both are pushed or both released, the buttons are dark.
Are the offsets maybe for LED output?
-
11-18-2019, 06:28 AM #4
- Join Date
- Apr 2015
- Location
- near EDSB/Germany
- Posts
- 20
Re: Strange Behaviour reading Offset 7396 (Batteries)
Michael, you are absolutely right! Thank you. This is the led status, as the headline of the offset list says "read bits to get led status"
Does anyone have an idea how to read the power status of the aircraft? I like to activate backlight first when the aircraft is powered up. So when at least one battery is activated.
-
11-18-2019, 06:29 AM #5
- Join Date
- Apr 2015
- Location
- near EDSB/Germany
- Posts
- 20
Re: Strange Behaviour reading Offset 7396 (Batteries)
Michael, you are absolutely right! Thank you. This is the led status, as the headline of the offset list says "read bits to get led status"
Does anyone have an idea how to read the power status of the aircraft? I like to activate backlight first when the aircraft is powered up. So when at least one battery is activated.
Pretty Girls from your city for night
Generic Analog Gauges