Good day guys !!  

I feel the need to obtain the information from my PixHawk in my Graupner MZ-24 screen. I found
some threads talking about a change in arducopter firmware to run the telemetry, not good at messing original controller firmware.

Then I found an "adapter" that staff of the AutoQuad made to convert the MavLink in Hott telemetry.

I come here to share a few changes I made in the project Mav2Rott downloaded here: http://autoquad.org/software-downloads/?did=31.
This is an adaptation to send the telemetry PixHawk for Graupner Hott Protocol.

Is correct with some features:

Battery Voltage;
Altitude for barometer;
Satellite count Speed;
Flight Modes Current drawn by the motor;
Direction of the Head;

I am not able to make it work:

Correct display Latitude and Longitude;
Distance of Home;
Direction of Home;

If anyone can help thank you very much.
The project is attached to the topic. The connections are equal to the jd-ioboard. I am using an Arduino Pro Mini.

Mav2HoTT_NoLeds.zip

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

        • Hi pix,

          Yes I developed this code based on Adam Majerczyk's and MinimOSD code.

          I plan to share it, but nowadays it doesn't look good enough.

          What features exactly do you need?

          In fact it's possible to display a string of text at the bottom of MX-20 summary screen (I display flight mode text there) and trigger alarm.

          There is battery voltage indication and also battery low alarm which is autocalibrated at power-on assuming battery connected is not exausted.

          If you know how to get fence breached info from mavlink stream, tell me and I'll implement this feature.

          Also if fence guard is enabled you'll see flight mode changed when autofence is triggered.

          • Hi Michael,

            is there any progress in development of this useful software? Sharing would be great and would allow further branches.  

            I loaded the hexfile into a arduino uno connected on pixhawk running 3.3.2. Flight modes are shown on MC32 but no other data. As soon as I get a pro mini board, I will start new tests. 

            Do you have experience with new pixhawk firmware versions?

            The APM version was running perfect and delivered all data to the MC32 Display, but I changed all flightcontroll to pixhawk.

            Thanks for all things done. 

            • Thank you for your testing with MC series RC which I don't have.

              I use this with my pixhawk's latest FW with no problems.

              Newer version will use better-written 1-wire serial port, but it's not ready yet.

              Will be glad to hear form you.

              • Maybe I found my issue while try to get this code running:

                • My mistake was to use the minimosd connector to supply the arduino board with mavlink data. Minimosd is connected to telem2 - didn´t doublecheck if it worked after the last updates.
                • While debugging the code, I found heatbeat and flightmode but no other. 
                • Then found this description: https://github.com/Clooney82/MavLink_FrSkySPort/wiki/1.1.-Teensy-an... 
          • This reply was deleted.
            • Hi,

              "I want it all and I want it now" approach won't suit here.You should think definitely what alerts do you need and how these alerts are to be displayed.

              Please note that MX20 sensor data pages layouts you're using are pre-defined by Graupner firmware and cannot be altered. I tried to make use of all available fields. If you have ideas, you are welcome. There is also so-called "text mode" in HoTT specs, which allows to write any alphanumeric data to RC display, but it works even more slowly and is not recommended by Graupner to be used in-flight, only during setup. (Receiver setup pages use this mode and you may see slow update yourself).

              What problem with refresh do you have? A delay of 1-2 seconds is normal for HoTT telemetry as RC polls sensors (which are emulated by my code) at that rate. If you select "Receiver" in MX20 HoTT display menu, you'll see it updating at same rate.

  • This reply was deleted.
    • Friend , I was dedicated to improve my Drone flight time just leaving it to the background , I was very interested in your code will test and see how it behaves .
  • Good morning guys
    , 

    I'm sending firmware update to make the conversion MavLink ( Arducopter ) for Telemetry Hott .

    It's working for now :

    Altitude ( Baro )
    Speed ​​( GPS)
    Latitude
    Longitude
    Battery Voltage
    Battery current drain
    Distance to Home
    Bearing to Home
    Satellite count 
    Flight Modes
    Direction of the Head; 

    Mav2HoTT_NoLeds.zip

    • when i try compile i have an error viA arduino ide

      In file included from C:\Program Files (x86)\Arduino\libraries\FastSerial/BetterStream.h:16:0,
                       from C:\Program Files (x86)\Arduino\libraries\FastSerial/FastSerial.h:56,
                       from Mav2HoTT_NoLeds.ino:80:
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'int strcasecmp_P(const char*, const prog_char_t*)':
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
           return strcasecmp_P(str1, (const prog_char *)pstr);
                                            ^
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:38: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:32: error: expected primary-expression before 'const'
           return strcasecmp_P(str1, (const prog_char *)pstr);
                                      ^
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:108:32: error: expected ')' before 'const'
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'int strcmp_P(const char*, const prog_char_t*)':
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
           return strcmp_P(str1, (const prog_char *)pstr);
                                        ^
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:28: error: expected primary-expression before 'const'
           return strcmp_P(str1, (const prog_char *)pstr);
                                  ^
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h:113:28: error: expected ')' before 'const'
      C:\Program Files (x86)\Arduino\libraries\FastSerial/../AP_Common/AP_Common.h: In function 'size_t strlen_P(const prog_char_t*)':
      Redirecting
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…