Flysky Vario Support

More
08 Dec 2024 16:26 #78575 by hexfet
Replied by hexfet on topic Flysky Vario Support
Doubtful since the receiver is should be just passing on the data from the sensor. If it's easy might be worth a try.

Please Log in or Create an account to join the conversation.

More
09 Dec 2024 07:49 #78576 by ballbear
Replied by ballbear on topic Flysky Vario Support
Hello,
I made another action. The FS-CAT01 is using Bosch pressure and temperature sensor BMP180.
I yesterday ordered those sensors and when they arrive, I will change one in the altitude sensor.
And we will see what happens ...
Datasheet is in the attachement.
Regards
Pavel
Attachments:

Please Log in or Create an account to join the conversation.

More
12 Dec 2024 19:34 #78577 by hexfet
Replied by hexfet on topic Flysky Vario Support
That's commitment :) Doesn't look like many external components so could be the sensor.

Please Log in or Create an account to join the conversation.

More
13 Dec 2024 14:58 - 13 Dec 2024 15:01 #78578 by ballbear
Replied by ballbear on topic Flysky Vario Support
Hello,
operation done. It was much more difficult as expected ...
It was clever decision to order three pieces . The first one was destroied by desoldering from its PCB ( they came ready for using with Arduino ).
But the second one is installed and it looks not bad.
Displayed Altitude about 80 meters, and oscilating about half to one meter. Moving it upstairs displays increasing and moving back downstairs the altitude decreased to original level.
I made datalog, is in attachement.
I am going to make second test, with the voltage sensor connected on the bus also.
What would be nice:
To have the possibility to set the displayed altitude to zero and see on the display the height over the ground.
Or to be able to set the right altitude, like you do it on suunto watches - setting the reference altitude
version is 976608.
Attachments:
Last edit: 13 Dec 2024 15:01 by ballbear. Reason: aded version number

Please Log in or Create an account to join the conversation.

More
13 Dec 2024 15:24 #78579 by ballbear
Replied by ballbear on topic Flysky Vario Support
Hi, second test done.
In the datalog should be starting the receiver with both sensors connected, it shows about 5m less, therefore I tried to diconnect the voltage sensor, but the altitude didn´t rise to the previous level from first test ...
I aded to the datalog also voltage V1 and V2.
Now I am very curious about your replay :o)
Regards Pavel
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Dec 2024 18:28 #78580 by hexfet
Replied by hexfet on topic Flysky Vario Support
The first datalog looks good, but the second is corrupted. Altitude looks pretty steady so seems like the original sensor chip was bad. Nice soldering work!

