First of all.... thanks all for yet another improvement to the MultiWii code
I have a Flyduino Mega and a FrSky equipped 9x with ER9X firmware. My receiver is a D8R-II
I went ahead and made a small transistor based inverter.
It gets 5V from the Flyduino, and I took the GND from the D8R-II, because that way, I could use a normal 3wire servo lead on the Flyduino. The Flyduino and the receiver share the GND already through the PPM lead.
I soldered the transistor and the two resistors straight together, inline in a servo cable. Isolated all with some heatshrink. All working fine. (just need to label one side, so you know which side goes where next time you disconnect everything).
Just came back from a flight.... some observations
GPS data shows fine.
Distance from home(T1) also seems correct (units shown are probably in meters)
Ground speed show what I think is Km/h. The units on the GPS screen show as kts, even though I set it to metric.
ALT does receive data, but it seems there's a mixup between units in the ER9X firmware (r767).
Alt on the GPS lat/lon page is different from Alt or Galt on the custom screen. Alt on the custom screen seems to represent meters, but it does not start from zero (mine started at -39 (meters?).
I guess this is ER9X related.... The Alt on the custom screen seems to behave correctly, and show meters. It just does not reset to zero on start.
<EDIT> After a look in the code, it seems the Alt is the altitude from the Baro. Galt = GPS altitude....<END EDIT>
The RPM are shown as a 5 digit number, which represent throttle stick microseconds. It does not show baro PID adjustments. The version from tobi86 showed it as a 4 digit number, which seemed to represent motor speed. I liked tobi's version better (also because its only 4 digits, so 'fits' better on the screen), but that just my opinion....
Having this live data stream coming back from the copter, also proved what I was suspecting already for some time.....
My GPS seems to loose lock quite often, or may suddenly jump a lot..... On a few occasions, the location moved by nearly a 100 meters.... when RTH, it would move to somewere else.... Wherever it went to, once it arrived there, the distance to home was indeed 0...so it assumed that was home....
This all seems GPS related.... the FrSky telemetry just made it possible to actually see what was going on all the time.
Regarding the ER9X code..... the custom screen is nice.... just a shame in the current version it is not stored in eprom...
Some thoughts for possible improvements:
- there are 6 voltage reported (V1..V6). I guess they are cell voltages. Could we put the battery voltage, as measured by the multiwii on one of them (from the Vbat code) ? I'm also using the A2 input for the battery voltage, but why not show both.
- Could we show the powermeter reading as Mah2 (or 'fuel'). I assume, the amp sensor, once implemented, will show up on Mah1 ?
<EDIT> made some small modification to do just that..... seems to work, I get the powermeter sum in the fuel....
I also put vbat in amps.... could not get it working in one of the voltages, but hey.... it works for me
Let's hope Alex will include this in the next release
Thanks again for this great code !