Pitot airspeed and i2c ms4525do

in Propeller 1
Hello,
Do somebody play already with pitot Air transceivers I2C ms4525do?
https://www.mouser.com/datasheet/2/418/MS4525DO-710170.pdf
Thank you
Do somebody play already with pitot Air transceivers I2C ms4525do?
https://www.mouser.com/datasheet/2/418/MS4525DO-710170.pdf
Thank you
Comments
pub read_pitot i2c.start i2c.write($51) ' read; other ids are $6D and $8D i2c.read(bridge.byte[1], i2c#ACK) i2c.read(bridge.byte[0], i2c#ACK) i2c.read(temp.byte[1], i2c#ACK) i2c.read(temp.byte[0], i2c#NAK) i2c.stop if (bridge & $C000) ' check status bits, should be %00 return false temp >>= 5 ' fix lsb of temp ' do bridge and temp calculations here return true
In this suggestion, bridge and temp are global variables (words or longs). I'll leave the raw readings to useful values calculations to you.Just inform if somebody have user experience
I go order one for testing
Thank you Jon
I haven't used mine with the Propeller yet but I wouldn't think translating the open source C code to Spin shouldn't be too hard.
There are two type of them, one with I2C(PX4), the other analogue (AMP cheap one).
I go for the I2C, just put in my basket.
Daniel