New version of mavlink to hott telemetry converter is ready for beta-testing and usage.
It was attempt to take most from both MAVLink and HoTT.
It emulates all known sensor modules from Graupner:
Graupner #33611 General Air Module
Graupner #33620 Electric Air Module
Graupner #33601 Vario Module
Graupner #33600 GPS Module
Graupner Air ESC family
It takes from mavlink stream and shows
Temperature
Absolute air pressure
Altitude
Climbrates by 1s, 3s and 10s
Current
Voltage
Battery capacity used and remaining
Battery percent used
Ground speed
Electric time
Flight direction
GPS satellites number
GPS fix type
GPS coordinates
Yaw, Pitch and Roll in degrees
Home distance
Home direction
Armed / Disarmed status
Flight mode
Current WP number in AUTO mode
Heading and distance to current WP
MAVLink heatbeat status
Throttle
New version 1.4 added. This version was tested with MX-16, MX-20, MZ-24 (Thanks to Klaus) and MC-32 (Thanks to Deepflights).
Currently tested with copters only, but should support planes as well.
Iâll be glad if anyone will test it and give feedback.
Iâm installing a pixhawk into a fixed wing aircraft, using a graupner radio.
First I had some issues with sumd compatibility between my GR16 and the pixhawk. Itâs now solved with an hand mad patch, proposed here https://github.com/ArduPilot/PX4Firmware/pull/71 to ardupilot.
Now Iâm trying to load the hex file into a spark fun arduino mini 5V 16 MHz board and I donât get any result.
The arduino mini has been bought with bootloader inside. I installed avrdude on an ubunu 16 PC, I used a standard ftdi cable (usb <-> TTL , ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port)
with the command (and pressing simultaneously the reset button):
avrdude -c stk500 -p m328p -P /dev/ttyUSB0 -U flash:w:MAVLinl2HOTT-latest.hex
I get only âavrdude: stk500v2_ReceiveMessage(): timeoutâ
Iâve a doubt with the signal level of my ftdi cable, 3.3V or 5V, but is it critical ? After releasing reset button, the green led flashes two times, thatâs all.
I tried with Xloader on a PC, without success.
Is it possible to have some details for arduino newbe ?
Iâm trying to make work the version 1.4.3 of MAVLink2HoTT without success.
Here is my setup:
Pixhawk 1
Arducopter version: 3.4.4
Graupner MX-20 with firmware version: 1.207
Receiver: GR-16 with firmware version: V6a37
Mini Arduino Pro 5V 16MHz
Everything is wired worrectly to Telemetry 1 port and the settings of the port unchanged (Mavlink 1 protocol + 57600)
All settings in MAVLink2HoTT 1.4.3 are the default ones (all sensors emulated)
Problems are:
All values on the Graupner display are at zero, except the capacity of the battery (mAh)
When I change the flight-mode, the display (of this flight mode) takes around 3 to seconds to update, which seems to be quite long.
Beside that, nothing else changes.
I can walk though the settings of MAVLink2HoTT on the MX-20 and change them, but the telemetry data dont come.
I tested the same setup with another GR-16 receiver and also with another mini Arduino Pro, but the behavior remains the same.
Hello allâŚ
Pixhawk 2 firm.3.5 rc1âŚsuccess with MX-20 with GR-24 with mboland parametersâŚall sensors visible!
BUT it does not work with GR-32(latest firm. 4.0.4.)and MX-20(firm.1.207)
Anyone knows what is the difference between two?
As far as i can see only diference;on MX-20 telemetry screen, in GR-24 i can change parameter TEL.RCV between rcv ch1 and rcv ch2âŚon GR-32 i can not only rcv ch1
I am new to this community. My name is Kay and I come from Essen in Germany. I have recently started out flying drones with my Cheerson CX-20 (APM 2.52) and have since really caught the bug.
Since I already used my Graupner MX-20 for model ships, I also installed the Graupner RX into the Cheerson and have started building my own drone with a mini APM 3.1
Now since I have seen telemetry on a friends Taranis I wanted to include this in my Graupner which allows telemetry with ther HoTT technology and quickly found mavlink2hott.
So I bought an APM328P board, installed the firmware and wired it to the APM mini as follows
TX > RXO
+5V > VIN
GND > GND
Then I wired D3 > T on my Graupner GR-12 RX and set the function to âSensorâ in the telemetry menu.
However, I cannot seem to get any telemetry data from the APM.
There is not even a sensor emulation screen. When in the telemetry menu, I cannot select/deselect any sensors.
One thing I am thinking about right as I am writing this is, that I have only connected the telemetry pin to the RX for testing so far. There is no other connection to the APM as of right now. May that be the problem or did I do anything wrong?
As of now I seem to be able to communicate with mavlink2hott through my MX-20.
I do not receive any data, however.
What seems to have been the problem with the communication in general was that I had not connected the RX to the GND of the APM mini. After powering it through the APM, I could see the mavlink2hott menues.
However, as I wrote, I do not seem to receive data.
The baud rate seems to be set correctly to 57600.
I do not find SERIAL1_PROTOCOL to set a telemetry protocol. Possibly in miniAPM 3.1 there is no such option?
It works for me MX-20 v1.207, GR-16 v6a37, MavLink2Hott firmware v1.4.3.
Downloaded Xloader from here.
Added new line for Mini in âdevices.txtâ :
Mini(ATmega328);m328p;stk500;57600; devices.txt (253 Bytes)
Edit:
With the original schematic (Power from Pixhawk to âVccâ I get fluctuating Rx voltage display.
I get much better results by powering the Arduino from the Rx (Rx on 2s). Red wire goes to âRAWâ and NOT to âVccâ !!! Signal (white / orange) goes to â3â and black/brown to âGNDâ.
Two wires (âRXIâ and âGNDâ) to Pixhawk.
The red LED on the arduino is blinking about twice per second. The RX LED is blinking rapidly. The TX LED doesnât blink at all.
However there must be some data connection, because when I remove the telemetry cable, the set 3000mAh value disappears. It reappears when I plug it back in.
Pixhawk 1, just used Mike Boland parameters from post #9. Didnât bother to try any of the other (quite different) parameter sets that are around because those worked.
Maybe you could try some other Mavlink stuff on this port like radio modem telemetry to check if this works.