Search found 210 matches

by davx
Fri Jul 18, 2014 4:17 pm
Forum: General RC Electronic Projects and Discussion
Topic: X8R: 3.3V or 5V tolerant
Replies: 5
Views: 5501

Re: X8R: 3.3V or 5V tolerant

yes, could be useful with a D6FR receiver.
by davx
Thu Jul 17, 2014 5:08 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor Configurator
Replies: 232
Views: 232273

Re: OpenXsensor Configurator

mstrens wrote:@davx,
let me know when you need some help.
Ok, thanks.
by davx
Thu Jul 17, 2014 4:15 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXsensor Configurator
Replies: 232
Views: 232273

OpenXsensor Configurator

Hi, A little subject about an OXS config file generator utility, developed (still not really) in the processing environment. It's just a start, there is nothing more to show than this image: OXS_conf_01.jpg But, I think it's doable ! (how much time it will take, that is another story :mrgreen: ) Sta...
by davx
Thu Jul 17, 2014 11:48 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

Let it as it is, I will see later in real use if it needs adjustments.
Good job !
by davx
Thu Jul 17, 2014 11:21 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor @8MHz
Replies: 42
Views: 21194

Re: OpenXSensor @8MHz

@mstrens,
davx wrote: I saw you removed the function "SendAltGPS" from oxs_out_frsky.cpp, can you keep it ?
I don't think it's a problem, even if not used, and I've a GPS which I'd like to use with OXS as we have a serial connexion available ;)
What do you think ?
by davx
Thu Jul 17, 2014 11:19 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

mstrens wrote:Please test it but, on a D4R-II, it works (I get the expected values on Tx)
I can confirm the r220 is working for me !
Whatever the problem was with r218, it's resolved now.
by davx
Thu Jul 17, 2014 7:10 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

@mstrens, we've got 240 bytes possible every 200ms yes, I wrote too fast... I am not sure that the Rx can follow because if the max rate = 1200 baud => 120 bytes/sec = 29 bytes per frame (when the frames contains all data and are generated every 200ms). So we are above the specification. but I think...
by davx
Wed Jul 16, 2014 8:47 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

With vario defined, I've got nothing on the TX, no vario, no voltage. What you see is the debug print, not the real output. It's not a problem of too much data, we've got 240 bytes possible every 200ms and as I said, when I tried to log the output, nothing was sent, something blocks the output. It w...
by davx
Wed Jul 16, 2014 7:09 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

@mstrens,

I've just tried with your config and the voltages are working, so the problem comes from the vario part of the code.
by davx
Wed Jul 16, 2014 7:06 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor @8MHz
Replies: 42
Views: 21194

Re: OpenXSensor @8MHz

I've made a 3 cells NiMh pack cause I don't have voltage divider and every test I made were in real situation. I've seen the protocol doc and I wonder if OpenTX is adapting itself whether there is a first cell number 0 or 1... However, I think you should stick to the FrSky doc, less questions that w...
by davx
Wed Jul 16, 2014 6:51 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

@mstrens, Could you please make a similar test deactivating the vario. I will try with your config. NOTE: did you downloaded from google all updates I have made those last days. I have two OXS sources on my disk, one is my personal test version and the other is entirely downloaded from the repositor...
by davx
Wed Jul 16, 2014 4:35 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Minimalist oXs on a ATTiny
Replies: 8
Views: 4439

Re: Minimalist oXs on a ATTiny

I'm on a little project of making a smaller OXS with vario, 1 temp and 2 voltages on the same board.
As we use it now, there's many things we don't need (reset switch...) or which are redundant (voltage regulator...).
It's aimed at my future DLG usage, so will be 3.3v.
by davx
Wed Jul 16, 2014 4:23 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor @8MHz
Replies: 42
Views: 21194

Re: OpenXSensor @8MHz

I found another bug in oxs_out_frsky.cpp in the section used for Hub protocol Here the code that you could try (it should replace the current code for the function SendCellVoltage ) There were mistakes in the reformatting. Let me know if it is OK for Hub protocol. For SPORT I still have to look for...
by davx
Wed Jul 16, 2014 4:13 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

jhsa wrote:I reported the same yesterday but no one noticed. Use your old config file and I think it will work..
I was talking about the modifications that mstrens did this morning and I was using a correct config file (attached) ;)
So, with my config, OXS r218 is not working at all...
by davx
Wed Jul 16, 2014 12:02 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

mstrens wrote:I just put on google a new version of oxs_out_frsky.cpp.
Just tested and it doesn't work, nothing is sent from OXS...
by davx
Wed Jul 16, 2014 6:00 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

Yes, I read that, but FrSky don't shine by their doc quality... And as it can have up to 12 cells to transmit, it means also up to 2.4s between new voltage values. Perhaps a little too long, but OXS only supports 6, so 1.2s seems acceptable ;)
by davx
Tue Jul 15, 2014 9:29 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

Are you sure it sends only one cell at a time Mike ? It's not so clear in the doc...
I can't test as I don't have a FLVS sensor.
by davx
Tue Jul 15, 2014 8:19 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

