Direct Frsky telemtry data from MW FC

Re: Direct Frsky telemtry data from MW FC

Postby QuadBow » Tue Mar 24, 2015 7:09 pm

Hi ardufriki,

Firstly: Congratulations!

Secondly: You talked about TELEMETRY_FRSKY_SERIAL, which is not defined in the code snipplets mentioned in this thread (here it is called more universally TELEMETRY_SERIAL). So, where have you got your code from?

Thirdly: The missing variables might be caused by the receiver. at least the Frsky (old) telemetry (D-series) receivers D8R-II and D8R-XP swallow the incoming telemetry inputs for the voltage and replace it by the internal voltages. Up to now I have not found any solution to overcome that behaviour. I have to connect the battery voltage via a resistor devider to the receiver pin A1. Maybe OpenLRSng simulates the same behaviour...

Forthly: I don't have any clue as to the GPS data. I would be interesting to have the question from SECONDLY answered.

Lastly: What values er9x, opentx, etc display on the transmitter screen?
QuadBow
 
Posts: 532
Joined: Fri Jan 04, 2013 10:06 am

Re: Direct Frsky telemtry data from MW FC

Postby ardufriki » Tue Mar 24, 2015 8:30 pm

Hi, I used the last code posted in this thread some posts ago, by "baco" user. But I had to make some corrections in it in order to run ok in my 9x.

I have weird GPS values, they seem to be cutted in the last two numbers. Sometimes I have consistent data, but it changes continuously to weird values again. I think there is no checksum control, so all the trash is displayed in the LCD.

I have my Turnigy flashed with er9x, with Frsky option. I see Fuel bar (number of GPS sats I think), RSSI, TSSI, RPM, A1, A2, GPS, Heading, Cells value, Batt, Amps, Altittude, GPS Altitude, GPS Speed, Mah and other (Tim1, Tim2....etc). Some of this still dont work (as GPS data).

It is amazing to have these data displayed, but I dislike the missing cheksum control of the protocol. I want later to connect with android apps with mapping capacity, and for that I need consistent GPS values :D

EDIT: I use new 2.4 MW code.
ardufriki
 
Posts: 88
Joined: Thu Dec 13, 2012 4:47 pm

Re: Direct Frsky telemtry data from MW FC

Postby ardufriki » Tue Mar 24, 2015 10:29 pm

Hi Quadbow, I´ve just replaced the send_GPS_position() (baco code) by your send_GPS_latitude() and send_GPS_longitude() functions, and now the values in my screen are much better !! But still having weird ones too.

I dont know if this is usable data (I want now redirect the orangerx TX line to a bluetooh or ftdi, for a ground station style setup).
ardufriki
 
Posts: 88
Joined: Thu Dec 13, 2012 4:47 pm

Re: Direct Frsky telemtry data from MW FC

Postby QuadBow » Tue Mar 31, 2015 4:02 pm

Hi ardufriki,
I just want to let you know that you can find the Frsky telemetry implementation in the Multiwii trunk right now.
http://www.multiwii.com/forum/viewtopic.php?f=8&t=6249
QuadBow
 
Posts: 532
Joined: Fri Jan 04, 2013 10:06 am

Re: Direct Frsky telemtry data from MW FC

Postby Maine_Guy » Thu May 28, 2015 3:24 pm

UPDATED TEXT

I finally upgraded my FC to the AIO Pro board - mostly to get telemetry working.

I am trying to pass the telemetry data to my Frsky D8r II plus through the HK zyx inverter cable.
this one:
http://www.hobbyking.com/hobbyking/stor ... Cable.html

temp aio.jpg



-I've attached the short side to serial 3 on my FC - which is wired to the vcc / gnd / tx

THIS DID NOT WORK. i ATTACHED THE +- TO A 5V POWER AND GROUND AND TELEMETRY WORKS

UPDATE 2: I initially ran this board from my USB, reported power was 4.5v. I built a voltage divider to step down the transmission voltage form the FC to the SBUS (apparently it likes 3.3v). The voltage divider did not work with my USB power - but did with my SBEC (5.1v). I have not run the inverter without the voltage divider and 5.1v.. just FYI.




-I've attached the long side to RX - which is wired to the RX / gnd
-Set com speed to 9600

Nothing on my display... any ideas what I may be doing wrong?
Last edited by Maine_Guy on Mon Jun 01, 2015 5:18 am, edited 2 times in total.
Maine_Guy
 
