-1
\$\begingroup\$

I'm having an issue with my (Adafruit opensource knockoff) Arduino 9 DOF sensor.

It hangs at start, when calling the begin-functions.

I'm running it on an Arduino Nano (5v version).

I have tried to run the sensor from 3.3v source and the 5v source connected to VIN on the sensor.

I have swapped out both the Arduino Nano and the sensor, but the issue persists.

Skipping the begin functions doesn't work either; I'll get 0-results.

The sensors are Chinese clones. I wouldn't be surprised if one was broken, but I find it odd that both would be.

I'm followed the tutorial from the Adafruit page and implemented the tester.pde from the 9 DOF github.

Edit: I'm going to try tomorrow to change the wires. I've been burnt before because of faulty breadboard wires.

Edit: No luck with switching wires. I'm beginning to believe these boards are cursed and I should switch them to another brand.

\$\endgroup\$

closed as unclear what you're asking by Dmitry Grigoryev, Olin Lathrop, Michel Keijzers, laptop2d, Lior Bilia May 9 '18 at 16:19

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ Do you have a schematic? Are all relevant pins strapped to a known state on power on? PUs on SDA/SCL obviously, but any other pins that float? \$\endgroup\$ – Krunal Desai Apr 27 '18 at 1:40
0
\$\begingroup\$

Apparently it was the library that was at fault. I switched from the Adafruit one to:

https://github.com/pololu/l3g-arduino/

https://github.com/pololu/lsm303-arduino

and now I get actual values that seem to be in an expected range.

\$\endgroup\$
  • \$\begingroup\$ The question doesn't mention neither which hardware the OP has, nor which libraries whey are using. What makes you think their problem is similar to yours? \$\endgroup\$ – Dmitry Grigoryev Apr 27 '18 at 10:25
  • \$\begingroup\$ I'm sorry, I'm OP. Apparently I logged in to the wrong account, or something else is going wrong. I don't recall every making an account called DariusJoe.. \$\endgroup\$ – DariusJoe Apr 27 '18 at 16:08
  • \$\begingroup\$ Sorry for the confusion. \$\endgroup\$ – LongLog Apr 27 '18 at 16:11
  • \$\begingroup\$ Also there's only 1 Adafruit 9 DOF sensor AFAIK, and I even put the chipset in the title. \$\endgroup\$ – LongLog Apr 27 '18 at 16:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.