I uploaded a new test build ( 63f38ec . This has the standard AGL altitude display restored. You can re-zero the altitude with a long press on the UP button.

Please Log in or Create an account to join the conversation.

More
13 Dec 2024 19:23 #78581 by ballbear
Replied by ballbear on topic Flysky Vario Support
Hi, I am going to install it soon.
The long press UP taste should I make in basic screen?

Regards
Pavel

Please Log in or Create an account to join the conversation.

More
13 Dec 2024 20:07 #78582 by ballbear
Replied by ballbear on topic Flysky Vario Support
new version
looks less stable?
What is the Telemetry out option in AFHDS2A protocol?
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Dec 2024 22:17 #78583 by hexfet
Replied by hexfet on topic Flysky Vario Support
Long press on the UP button while the Telemetry monitor screen is selected.

When the telemetry out option is enabled the received telemetry data will be sent out the trainer port at 57,600bps. I'd put this code in for debugging but we never used it since the datalog is working.

I had to change the altitude calculation to reduce memory footprint. The new code reports altitude in about .25m increments where the old was .50m, which does make the data look noisier. Not so sure about the slower change from about 2m up to 9m then back to about 4m. But I think the code is reporting the telemetry it receives.

Please Log in or Create an account to join the conversation.

More
13 Dec 2024 23:02 #78584 by ballbear
Replied by ballbear on topic Flysky Vario Support
The real change was about 4 - 4,5 meters.
Keeping in mind the datasheet, I think that the accuracy of the Bosch sensor is not so high ... I read some discussions and the temperature sensor has a bit high fluctuation ....
Theoretically we could calculate vertical speed also, what could be usefull for sailplanes, but the precision of the sensor could be the problem.
Anyway, chapeau for excelent job !

Please Log in or Create an account to join the conversation.

More
14 Dec 2024 08:33 #78585 by ballbear
Replied by ballbear on topic Flysky Vario Support
The real change was about 4 - 4,5 meters.
Keeping in mind the datasheet, I think that the accuracy of the Bosch sensor is not so high ... I read some discussions and the temperature sensor has a bit high fluctuation ....
Theoretically we could calculate vertical speed also, what could be usefull for sailplanes, but the precision of the sensor could be the problem.
Anyway, chapeau for excelent job !

One note to the slow change from 2 m to 9m and back ...The sensor was on the desk at beginning, after some time a Take it and went upstairs to the next stock and there I lift it in my hand to the ceiling for some seconds and than I went back downstairs and put the sensor back on the desk ... I expected the displayed altitude would be about 2m again ... THe difference was 4,5m

I think it could be usefull to have the possibility, to set up the displayed output - if it will be with or without decimal numbers.
For example I am flying fixed wing biplane, Stearmen PT17 and for that the altitude rounded to whole meters would be fine ...

Have a nice day
Pavel

Please Log in or Create an account to join the conversation.

More
14 Dec 2024 11:17 #78586 by ballbear
Replied by ballbear on topic Flysky Vario Support
In about 90-100minutes the altitude reading rises up to 8-9 m from zero.But in the same time the altitude reading on watches rises up from 155m to 165 m , so the same difference. Also the value is different from our last seance, and I didn´t do the reference height.

Please Log in or Create an account to join the conversation.

More
14 Dec 2024 16:17 #78587 by hexfet
Replied by hexfet on topic Flysky Vario Support
Good to know there's general agreement between the sensor and the watch.

The datasheet lists the relative accuracy as +/- 1m. I think that means if the sensor is exposed to same pressure at two different times the readings could be up to 2m different. It will probably be a better user experience to just round to whole numbers. What do you think?

Please Log in or Create an account to join the conversation.

More
14 Dec 2024 17:19 #78588 by ballbear
Replied by ballbear on topic Flysky Vario Support
Hello
I agree with you. It is what I tried to write :-)
For me it is enough to know the altitude in whole meters, for landing it is not useful in any case.
For example we have on our club airport the highest flying level set by the authorities and it is good to know, how high I am flying ...
So from my point of view whole numbers are OK.
Another thing is to switch to another BOSCH sensor, BMP280 or the next one, but it is not so simple, I think ....
I am satisfied with the job you did :-)
Excellent!
Regards
Pavel

Please Log in or Create an account to join the conversation.

More
14 Dec 2024 17:29 #78589 by ballbear
Replied by ballbear on topic Flysky Vario Support
I am going to instal both sensors to my biplane and test it in air.
Now it will be necessary to wait for the weather :-)
Regards
Pavel

Please Log in or Create an account to join the conversation.

More
15 Dec 2024 17:58 - 15 Dec 2024 17:58 #78591 by hexfet
Replied by hexfet on topic Flysky Vario Support
I uploaded a new test build ( 51f0ee8 ). The altitude is rounded to the nearest meter. The display still shows decimal point because that code is shared with other protocols.

I'll go ahead and merge the PR with these changes. I'll publish a new build from master soon - have another CRSF change coming.

Thanks for the testing!
Last edit: 15 Dec 2024 17:58 by hexfet.

Please Log in or Create an account to join the conversation.

More
15 Dec 2024 19:19 #78592 by ballbear
Replied by ballbear on topic Flysky Vario Support
Many thanks for your job and effort !
I will make a short report after testing in air.
The last TestBuild is now installed.
Have a nice time
Pavel

Please Log in or Create an account to join the conversation.

More
18 Dec 2024 15:58 #78593 by ballbear
Replied by ballbear on topic Flysky Vario Support
Today I took the plane to the airfield.
I made the datalog, I hope its OK, while it was windy and didn´t observe the display at all, it is a pitty...

Regards
Pavel
Attachments:

Please Log in or Create an account to join the conversation.

More
19 Dec 2024 17:07 #78594 by hexfet
Replied by hexfet on topic Flysky Vario Support
The file format looks good, but the data is all the same: temperature 13 C, altitude 72.00 m.

The rate was set to record every 5 seconds? There are 70 entries in the datalog which would be about 5 minutes of recordings.

Please Log in or Create an account to join the conversation.

More
20 Dec 2024 08:07 #78595 by ballbear
Replied by ballbear on topic Flysky Vario Support
Oooooooops ....
I set the interval to 5 second to cover the flight time expected 5-6 minutes.
I forget to set the altitude to zero, this 72m was there at the start ....
I will check the sensor and when the weather would be better, i will make next test.
PS: One idea - is there a chance save the maximal altitude reached during flight ?

Have a nice Christmas

Pavel

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum