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!
Flora LSM9DS0 difficulties
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Flora LSM9DS0 difficulties
Get everything hooked back up to the Flora and post a picture of your setup.
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Flora LSM9DS0 difficulties
OK. Now run this I2C scanner sketch and post the output.
http://playground.arduino.cc/Main/I2cScanner
http://playground.arduino.cc/Main/I2cScanner
- volkerwandering
- Posts: 11
- Joined: Mon Apr 24, 2017 11:46 am
Re: Flora LSM9DS0 difficulties
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
:(
Scanning...
No I2C devices found
Over and over, tested each for 2+ minutes
:(
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Flora LSM9DS0 difficulties
How are you connecting it to the Uno? The Flora version of the breakout is for 3.3V boards only.
- volkerwandering
- Posts: 11
- Joined: Mon Apr 24, 2017 11:46 am
Re: Flora LSM9DS0 difficulties
The 3.3V on the LSM9D0 is connected to the 3.3v on the uno
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Flora LSM9DS0 difficulties
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?
Do you have any other I2C breakout boards?
- volkerwandering
- Posts: 11
- Joined: Mon Apr 24, 2017 11:46 am
Re: Flora LSM9DS0 difficulties
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?
- adafruit_support_carter
- Posts: 29150
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Flora LSM9DS0 difficulties
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?
What do you have in the way test equipment? Multi-meter? Logic probe? Oscope? anything?
- adafruit2
- Posts: 22144
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Flora LSM9DS0 difficulties
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?
where have you seen a bad LSM9DS0 batch? we've never had a bad batch that we know of?
- volkerwandering
- Posts: 11
- Joined: Mon Apr 24, 2017 11:46 am
Re: Flora LSM9DS0 difficulties
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!
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!
- adafruit2
- Posts: 22144
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Flora LSM9DS0 difficulties
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?
did you power the LSM9DS0 from the 5V pin or 3V pin on the UNO?
- volkerwandering
- Posts: 11
- Joined: Mon Apr 24, 2017 11:46 am
Re: Flora LSM9DS0 difficulties
As you can see from above, I had it plugged into the uno via the 3.3V pin.
- volkerwandering
- Posts: 11
- Joined: Mon Apr 24, 2017 11:46 am
Re: Flora LSM9DS0 difficulties
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
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
Please be positive and constructive with your questions and comments.