9dof sensor breakout

Post Reply
michel maurette
Posts: 3
Joined: Tue Mar 12, 2013 8:02 am

9dof sensor breakout

Post by michel maurette » Fri Mar 15, 2013 1:30 am

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
.

User avatar
Admin
Posts: 486
Joined: Wed Nov 30, 2011 9:49 am

Re: 9dof sensor breakout

Post by Admin » Fri Mar 15, 2013 9:45 am

Hi friend,

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

michel maurette
Posts: 3
Joined: Tue Mar 12, 2013 8:02 am

Re: 9dof sensor breakout

Post by michel maurette » Tue Mar 19, 2013 1:27 am

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

User avatar
techsupport
Site Admin
Posts: 210
Joined: Sat Mar 03, 2012 2:32 pm

Re: 9dof sensor breakout

Post by techsupport » Tue Mar 19, 2013 10:42 am

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
Your real trustworthy partner in China!!
Email: forum@geeetech.com

michel maurette
Posts: 3
Joined: Tue Mar 12, 2013 8:02 am

Re: 9dof sensor breakout

Post by michel maurette » Tue Mar 19, 2013 6:53 pm

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

john22
Posts: 1
Joined: Wed Jan 14, 2015 7:42 pm

Re: 9dof sensor breakout

Post by john22 » Wed Jan 14, 2015 7:46 pm

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
asad

wallace
Posts: 1
Joined: Thu Jan 15, 2015 2:11 pm

Re: 9dof sensor breakout

Post by wallace » Thu Jan 15, 2015 3:05 pm

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.

Post Reply