Page 1 of 1

9dof sensor breakout

Posted: Fri Mar 15, 2013 1:30 am
by michel maurette
Hello,
I recently bought a 9dof IMU and a 9dof sensor stick from Geeetech.
The IMU is working fine, but the sensor stick is not responding on the I2S interface:
running the AHRS software with the debug option returns me the "!ERR" message on the 3 sensors, which apparently, in the code corresponds to an empty or incomplete buffer.
Trying to read raw data from the sensors returns the following messages, unchanging with sensor moving or not:
#A-R=193.94,-256.00,665.60
#M-R=-40.62,10.52,163.62
#G-R=-57727.92,-965036.00,-176250.29
#A-R=193.94,-256.00,665.60
#M-R=-40.62,10.52,163.62
#G-R=-57727.92,-965036.00,-176250.29
#A-R=193.94,-256.00,665.60
#M-R=-40.62,10.52,163.62
#G-R=-57727.92,-965036.00,-176250.29
#A-R=193.94,-256.00,665.60
#M-R=-40.62,10.52,163.62
#G-R=-57727.92,-965036.00,-176250.29
The sensor is connected to the arduino uno board according to the scheme of the wiki. I tried several boards with the same results.
I also tried to connect through a logic level adapter board with the same results.
Do you have any suggestions ?
Thank you for your help

michel maurette
.

Re: 9dof sensor breakout

Posted: Fri Mar 15, 2013 9:45 am
by Admin
Hi friend,

What about the sensor ADXL345, ITG3205, HMC5883L when you test them individually according to the wiki page?

Re: 9dof sensor breakout

Posted: Tue Mar 19, 2013 1:27 am
by michel maurette
hi,
I tried reading accelerometer directly
It returns a fixed value : 0 on the 3 axis

Reading other sensors raw values through AHRS also gives fixed numbers, even if moving the sensor stick.
Note : the code on the link of the wiki page does not compile due to an old reference to the wire library.

Thank you for helping
michel maurette

Re: 9dof sensor breakout

Posted: Tue Mar 19, 2013 10:42 am
by techsupport
Hi friend
Reading other sensors raw values through AHRS also gives fixed numbers, even if moving the sensor stick.
Do you select the right hardware in the AHRS ?

Code: Select all

define HW__VERSION_CODE 10724 // SparkFun "9DOF Sensor Stick" version "SEN-10724" (HMC5883L magnetometer)
The connection is easy , just A4 to SDA, A5 to SCL.

Do you compile the code in the wiki page in Arduino 1.01 or above? The code on the link of the wiki page http://www.geeetech.com/wiki/index.php/ ... r_Breakout is for Arduino 1.01 or above.

If the output value of ADXL345 is 0 on 3 axis, it should be the faulty of the sensor. Please leave your user ID in my mailbox if you purchase on Getech website or contact the ebay seller if you purchase on ebay. We will provide you a replacement.

Regards;
techsupport

Re: 9dof sensor breakout

Posted: Tue Mar 19, 2013 6:53 pm
by michel maurette
Thank you for your answer.
Yes 10724 is the item that I uncommented in the code. Anyway, if I had chosen a wrong item, the returned values could be erratic but not static, according to my code analysis.

I compiled the code in Arduino 1.03.

I will leave my user ID on your e-mail.
Thank you
michel maurette

Re: 9dof sensor breakout

Posted: Wed Jan 14, 2015 7:46 pm
by john22
I recently bought a 9dof IMU and a 9dof sensor stick from Geeetech.
The IMU is working fine, but the sensor stick is not responding on the I2S interface:
running the AHRS software with the debug option returns me the "!ERR" message on the 3 sensors, which apparently, in the code corresponds to an empty or incomplete buffer.
Trying to read raw data from the sensors re

Re: 9dof sensor breakout

Posted: Thu Jan 15, 2015 3:05 pm
by wallace
Hi friend
Had you burned our fireware when this problem was happening? If not, Please do it. A normalized processing is needed to collect more data ad directly read-data.