Simple vario for er9x
Simple vario for er9x
Hi all,
I want to show my simple vario and altimeter for 9x RC system based on frsky telemetry and open firmaware. It's very early version maybe someone has any comment what should I add to it.
Short video:
[BBvideo 425,350]http://www.youtube.com/watch?v=BV2iL5OZPKw[/BBvideo]
and page:
http://code.google.com/p/vario9x/
I want to show my simple vario and altimeter for 9x RC system based on frsky telemetry and open firmaware. It's very early version maybe someone has any comment what should I add to it.
Short video:
[BBvideo 425,350]http://www.youtube.com/watch?v=BV2iL5OZPKw[/BBvideo]
and page:
http://code.google.com/p/vario9x/
- Rob Thomson
- Site Admin
- Posts: 4543
- Joined: Tue Dec 27, 2011 11:34 am
- Country: United Kingdom
- Location: Albury, Guildford
- Contact:
Re: Simple vario for er9x
Hey.. another vario!
Assume you are aware of this project too:
code.google.com/p/openxvario/
Shout if you want a forum sub section to evolve/discuss your project.
Rob
Assume you are aware of this project too:
code.google.com/p/openxvario/
Shout if you want a forum sub section to evolve/discuss your project.
Rob
Slope Soaring, FPV, and pretty much anything 'high tech'
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
...........if you think it should be in the wiki.. ask me for wiki access, then go add it!
Re: Simple vario for er9x
Nice!
Welcome to the board!
can you tell us a bit about the platform you are using? which sensor / micro-controller?
Btw., is it possible that you re outputting m/s instead of cm/s ? or is this the way that er9x displays the data on screen?
If you need help with the protocol or something like that just ask and I'll try to help.
Rainer.
Welcome to the board!
can you tell us a bit about the platform you are using? which sensor / micro-controller?
Btw., is it possible that you re outputting m/s instead of cm/s ? or is this the way that er9x displays the data on screen?
If you need help with the protocol or something like that just ask and I'll try to help.
Rainer.
build your own vario ==> https://github.com/openXsensor/openXsensor/wiki (Formerly https://code.google.com/p/openxsensor/ and https://code.google.com/p/openxvario/)
Re: Simple vario for er9x
That looks like OpenTx to me
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: Simple vario for er9x
Yes, saw it, looks interesting but I want to do something else. Ok I be in touch.
Lukasz
It's pure AVR mircocontroler and pressure sensor is mpx6115. I use on-board ADC to meassure absolute pressure. Now I have accuracy ~ 0,1m with internal ADC in atmega32 with external better ADC I thing accuracy will increase(this sensor has a very small noise), we see. Way that er9x displays the data on screen is very simple I emulates Fr-sky hub.
Lukasz
It's pure AVR mircocontroler and pressure sensor is mpx6115. I use on-board ADC to meassure absolute pressure. Now I have accuracy ~ 0,1m with internal ADC in atmega32 with external better ADC I thing accuracy will increase(this sensor has a very small noise), we see. Way that er9x displays the data on screen is very simple I emulates Fr-sky hub.
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Simple vario for er9x
Looks like the custom telemetry screen of er9x to me!jhsa wrote:That looks like OpenTx to me
What units are the Vspd in? I'm looking at that at present. FrSky seem to send cm/sec, to the nearest 50, on their new vario. I was going to change the display by dividing the FrSky value by 100 and displaying 1 decimal place.
Same for the voice output.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Simple vario for er9x
I do apologise for the confusion and I know what happened.. I just noticed I never used the custom telemetry screen yet as I never needed it till now.. And I didn't know er9x had the 2 bars at the bottom..
João
João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9
Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
Re: AW: Simple vario for er9x
I use pure cm/s in the oXv.MikeB wrote:What units are the Vspd in? I'm looking at that at present. FrSky seem to send cm/sec, to the nearest 50, on their new vario. I was going to change the display by dividing the FrSky value by 100 and displaying 1 decimal place.
Same for the voice output.
Mike.
Gesendet von meinem GT-I9300 mit Tapatalk 2
build your own vario ==> https://github.com/openXsensor/openXsensor/wiki (Formerly https://code.google.com/p/openxsensor/ and https://code.google.com/p/openxvario/)
Re: Simple vario for er9x
Yes, it is custom telemetry screen in er9x. Vspd is in [0.1 m/s] per unit in my vario.
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Simple vario for er9x
For consistency, perhaps you would change the value for Vspd into cm/s. Then everything is compatible.
Mike.
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Simple vario for er9x
clear, no problem. I have one question, in custom switches in function v>ofs or v<ofs, ofs is in range 0-255, could you show me where it is in source code?, I want change it to signed value.
- MikeB
- 9x Developer
- Posts: 17995
- Joined: Tue Dec 27, 2011 1:24 pm
- Country: -
- Location: Poole, Dorset, UK
Re: Simple vario for er9x
Is this specifically for Vspd? The ofs value depends on the type of v.
There is a routine:
// This routine converts an 8 bit value for custom switch use
int16_t convertTelemConstant( int8_t channel, int8_t value)
that configures the ofs value for use in custom switches.
I'll add:
case FR_VSPD :
result = value * 10 ;
break ;
which should sort this out, given I'm also dividing the displayed value by 10 in my latest code (not yet committed).
You may want:
case FR_VSPD :
result = value ;
break ;
For the unmodified code (value is a signed 8-bit integer, result is a signed 16 bit integer.
My modified code adds to:
uint8_t putsTelemetryChannel(uint8_t x, uint8_t y, int8_t channel, int16_t val, uint8_t att, uint8_t style)
#the code:
case FR_VSPD :
att |= PREC1 ;
val /= 10 ;
break ;
so the Vspd value displays as metres/sec to 1 decimal place.
I also add:
case FR_VSPD :
num_decimals = 1 ;
value /= 10 ;
break ;
to:
void voice_telem_item( int8_t index )
Mike.
There is a routine:
// This routine converts an 8 bit value for custom switch use
int16_t convertTelemConstant( int8_t channel, int8_t value)
that configures the ofs value for use in custom switches.
I'll add:
case FR_VSPD :
result = value * 10 ;
break ;
which should sort this out, given I'm also dividing the displayed value by 10 in my latest code (not yet committed).
You may want:
case FR_VSPD :
result = value ;
break ;
For the unmodified code (value is a signed 8-bit integer, result is a signed 16 bit integer.
My modified code adds to:
uint8_t putsTelemetryChannel(uint8_t x, uint8_t y, int8_t channel, int16_t val, uint8_t att, uint8_t style)
#the code:
case FR_VSPD :
att |= PREC1 ;
val /= 10 ;
break ;
so the Vspd value displays as metres/sec to 1 decimal place.
I also add:
case FR_VSPD :
num_decimals = 1 ;
value /= 10 ;
break ;
to:
void voice_telem_item( int8_t index )
Mike.
erskyTx/er9x developer
The difficult we do immediately,
The impossible takes a little longer!
The difficult we do immediately,
The impossible takes a little longer!
Re: Simple vario for er9x
Thanks for your replay.