I picked up two of the LSM9DS0 breakout boards.
One of them registers "30-40" C (whereas the actual temperature is more like 80 degrees F)
And, because this was weird i swapped it out for the other board, which reports 78-79 - which leads me to assume its outputting in F rather than C.
Any ideas?
Using the default libraries linked to the product page.
LSM9DS0 Temperature Oddity
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: LSM9DS0 Temperature Oddity
Could you post clear pictures of your board, any soldering you did and the connections to it?
Could you post your code and a description or drawing of your connections between it all? Please use the code button "</>" in the button bar when posting code to the forums.
Could you post your code and a description or drawing of your connections between it all? Please use the code button "</>" in the button bar when posting code to the forums.
- elegant_bowl
- Posts: 1
- Joined: Sat Jul 26, 2014 12:43 pm
Re: LSM9DS0 Temperature Oddity
I have encountered the same problem. The "sensorapi.ino" outputs the following when monitoring the serial output:
It says that the temperature is around 43°C but the temperature on the surface of the board is 28°C at max. BTW: The BMP180 gets the temperature right.
See this image for setup:
Code: Select all
LSM9DS0 9DOF Sensor Test
Found LSM9DS0 9DOF
------------------------------------
Sensor: LSM9DS0_A
Driver Ver: 1
Unique ID: 1001
Max Value: 0.00 m/s^2
Min Value: 0.00 m/s^2
Resolution: 0.00 m/s^2
------------------------------------
------------------------------------
Sensor: LSM9DS0_M
Driver Ver: 1
Unique ID: 1002
Max Value: 0.00 uT
Min Value: 0.00 uT
Resolution: 0.00 uT
------------------------------------
------------------------------------
Sensor: LSM9DS0_G
Driver Ver: 1
Unique ID: 1003
Max Value: 0.00 rad/s
Min Value: 0.00 rad/s
Resolution: 0.00 rad/s
------------------------------------
------------------------------------
Sensor: LSM9DS0_T
Driver Ver: 1
Unique ID: 1004
Max Value: 0.00 C
Min Value: 0.00 C
Resolution: 0.00 C
------------------------------------
Accel X: -0.08 Y: 0.02 Z: 0.95 m/s^2
Magn. X: 0.47 Y: 0.25 Z: 0.36 gauss
Gyro X: -0.65 Y: 1.60 Z: -0.75 dps
Temp: 43.00 *C
**********************
See this image for setup:
- adafruit2
- Posts: 22194
- Joined: Fri Mar 11, 2005 7:36 pm
Re: LSM9DS0 Temperature Oddity
Yknow, i dont know much about the temperature sensor but it may be something in the library code. I'd say if you need good precise temp, use the BMP180 which is sold as a temp sensor rather than the LSM which is really sold as a 9DOF with an extra temp sensor
Please be positive and constructive with your questions and comments.