Hello SparkFun team,
I am having problems with the MPL3115A2: https://www.sparkfun.com/products/11084
I believe the 5 digit code is: 11084
I am trying to use it measure altitude.
I am running the test code from the website and it is hooked up using the instruction from this guide: https://media.digikey.com/pdf/Data%20Sh … pGuide.pdf
I have been working with an Arduino Uno so I have hooked VCC up to 3.3v and added 1k resistor between SCL and A5 and SDA and A4 as instructed. Even without the resistors or connecting to 5V like some comments below the product page have suggested, it did not work.
I have previously asked on the Arduino Forum and I was told I might have broken the sensor. Following this advice I ordered a new one. When I first connected it, it worked fine for about 2 minutes until, after I moved the board slightly across the table, it went back to -999 readings. I then fiddled with the wires a bit (moved them around a bit) and it worked for another 20 seconds. Funnily enough, while the new board was working I also tried attaching the old one which started giving me proper readings again. Since then I haven’t been able to get either one to work.
Here are some things I have tried:
-
Soldered pins to the board to ensure there is not physical connection error
-
Changed the resistor strength (According to different sources)
-
Run a I2C connection test code (Result: Not found)
-
Swapped out the Arduino Uno board for a different one
-
Tested the GY-521 (which also uses I2C) to check whether the I2C is worked (It worked)
Arduino Forum Post:
https://forum.arduino.cc/t/sparkfun-mpl … 99/1034493
False readings (-999):
Is there anything you can think of?
Thanks in advance
Nick