Search found 1435 matches

by mstrens
Thu Apr 23, 2020 7:39 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 74
Views: 50136

Re: New to openXsensor - GPS and smartport question

Indeed, if you have a 5V regulated power supply, you can connect it to the 5V pin GPS can also be connected this way. Still when using e.g. a 4.8 V NiMh battery, the voltage when it is just charged is more than 6V. It is then safier to use VIN (= RAW). When input voltage goes below 5.5V on VIN, the ...
by mstrens
Wed Apr 22, 2020 12:06 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: New to openXsensor - GPS and smartport question
Replies: 74
Views: 50136

Re: New to openXsensor - GPS and smartport question

If you power supply is about 5V, you can connect it to VIn. The Gps can also be connected to VIn.
For a nano, I expect that VIn will be similar to Vraw for a pro mini.
by mstrens
Wed Apr 22, 2020 7:16 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: PPM_SPORT Mode, not found VSPEED
Replies: 12
Views: 9267

Re: PPM_SPORT Mode, not found VSPEED

rmd4u wrote: Tue Apr 21, 2020 7:54 pm With its own config_basic and config_advanced in SDP3X, VSpd now works perfectly :P
thanks mstens
Thanks for the feedback.
I will put this version in Master branch when I got feedback from another user about the use of SDP3X sensor
by mstrens
Tue Apr 21, 2020 8:15 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: PPM_SPORT Mode, not found VSPEED
Replies: 12
Views: 9267

Re: PPM_SPORT Mode, not found VSPEED

I made some changes to oXs in order to fix this bug. I put a new version on github. Still take care that this new version is not in the branch "Master" but in a new branch named "SDP3X". I did it in this way because I was already working on a new version that should support a new...
by mstrens
Mon Apr 20, 2020 9:36 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: PPM_SPORT Mode, not found VSPEED
Replies: 12
Views: 9267

Re: PPM_SPORT Mode, not found VSPEED

I am sorry because I totally forgot your message.

I just checked the code and I can see some bugs.

I will try to fix it this week.
by mstrens
Sun Apr 19, 2020 7:13 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: GY-86 not working - am I missing something?
Replies: 43
Views: 26041

Re: GY-86 not working - am I missing something?

I did not recommend using the MS5611 temperature because it is usually a few degree above the real temperature. It is so, because oXs reads the sensor very often (50 X per sec) and so the MS5611 is heating. Still if you want it, you can make some changes to the openXsensor.ino file Currently in this...
by mstrens
Sat Mar 07, 2020 8:57 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

First, a RC filter does not cut off 100% of the frequencies higher than a value. It is a progressive filter. More important: the formula applies on a sinusoîdal signal but the signal coming from the Hall sensor is not sinusoïdal. It is a digital signal and probably look more as a pluse. So it contai...
by mstrens
Wed Mar 04, 2020 7:18 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

For RPM, oXs counts the number of pulses in an enlapsed time. If the signal coming on pin D8 is noisy, the arduino can recognise some "noise" as a pulse and so report a to high RPM value. In order to avoid (reduce) this, you can try adding a RC filter between the CDI and the pin D8. Resist...
by mstrens
Tue Feb 25, 2020 11:51 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: PPM_SPORT Mode, not found VSPEED
Replies: 12
Views: 9267

Re: PPM_SPORT Mode, not found VSPEED

I do not yet know.
I did not yet look at your setup.
by mstrens
Sun Feb 23, 2020 8:10 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

Fine that you continue the project and are finally happy. If the values are erratic when using the CDI, it is probably due to some noise in the signal. You could confirm this if you can look at the output signal from CDI with your scope. There are probably some high frequencies. If so, I expect it w...
by mstrens
Sat Feb 22, 2020 9:05 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

There is no reason crossing up the power rails.
You just need a common ground.
In my schema, I do not use the power rail from the CDI.
When I say to connect a diode to Vcc it means Arduino Vcc which is generated from raw pin (with internal regulator) which is coming from you Rx power supply I presume.
by mstrens
Sat Feb 22, 2020 11:48 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

After studying your diagram for some minutes, I think I know how you have wired it up. But I am not at all sure, I must be honest. I will do a small CAD sketch tomorrow (it is very late here). Just to make sure I have it right. I have a 6.6 volts LiFe powered CDI unit, so I will have to add a regul...
by mstrens
Sat Feb 22, 2020 11:46 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

Fine that it works. Is the rpm value on the Tx a logical value?........................ I am not sure what you mean by "a logical value", sorry. ................... If you want, I can make a version removing those 2 items. In principe, I will just go back to the "official" versi...
by mstrens
Sat Feb 22, 2020 11:25 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