I do not know if we can thrust FTDI for this. FTDI can introduce some fuffering too. I think we need a digital analyser to check the delay between each frame. Yes, a logic analyzer will do the job but, according to the datasheet, the FTDI chip is supporting up to 3Mbaud so I don't think it misses a...
by davx
Tue Jul 15, 2014 7:50 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

In fact it contains 3 frames: - a frame type A with the measurements other than VOLT and CELL 5E 10 87 00 5E 21 0B 00 5E 30 00 00 5E - a frame type B with the measurements VOLT and CELL 5E 39 09 00 5E 02 00 00 5E 05 04 00 5E 06 00 00 5E 06 10 00 5E 06 20 00 5E - a frame type A with new measurements...
by davx
Tue Jul 15, 2014 6:01 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

@mstrens,

Just look at my OXS log above (taken from the actual pin 4 output, not the debug monitor) and you'll see that frames are not always sent every 200ms, there's gaps of 400 and 500ms.
by davx
Tue Jul 15, 2014 4:54 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor @8MHz
Replies: 42
Views: 21194

Re: OpenXSensor @8MHz

Indeed. Cell function calculates the difference between adjacent voltages. For the moment, I can't try with a real serial mount battery but I will do it soon. I looked at the issue about not applying the divider. I found a bug for VOLT1, VOLT2, ... in Hub mode. I hope I fix it with a new version of...
by davx
Tue Jul 15, 2014 4:32 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

@Mike,

With only vario defined and original oxs code (215), Frame1 was sent every ~200ms, no problem (apart the fact that it was set to 100 in the code...).

Bad timing is for with vario + voltages + cells, as in my log above.
by davx
Tue Jul 15, 2014 4:23 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

Hi, This time I've logged the OXS serial output: 2014-07-15 15:02:35.994446: 5E 10 87 00 5E 21 09 00 5E 30 FA FF 5E 2014-07-15 15:02:36.198236: 5E 10 87 00 5E 21 0B 00 5E 30 00 00 5E 5E 39 09 00 5E 02 00 00 5E 05 04 00 5E 06 00 00 5E 06 10 00 5E 06 20 00 5E 5E 10 87 00 5E 21 0B 00 5E 30 00 00 5E 201...
by davx
Mon Jul 14, 2014 7:26 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor @8MHz
Replies: 42
Views: 21194

Re: OpenXSensor @8MHz

davx wrote: I'm testing directly with the arduino vcc voltage source so I can apply manually to every Ax input or all at the same time.
I just realized that the cell function is only valid for a serial battery pack...

I will test properly later.
by davx
Mon Jul 14, 2014 4:44 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

Hi, I've logged the FrSky HUB serial output and I've isolated the repeating sequence: Without any sensor: 2014-07-14 18:05:52.440539: 5E 24 F0 FF 5E 25 F0 FF 5E 26 F0 FF 5E 10 70 00 5E 21 4B 00 5E 02 EF FF 5E 05 E9 FF 5E 2014-07-14 18:05:52.627287: 5E 24 F0 FF 5E 25 F0 FF 5E 26 F0 FF 5E 10 70 00 5E ...
by davx
Mon Jul 14, 2014 4:24 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor @8MHz
Replies: 42
Views: 21194

Re: OpenXSensor @8MHz

Hi, There is a line if ( arduinoData.mVoltPin[cntVolt] < 7) { It must be if ( arduinoData.mVoltPin[cntVolt] < 8) { I've corrected that but It seems that you where using pin 0, 1, 2; so the bug about pin 7 does not explain your issue. indeed ;) But I found perhaps a mistake in your config file. ... W...
by davx
Sun Jul 13, 2014 7:08 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: Introduction to the openx vario/altimeter
Replies: 756
Views: 307304

Re: Introduction to the openx vario/altimeter

Another one, maybe related to the above problems ? I've found the #define SETUP_DATA_TO_SEND being limited with the number of data to send, if the list is too long, it doesn't work correctly. These settings: #define SETUP_DATA_TO_SEND \ DEFAULTFIELD , ALTIMETER , 1 , 1 , 0 , \ DEFAULTFIELD , VERTICA...
by davx
Sun Jul 13, 2014 4:59 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor @8MHz
Replies: 42
Views: 21194

Re: OpenXSensor @8MHz

Hi, I've made some tests with the original OXS code and cells function doesn't work either... - In HUB mode, I can see the 3 cells display in the default telemetry screen but the values are wrong. - In S.Port mode, no cells display on the default screen. My first meaning is that it not it not the ea...
by davx
Sat Jul 12, 2014 10:22 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: OpenXSensor @8MHz
Replies: 42
Views: 21194

Re: OpenXSensor @8MHz

@ davx, I will have a look and I will try to merge most add on in the official repository. Still I can't do it directly because I am currently working on a version that support 2 MS5611 (one for altitude and one for compensated vario based on a TEK) and one 4525DO sensor (in order to get the airspe...

Go to advanced search