We have the 9 dof which has ITG-3205, ADXL345 and HMC5883L sensors , output of the sensors is processed by ATMEGA328 , the problem we are is we are nt getting datasheet for the board for single IC's it is available , and data formet from the device is confusing.
Eg:12345798097879806283729839280320
2638728943893849898598989898995
above eg is how we are getting the output data from the device. It would be helpful if anyone could assist on how differentiate the data on how which data is from which sensor
9dof-ardurIMu
Re: 9dof-ardurIMu
hi friend:
can you provide your program? Will help you to solve it immediately
can you provide your program? Will help you to solve it immediately
Re: 9dof-ardurIMu
void setup() {
Serial.begin(57600);
Serial1.begin(38400); // Baud rate fixed....
Serial1.print(4); // Begin with Raw data
}
void loop() {
if(Serial.available() > 0) {
int incomingByte = Serial.read();
if(incomingByte >= 48 && incomingByte <= 53)
Serial1.print(incomingByte);
}
if(Serial1.available() > 0)
Serial.print(Serial1.read());
}
Serial.begin(57600);
Serial1.begin(38400); // Baud rate fixed....
Serial1.print(4); // Begin with Raw data
}
void loop() {
if(Serial.available() > 0) {
int incomingByte = Serial.read();
if(incomingByte >= 48 && incomingByte <= 53)
Serial1.print(incomingByte);
}
if(Serial1.available() > 0)
Serial.print(Serial1.read());
}
Re: 9dof-ardurIMu
void setup() {
Serial.begin(57600);
Serial1.begin(38400); // Baud rate fixed....
Serial1.print(4); // Begin with Raw data
}
void loop() {
if(Serial.available() > 0) {
int incomingByte = Serial.read();
if(incomingByte >= 48 && incomingByte <= 53)
Serial1.print(incomingByte);
}
if(Serial1.available() > 0)
Serial.print(Serial1.read());
}
Serial.begin(57600);
Serial1.begin(38400); // Baud rate fixed....
Serial1.print(4); // Begin with Raw data
}
void loop() {
if(Serial.available() > 0) {
int incomingByte = Serial.read();
if(incomingByte >= 48 && incomingByte <= 53)
Serial1.print(incomingByte);
}
if(Serial1.available() > 0)
Serial.print(Serial1.read());
}
Re: 9dof-ardurIMu
hi frined:
maybe your boud rate is too high,set it as 9600,any questions please contact me.
maybe your boud rate is too high,set it as 9600,any questions please contact me.
Re: 9dof-ardurIMu
I would like to know the data format since its is coming contionous without any comma or string defining tokens as in nmea. It would be very helpful if you assist on data format of the data and can provide the datasheet for the same.
eg: 801185321819762242554814412824801101010127152225253
this the data we obtained in the serial window when we reduced the baud rate but we are not able decompose the data as which data is yaw,roll ....etc
eg: 801185321819762242554814412824801101010127152225253
this the data we obtained in the serial window when we reduced the baud rate but we are not able decompose the data as which data is yaw,roll ....etc
Re: 9dof-ardurIMu
hi
are you use Razor AHRS code?maybe you can try it,then you can understand data format
are you use Razor AHRS code?maybe you can try it,then you can understand data format