APM/Pixhawk I2C: Read EzUHF RSSI+LQ
Feature request: Can we read EzUHF RSSI+LQ over the I2C bus? This would be a great enhancement and would solve a lot of PWM methods to do the same, and would make minmosd-extra really shine. See below videos for examples:
https://www.youtube.com/watch?v=TJioJOXqoXQ
https://www.youtube.com/watch?v=kOqGUdVWp-g
I've been looking in to this and as yet have had no luck in getting the RX to respond. I think it may be that I'm using a buss thats too fast. Would like to work with others on this as it is quite important to the FPV people like us.
it's my understanding that the EZUHF receiver is running as s slave device on the I2C Buss and should respond to a master that sends the correct address, I've tried using an arduino uno as a master to run through the all addresses to see if I could get a response from the receiver but as I mentioned above, I think I may be running the buss too fast for the EZUHF to keep up. I need to read up on the I2C protocol and renew my efforts. Any assistance from others is welcome.
Check out https://github.com/diydrones/ardupilot/pull/2770.
While it does not use I2C, this pull request gives you the ability to read a PWM channel value for Link Quality or RSSI from EzUHF. This will be shipping in ArduPlane 3.4 and ArduCopter 3.4 (at least that's the current story).
You do have to choose one of the two, however. Mavlink only supports an "RSSI" message, and my efforts to add a parallel "Link Quality" message were declined for the moment. Until that happens there's not much point (to me, anyway) to having them both in ArduPilot, since you still could only get one to display on the OSD. All I'd get for the trouble would be user confusion.
I'm not clear why you'd want to pull them from I2C if you could pull them from PWM channel values. I mean, it's cool, don't get me wrong, but if there's something else I'm missing, let me know.
Thanks for your work on this. It's been a long time since that feature request, but this will at least make it possible.
I think the I2C request is because that's how the Immersion EzLink works between their Rx and their EzOSD. My thought was to just tap into this and have all this available for the PH to put into Mavlink. It would make the PH/AC PnP with EzUHF.
(from their product listing): EzLink connection to a EzOSD, providing in-flight display, and telemetry down-linked parameters: -RSSI Ant. 1, Ant 2 -Frequency Error -SNR for each freq. bin -Link Quality
If you had all of that, you could then choose among these values from MinimOSD. It's also just a cleaner way to get this data w/o having to assign RSSI to a PWM output.
Has anyone been successful in reading RSSI or LQ from the I2C buss of the EZUHF? I’ve seen the videos that show this in action but is there and arduino code out there?
Is this feature still requested? I know RSSI is accessed from some other methods currently.
it would still be good as many people have the EZ-UHF receiver
On Thu, Jan 17, 2019 at 3:57 PM Nathan E [email protected] wrote:
Is this feature still requested? I know RSSI is accessed from some other methods currently.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ArduPilot/ardupilot/issues/802#issuecomment-455376492, or mute the thread https://github.com/notifications/unsubscribe-auth/AMPc68Jq5eJg6Wa66mxz5rXOQluYxh5Eks5vEQ3fgaJpZM4BdK4z .