Flora LSM9DS0 difficulties

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
volkerwandering
 
Posts: 11
Joined: Mon Apr 24, 2017 11:46 am

Flora LSM9DS0 difficulties

Post by volkerwandering »

I've been struggling for a few hours getting the LSM9DS0 to give me ANY readings. I've hooked everything up to my flora just like in the tutorial, sense all the DOFs: https://learn.adafruit.com/adafruit-lsm ... -breakouts
I've also tried hooking my up to my arduino uno, with the same results.

In my serial, all it says is: LSM9DS0 9DOF Sensor Test
(for sensorapi)
and:
LSM raw read demo
(for lsm9dotest)
No readings whatsoever :( Just sits there with those messages.

When I try with sparkfun's LSM9DS0 libraries, I receive readings that look promising, but they don't change with movement :(

I've tried a number of example codes, connections, and combinations between the Flora and Uno, and am at a loss as to how to make this sensor work. Any pointers would be greatly appreciated!

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Flora LSM9DS0 difficulties

Post by adafruit_support_carter »

Get everything hooked back up to the Flora and post a picture of your setup.

User avatar
volkerwandering
 
Posts: 11
Joined: Mon Apr 24, 2017 11:46 am

Re: Flora LSM9DS0 difficulties

Post by volkerwandering »

999.jpg
999.jpg (535.11 KiB) Viewed 1164 times

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Flora LSM9DS0 difficulties

Post by adafruit_support_carter »

OK. Now run this I2C scanner sketch and post the output.
http://playground.arduino.cc/Main/I2cScanner

User avatar
volkerwandering
 
Posts: 11
Joined: Mon Apr 24, 2017 11:46 am

Re: Flora LSM9DS0 difficulties

Post by volkerwandering »

Both the flora and arduino uno give me the same sad message for the flora LSM9DS0:

Scanning...
No I2C devices found

Over and over, tested each for 2+ minutes
:(

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Flora LSM9DS0 difficulties

Post by adafruit_support_carter »

How are you connecting it to the Uno? The Flora version of the breakout is for 3.3V boards only.

User avatar
volkerwandering
 
Posts: 11
Joined: Mon Apr 24, 2017 11:46 am

Re: Flora LSM9DS0 difficulties

Post by volkerwandering »

The 3.3V on the LSM9D0 is connected to the 3.3v on the uno

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Flora LSM9DS0 difficulties

Post by adafruit_support_carter »

The SCL/SDA lines from the Uno will still operate at 5V. So by hooking it up to the Uno it's possible you've damaged the LSM9DS0. And since all the lines are soldered to the Flora, it might not be happy either.

Do you have any other I2C breakout boards?

User avatar
volkerwandering
 
Posts: 11
Joined: Mon Apr 24, 2017 11:46 am

Re: Flora LSM9DS0 difficulties

Post by volkerwandering »

I don't think I've damaged it by hooking it up to the uno. I tried for a good hour with the flora, trying out example codes and various libraries, before attempting to use an uno. The results with the LSM9DS0 BEFORE using the uno are the same as after. I have no other 12C's to test with it. After combing through the forums for hours I think I may just have a bad board, as it seems this there have been some bad LSM9DS0 batches. If you have no other suggestions for me to try how do I go about getting a refund/exchange?

User avatar
adafruit_support_carter
 
Posts: 29150
Joined: Tue Nov 29, 2016 2:45 pm

Re: Flora LSM9DS0 difficulties

Post by adafruit_support_carter »

Since the SDA and SCL pass straight through to the Flora, I'm concerned hooking it to the Uno could've damaged the Flora's I2C ports. So the next thing to do would be to test with some other I2C device. Otherwise no way of knowing for sure if a replacement LSM9DS0 will work.

What do you have in the way test equipment? Multi-meter? Logic probe? Oscope? anything?

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: Flora LSM9DS0 difficulties

Post by adafruit2 »

well if the same LSM9DS0 doesn't work with either the UNO or the FLORA it doesn't seem to imply the flora is broken
where have you seen a bad LSM9DS0 batch? we've never had a bad batch that we know of?

User avatar
volkerwandering
 
Posts: 11
Joined: Mon Apr 24, 2017 11:46 am

Re: Flora LSM9DS0 difficulties

Post by volkerwandering »

The bad batch idea came from these forum posts:

LSM9DS0 Flora Board -- Magnetometer Spinning viewtopic.php?f=19&t=79960
&
this one: LSM9DS0 SENSOR NOT RECOGNIZED viewtopic.php?f=51&t=112579&p=562985&hi ... S0#p562985

I have a multi meter, how should I test the LSM9D0? I've done a continuity test, so I know my soldering is secure.

I think it should be clearer on the bottom of your page here: https://learn.adafruit.com/adafruit-lsm ... s/overview
as to how much power the Flora LSM9D0 can handle. Having the breakout version and the flora version on the same learning page, could be confusing to others. The breadboard version can handle 3-5 volts, but I guess the flora LSM9D0 can only handle 3 volts? I feel like this information should be more prominent, and warning that although the uno port says 3.3 volts it actually outputs 5 volts. I also want to state, again, prior to hooking up the Flora LSM9D0 to the uno, I hooked it up to the flora, and it wasn't giving me any results. I hooked it up to the uno as a last resort!

User avatar
adafruit2
 
Posts: 22144
Joined: Fri Mar 11, 2005 7:36 pm

Re: Flora LSM9DS0 difficulties

Post by adafruit2 »

there is no way to test an LSM9DS0 with a multimeter and regardless if it was powered from 5V its very likely broken now :)
did you power the LSM9DS0 from the 5V pin or 3V pin on the UNO?

User avatar
volkerwandering
 
Posts: 11
Joined: Mon Apr 24, 2017 11:46 am

Re: Flora LSM9DS0 difficulties

Post by volkerwandering »

As you can see from above, I had it plugged into the uno via the 3.3V pin.

User avatar
volkerwandering
 
Posts: 11
Joined: Mon Apr 24, 2017 11:46 am

Re: Flora LSM9DS0 difficulties

Post by volkerwandering »

Alrighty I guess I will just buy a new LSMDSO module from somewhere else, I'm really dissatisfied with this forum's support thread.

The other module I purchased from you guys, the spy camera :https://www.adafruit.com/product/3202
turned out really well however!

https://medium.com/@volkerwandering/ada ... 93b7488a76

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”