Posts: 27
Joined: Fri Mar 06, 2015 7:07 pm

Re: Direct Frsky telemtry data from MW FC

Postby Maine_Guy » Fri May 29, 2015 4:32 am

Maine_Guy wrote:-I've attached the short side to serial 3 on my FC - which is wired to the vcc / gnd / tx


I believe this is the source of my error. Vcc does not = 4.5v

I understand the inverter a bit better now - if I power the inverter with board voltage (4.5) instead of 3.3 - I assume that will work?
Maine_Guy
 
Posts: 27
Joined: Fri Mar 06, 2015 7:07 pm

Re: Direct Frsky telemtry data from MW FC

Postby QuadBow » Fri May 29, 2015 5:56 pm

Maine_Guy wrote:if I power the inverter with board voltage (4.5) instead of 3.3 - I assume that will work?
That could be dangerous. Some receivers like FRSKY D8R-II (which do you have?) bear only 3.3V at the telemetry port, even if they are fed with Vcc=5V.
QuadBow
 
Posts: 532
Joined: Fri Jan 04, 2013 10:06 am

Re: Direct Frsky telemtry data from MW FC

Postby Maine_Guy » Sun May 31, 2015 1:58 pm

Got it working, updated my post above. I built a voltage divider for the output signal - reattached, no telemetry. I then tried removing the voltage divider (just raw FC power through the HK inverter) and telemetry worked!

My power volatge for the FC reported voltage from a USB computer connection is 4.5v - which is lower than what I designed the divider for, Will see if it likes my SBEC later, which I suspect puts out a solid 5v.

Thanks for the code, can't wait to try it all out further.
Maine_Guy
 
Posts: 27
Joined: Fri Mar 06, 2015 7:07 pm

Re: Direct Frsky telemtry data from MW FC

Postby rojowe » Fri Apr 08, 2016 5:36 pm

Can anyone point me in the right direction? Am I to add the bits of code to Multiwii 2.4 myself or is there already some integration?

I have a Turnigy 9XR Pro w/ FrSky DJT and basic telemetry such as RSSI & TSSI. Then through Multiwii 2.4 and MWOSD I have GPS, Altitude, Speed, etc...
I understand that I can add an Bluetooth 05/06 to the Turnigy 9XR Pro and essentially eliminate the need for OSD. While I wouldn't eliminate the OSD, I would like to add GPS to my Turnigy 9XR Pro w/ Bluetooth so I could have a live Map of where my UAV is.

To connect my Arduino Mega to the D8R-II Plus Receiver, do I need a logic inverter? I'm a bit stumped on this next step.

Thank you for any help. I've tried searching and everything I come across is from 2015 and still apparently developmental.
rojowe
 
Posts: 9
Joined: Wed Dec 02, 2015 11:00 pm

Re: Direct Frsky telemtry data from MW FC

Postby rojowe » Fri Apr 08, 2016 5:36 pm

Can anyone point me in the right direction? Am I to add the bits of code to Multiwii 2.4 myself or is there already some integration?

I have a Turnigy 9XR Pro w/ FrSky DJT and basic telemetry such as RSSI & TSSI. Then through Multiwii 2.4 and MWOSD I have GPS, Altitude, Speed, etc...
I understand that I can add an Bluetooth 05/06 to the Turnigy 9XR Pro and essentially eliminate the need for OSD. While I wouldn't eliminate the OSD, I would like to add GPS to my Turnigy 9XR Pro w/ Bluetooth so I could have a live Map of where my UAV is.

To connect my Arduino Mega to the D8R-II Plus Receiver, do I need a logic inverter? I'm a bit stumped on this next step.

Thank you for any help. I've tried searching and everything I come across is from 2015 and still apparently developmental.
rojowe
 
Posts: 9
Joined: Wed Dec 02, 2015 11:00 pm

Re: Direct Frsky telemtry data from MW FC

Postby LutzB » Sat Apr 09, 2016 8:02 am

The 2.4 release does not include any telemetry functionality. You will have to merge the code yourself or get the latest code from the GIT.
https://github.com/multiwii/multiwii-firmware
LutzB
 
Posts: 65
Joined: Sun Feb 08, 2015 4:01 pm
Location: Germany

Previous

Return to Ideas

Who is online

Users browsing this forum: No registered users and 1 guest

cron