Page 1 of 1

OpenXVario HOTT Support

Posted: Wed Jun 26, 2013 11:48 am
by Jochen222
Hi,

I´v seen an the code there´s Jeti protocol support for the xvario.

I use the Graupner HOTT telemetry system and found the OpenXVario project with the high resolution MS5611 very cool. Is ther something planned to add HOTT support (I´m not a good programmer)?

There are some projects which maybe have usable code snippets for the proctol:
https://code.google.com/p/diy-hott-gps/
https://github.com/obayer/MultiWii-HoTT
https://github.com/cGiesen/MultiHoTT-Module
http://code.google.com/p/hott-for-ardupilot/
MAVLINK2HOTT: http://autoquad.org/wp-content/plugins/ ... .php?id=31

Jochen

Re: OpenXVario HOTT Support

Posted: Wed Jun 26, 2013 11:56 am
by rainer
Hi Jochen,
the upcoming new version called openXsensor will have exchangeable output modules, so technically only one class has to be adapted. i don't have any Graupner HW, so we would need somebody with the HW to give it a try. If you want to try, i would be willing to help you.
rainer.

Re: OpenXSensor V8 HOTT Support

Posted: Thu Mar 23, 2017 8:53 pm
by Spitpt
Hello,

I'm a Hott telemetry system user and I'm trying to implement the OpenXsensor V8 but I don't have any sensor that appear on the transmitter screen.

My setup is Arduino Nano pro mini 5v 16 Mhz with a BMP180 and Neo6 GPS on a GR12 receiver. Is there something more to do than changing the PROTOCOL name and Pin configuration?

Thank you for helping.

Bess regards.

Re: OpenXSensor V8 HOTT Support

Posted: Thu Mar 23, 2017 9:24 pm
by mstrens
Spitpt wrote: Thu Mar 23, 2017 8:53 pm Hello,

I'm a Hott telemetry system user and I'm trying to implement the OpenXsensor V8 but I don't have any sensor that appear on the transmitter screen.

My setup is Arduino Nano pro mini 5v 16 Mhz with a BMP180 and Neo6 GPS on a GR12 receiver. Is there something more to do than changing the PROTOCOL name and Pin configuration?

Thank you for helping.

Bess regards.
Can you send me the file oXs_config.h that you are using. I can check if it is OK.

Re: OpenXVario HOTT Support

Posted: Fri Mar 24, 2017 6:15 pm
by Spitpt
Hello,

I'd just send you the file.

Thanks for the help.

Re: OpenXVario HOTT Support

Posted: Fri Mar 24, 2017 8:26 pm
by Spitpt
Thank you for the file but the problem stay the same. In facts, on the Hott system, you have an auto detection of the different modules that you connect to the Hott receiver. This autorise to select then a screen in relation with the module and only tghese screens. For exemple, if you connect only the gps module, you can't see the screen with cells voltages.
In my case, the information about the connect module doesn't appear. It 's looking like there is no module. (the same think with the V7).
I'll trying older versions to see if there's one working and trying to find the eventual differences in your code. Maybe there is a wiring problem but i'd followed yours indications:
Port 4(Tx port) of the arduino to the T of the telemetry data port. There isn't Rx port from the arduino to the receiver?

Best regards.

Re: OpenXVario HOTT Support

Posted: Fri Mar 24, 2017 8:46 pm
by Carbo
I am not a HOTT user, but i think GR12 requires a pullup resistor:
http://fpv-community.de/showthread.php? ... post899651
or better here, the second drawing:
http://fpv-community.de/showthread.php? ... post899893

Re: OpenXVario HOTT Support

Posted: Fri Mar 24, 2017 9:07 pm
by mstrens
If I understand it right, the second schema is not really a pull up but
- a pull down (when Arduino does not force a voltage, Rx will get 0 volt)
and
- a voltage divider.
I think that this schema has been proposed in order to avoid that when oXs forces 5 volt, then the rx will only get 3.3 volt what is for sure safe ( to protect the Rx if there is no other protection on Rx side).

Re: OpenXVario HOTT Support

Posted: Fri Mar 24, 2017 9:39 pm
by Carbo
This was foreseen as a universal version, that should work with all Graupner RX - at least it does not damage anything :) It worked, but nobody understood exactly why. Maybe you can explain it.
Teiler.png
© [email protected] ;)

Re: OpenXVario HOTT Support

Posted: Sat Mar 25, 2017 8:31 am
by mstrens
Initially I looked at another schema in the link.
Indeed the schema here above should work and be safe.
The signal between Arduino (e.g. D4) and Rx is controlled by the 2 components (Arduino and Rx) because it is bidirectional.
It is important to ensure that there are no damage if by mistake each component try to force a different voltage.
To avoid damage, it is foreseen that each component can drive the voltage level to ground but can't drive it to high level by him self.
To achieve this the arduino is programmed in such a way that
- for a logical 0, it can bring D4 to ground (using an internal transistor)
- for a logical 1, it just put D4 in high impedance (so a floating voltage). Normally there should be a pullup resistor on Rx side that connect the Rx signal (= D4) to Vcc of the RX (3.3 V). It is this resistor that bring the voltage level to 3.3 volt when Arduino let it floating.

