|
|
|
|
||
|
Suomi, Pirkanmaa, Tampere
Joined Feb 2011
2 Posts
|
Quote:
based on your code example (thanks for sharing!!) I was able to get out 16-bit value for pressure from my new airspeed sensor V3. My sensor is working in normal mode (no third party) and it gives about 1570 value ±5. I tested it by blowing to high pressure side and I got about 13800 value max, which corresponds 7-segment reading 530km/h. To get 16-bit data (two 8-bit words added) you have to add this: Wire.requestFrom(ALT_ADDRESS,2); if (Wire.available()) { data = Wire.receive(); } if (Wire.available()) { data |=Wire.receive() << 8; } to your code. This method I found from I2C coding example: http://www.neufeld.newton.ks.us/electronics/?p=241 I think it's possible to do calculation of actual air speed/altitude straight from raw data also. |
|
|
||
|
|
|
|
|
Hi, please note that the I2C ID for the Altimeter V4 is different than the Altimeter V3, and that the V4 is always in "third party mode" (returning actual altitude).
http://www.eagletreesystems.com/supp...sensor-i2c.pdf |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wanted WTB Eagletree Altitude and Airspeed micro sensors | hcopter | Aircraft - General - Miscellaneous (FS/W) | 0 | Oct 20, 2007 12:02 PM |
| Discussion NOW SHIPPING: Airspeed, Altitude and lots more new sensors for the MicroPower | billpa | Eagle Tree Systems | 41 | Jul 31, 2007 02:02 PM |
| Discussion Eagle Tree announces Airspeed, Altitude and lots more new sensors for the MicroPower | billpa | Batteries and Chargers | 14 | May 28, 2007 07:28 PM |
| Discussion Eagle Tree announces Airspeed, Altitude and lots more new sensors for the MicroPower | billpa | Product Announcements | 4 | May 27, 2007 09:56 PM |
| Alert Caution - Web Page with your info not secure | RCTyp | HobbyKing | 5 | Mar 22, 2007 03:25 PM |