--------------[diode --->----]------------[to 5V Vcc] | signal from motor----------[resistor about 10k]--------x--------------[Arduino D8] | | Ground ----[ diode ------->-------]--------------------------------------[Arduino Ground] I hope this is clear (display could depend of font size of your bro...
by mstrens
Sat Feb 22, 2020 10:51 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

Fine that it works. Is the rpm value on the Tx a logical value? In a previous post you said you got 6000 (when oXs sent 1000). Normally, it should be 60000 because TX converts the Hz to turn/min) Normally oXs should not - sent a dummy value to Tx for temperature - generates messages for the serial m...
by mstrens
Sat Feb 22, 2020 10:15 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

I understand what you explain. It is strange. I checked once more the differences between the 2 versions. I found a tipo fout in the latest version (a "," instead of a ";"). It is very strange that the compiler did not detect it. Furthermore, the generated code has exactly the sa...
by mstrens
Fri Feb 21, 2020 6:14 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

.......................................... It is not abnormal that you do not get really a signal on the scope if you look at the output pin D4 because the data are sent only a few time per sec and there is no easy way to trigger the signal on the scope. ............................... That makes s...
by mstrens
Thu Feb 20, 2020 5:16 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

So, it seems to work. You can see in the screenshot that when RMP is not 0, some values being sent change. Eg. when Rpm = 17 (decimal), you find a "11" before (which is a hexadecimal representation of 17 decimal = (1x16)+1 = 11 hexa. It is not abnormal that you do not get really a signal o...
by mstrens
Thu Feb 20, 2020 12:12 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

did you check with the scope the signal on the input pin D8 when you move the magnet?

When you connect oXs to the PC (via USB) and open the arduino serial terminal (CTRL+SHIFT+M), you get Rpm = 0.
Does this Rpm value change when you move the magnet fast enough?
by mstrens
Thu Feb 20, 2020 11:20 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

I have looked at the arduino output 2 pin #8 on my little portable scope. It is noisy, just a lot of low level hash. Zero response from the hall sensor when it is excited by the rotating magnet. What do you mean by arduino output 2 pin #8 Do you mean digital pin 8 (=D8). Note: It is an input and no...
by mstrens
Thu Feb 20, 2020 10:26 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

I plan to connect my little scope to the arduino pin# 8 tonight and rotate a magnet in front of the hall sensor. I just happen to have made a little magnetic stirrer last week, so I can use that to simulate a rotating magnet in an engine hub. Like Karl did, described at the top of page # 3. It is f...
by mstrens
Thu Feb 20, 2020 7:56 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

In a previous post you said "I can use the pulse signal from the CDI to provide an input to pin #8 on the Arduino nana via an electrolytic capacitor". Do you know the voltage that the CDI provide? If it is a high voltage, you need a capacitor that support such a high voltage. If it is more...
by mstrens
Thu Feb 20, 2020 7:44 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

In order to get RPM, oXs needs to get a pulse each time your motor makes one revolution. So you need some hardware to generate those pulses. You can't just connect a wire on the plug because it is a high voltage that would just distroy your arduino (that does not accept more than 5 V on his input). ...
by mstrens
Wed Feb 19, 2020 8:54 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

So, the new sketch is uploaded in a correct way. Now you must test if the hardware module you build to capture pulses is working as expected. Which kind of hardware module did you build? Best is to test you hardware module without connecting it to the openXsensor. So connect you hardware module to y...
by mstrens
Wed Feb 19, 2020 7:56 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

Here a new set of files. You can just use it like the previous set of files. The purpose of this one is to let you make a test where oXs is connected to the PC (via USB) and not connected to the Rx. You should get continously a line of text. At the end of the line, you have Rpm=xxx where xxx is the ...
by mstrens
Wed Feb 19, 2020 6:35 pm
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

Are you sure that the value on the TX is 6000? I expected it would be 60000 because the value that is sent is supposed to be in Hz (so 1/sec) and the value on Tx in tour/min (so X 60). What is the value that you get for Temp1. Is it 20 or 2? Anyway, the values does not matter a lot. What is importan...
by mstrens
Wed Feb 19, 2020 11:48 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

I will have to leave for a few hours (probably 6 hours).
We can continue later on if you want.

I presume it is very late for you. If so, sleep wel.
I am in Europe ant it is about 13:00
by mstrens
Wed Feb 19, 2020 10:32 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

Here all the files your need for this test. Just unzip it in a new directory (don't reuse any previous because there are some changes in different files. Check that openXsensor.ino file is in a directory named openXsensor (if not rename the directory). Open file openXsensor.ino. It should open ardui...
by mstrens
Wed Feb 19, 2020 10:09 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

what is the arduino pin that you connected to your Rx. Is it D4 or D2?
by mstrens
Wed Feb 19, 2020 10:04 am
Forum: OpenXVario - an open source vario supported by the open source firmwares!!
Topic: RPM resolution?
Replies: 232
Views: 145642

Re: RPM resolution?

Ok, I will prepare a whole set of oXs files that should just provide a dummy field.

Go to advanced search