EasyManuals Logo

Eagle Tree Systems Eagle Tree Microsensor V3 User Manual

Eagle Tree Systems Eagle Tree Microsensor V3
2 pages
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #2 background image
Copyright © 2009 Eagle Tree Systems, LLC
http://www.eagletreesystems.com
For the airspeed sensor, the I2C address (SENSOR_ADDRESS in the pseudo code below) is
0xEA
For the altimeter sensor, the I2C address (SENSOR_ADDRESS in the pseudo code below) is
0xE8
I2C access should work correctly between 100Khz up to 400Khz. It may be possible to access
the sensor at slower or higher speeds, however.
Here is the pseudo code for accessing the sensor:
byte data[2];
USHORT reading = 0xFFFF;
i2c_start();
// select sensor in write mode
if (!(i2c_write(SENSOR_ADDRESS | I2C_WRITE_BIT))) {
// send "read data" command to sensor
if (!i2c_write(0x07)) {
i2c_restart(); // perform I2C restart
// select sensor in read mode
if (!i2c_write(| SENSOR_ADDRESS | I2C_READ_BIT)) {
// read two bytes of sensor data
data[0] = i2c_read(1);
data[1] = i2c_read(0);
reading = *((USHORT *)(&data[0]));
}
}
}
i2c_stop();
Troubleshooting I2C Access to the Microsensor
If you have an issue accessing the sensor with your microcontroller, post a support question on
our RCGroups support forum at this location:
http://www.rcgroups.com/forums/showthread.php?t=1118096
Note that email, telephone or web ticket support is not provided for accessing the sensor via I2C.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Eagle Tree Systems Eagle Tree Microsensor V3 and is the answer not in the manual?

Eagle Tree Systems Eagle Tree Microsensor V3 Specifications

General IconGeneral
BrandEagle Tree Systems
ModelEagle Tree Microsensor V3
CategoryAccessories
LanguageEnglish