May I know what is the best way to test the XYZ sensors?
The values does seem to be very stable.
Just to confirm, the XY sensors are suppose to be in charge of the yaw and roll?
And Z sensor is in charge of the pitch?
And how do we read the value when we place the xy sensor in this way:
I meant that which side should I let it be yaw and which side for roll?
I need the values for heading indicator and turn coordinator.
And which analog pin ( 3, 4 or 5 ) reads the airspeed?
Is it 3 for active and 4 for blocked probe and do some calculation?
My current software is done below, which only has the altitude..
The rest of the air gauges are still untouched due to the values.
Need help for airspeed and XYZ sensors!
And I understand that the EM406 gps module that I am using is refreshing at 1Hz.
And I modified the loop the program in the EM406_Tester:
void print_position(void)
{
analog0 = analogRead(0);
analog1 = analogRead(1);
analog2 = analogRead(2);
//!!377659260|-1224329073|5543|79|-56|5543|0|7982
Serial.print("Latitude: ");
Serial.print(current_loc.lat,DEC);
Serial.print(", Longitude ");
Serial.print(current_loc.lng,DEC);
Serial.print(", Altitude: ");
Serial.print(current_loc.alt/100*3.33333333333333333,DEC);
Serial.print(" ft, GroundSpeed: ");
Serial.print(ground_speed/100,DEC);
Serial.print(" m/s , X sensor: ");
Serial.print(analog0);
Serial.print(", Y sensor: ");
Serial.print(analog1);
Serial.print(", Z sensor: ");
Serial.print(analog2);
Serial.println(" Next");
}
Which means that the XYZ sensor values coming is also in 1Hz rate.. which is not really good..
So is there any way that I can modify the program so that I can get the XYZ sensor is a faster rate.
Leaving the GPS data in the 1Hz rate.
That's all for now..
Thanks all!
Darren
You need to be a member of diydrones to add comments!
Replies
What's that all about?
The IR sensors refresh at 50 hz.
The pins are labeled in the code. See the system.pde file.
You need to be outside with a better lock to get accurate altitude. Even then it's not going to be perfect.