If the Rx has no pullup resistor, then the voltage is floating and communication will probably fail.
Adding just a pull up resistor between Arduino Vcc (5 v) and D4 is not safe for the Rx because when D4 is set in high impedance, the resistor wil bring the voltage to 5 v while the Rx is running at 3.3 volt.
So in order to reduce the voltage to 3.3 volt, you have to add a resistor to ground too. So you get a voltage divider that reduce the voltage from 5 volt to 3.3 volt when Arduino and Rx let it floating.

When Arduino and Rx do not want to force a level 0, they let their pin floating and it is the voltage divider that force the level to 3.3 volt
When Arduino want to force the level to 0, it drive the line to ground and it seeks the current from R 22k
When Rx want to to force the level to 0, it drive too the line to ground and it seeks the current from R 22k

Re: OpenXVario HOTT Support

Posted: Sat Mar 25, 2017 3:08 pm
by Spitpt
Hello,

In fact, it is necessary to put a pull up resistor 1.5 Ko between the Tx (pin 0) and Rx (pin 4) line of the Arduino, the Rx line stay dirctly wire to the T pin of the Data port of the receiver.

Now I have the indication on the transmitter that GPS and GAM modules were connected.

Thant you for the help.

Re: OpenXVario HOTT Support

Posted: Sat Mar 25, 2017 3:59 pm
by Carbo
Spitpt wrote: Sat Mar 25, 2017 3:08 pm Hello,

In fact, it is necessary to put a pull up resistor 1.5 Ko between the Tx (pin 0) and Rx (pin 4) line of the Arduino, the Rx line stay dirctly wire to the T pin of the Data port of the receiver.

Now I have the indication on the transmitter that GPS and GAM modules were connected.

Thant you for the help.
Great that it works, but is it possible, that you mixed it up with connecting a flightcontroler to S-Port telemetry? Only there it is necessary to connect TX and RX simultaneously with a resistor (or diode, or diode+resistor). The better way imo is to use the circuit above, it works reliable with all kind of HOTT RX. I do not know, if your version can cause a malfunction, but imo it works only per 'accident'.

Have fun with your oXs!

Re: OpenXVario HOTT Support

Posted: Sat Mar 25, 2017 6:46 pm
by Spitpt
In my case, the power of the arduino come from the receiver (+ to RAW, - to GND, T to pin4 ant T+1.5 Ko resistor to pin0). This wiring work fine since a year on others home made modules (vario and voltage control).

Best regards

Re: OpenXSensor V8 HOTT Support

Posted: Tue Aug 08, 2017 1:27 pm
by pritt500
Hello,
I built a OpenXSensor with an voltage and current sensor which works perfectly on my HOTT GR-12L receiver.
I would like to add a temperature sensor for my ESC as well. To connect the sensor to an analog input is no issue but in the HOTT section of the config.h I cannot assign one of the fields Volt_1 to Volt_6 to the Temperature fields. There are only the values Test_1,2,3 and some other like PPM etc. possible.
How can I make a correct assignment? I really would like to use the temperature field on the TX Screen to display the temperature of the ESC and not any other battery field.
Thanks in advance for support!
Thomas

Re: OpenXVario HOTT Support

Posted: Tue Aug 08, 2017 2:36 pm
by mstrens
This requires some new lines of code.
I do not think it is complex.
I will try to put a new version on github to allow it.
Perhaps will it be done today.

Re: OpenXVario HOTT Support

Posted: Tue Aug 08, 2017 3:05 pm
by mstrens
I put the new version on github to allow to transmit a voltage (VOLT_1...VOLT_6) in the HOTT temperature fields.
Please note that depending on the temperature sensor you are using, you must (in the oXs_config_advanced.h) define OFFSET_VOLTAGE and SCALE_VOLTAGE in such a way that VOLT_x gives the temperature in ° (instead of a voltage in mvolt).

I did not test the new code. So, if it does not work let me know and I will fix it.

Re: OpenXVario HOTT Support

Posted: Tue Aug 08, 2017 3:19 pm
by pritt500
Wow that was really fast!
I'm at the moment on a business trip but will try next weekend when I'm back home.

Thanks mstrens!
Thomas

Re: OpenXVario HOTT Support

Posted: Thu Aug 17, 2017 8:07 am
by pritt500
I just tested the new functionality and it works perfect! Temperature is visible in the HOTT temperature field.
Many thanks for that fantastic support and sorry for the late feedback but I killed my Uno a week ago and had to wait for the new one to test.

Best regards