I am working on something which may need pressure altitude.
The options are
There are plenty of Mode C aircraft (Mode C to avoid being tracked) especially in the non-certified sphere. I guess these will have Gray code only.
Not sure what kind of aircraft you are targeting.
Typical glider avionics (Flarm, vario, glide computer) communicate NMEA over RS232. NMEA being a yacthing standard initially, there is no standard pressure altitude sentence so each manufacturer have their own.
GDL90 has pressure altitude. SkyEcho transports it over UDP. Not sure for the other boxes.
So why do you want it from ADC, instead of just installing BMP180/280/390 and connecting to a static source? It’s analog and speaks universal Pascal’s protocol :)
I want to keep all options open. I have two RS232 inputs, two ARINC429 inputs, CAN interface, even 10/100 ETH. I can also do the 11 wire Gray code.
The baro encoder is a clever idea but would need some “plumbing” which may or may not be trivial. I also don’t have I2C (can do it of course but it’s more work). Have SPI internally.
I do have wifi too and GDL90 output, and can do GDL90 RX (it is just picking up UDP) but would prefer not to.
Is there any scenario where snooping on CAN is a meaningful mode? Snooping on ETH is a lot more work even at the PHY level.
Presumably NMEA will be GPS altitude, not baro.
Peter wrote:
Presumably NMEA will be GPS altitude, not baro.
It depends which NMEA. NMEA from a Flarm or a electronic vario (e.g. LXNav) will have either pressure altitude (relative to 1013.25 hPa or a set QNH) or a raw static pressure
I can use “any” altitude; the difference between any “baro” or GPS or WGS84 or geoid corrected WGS84 doesn’t matter in this case.
Perhaps I misunderstand the question, but several standard encoders use RS232 in addition to Gray code. A Sandia SAE-35 is just one example.
That’s exactly what I was asking. I need to get the data stream for that box too 
Is there any CANBUS context?