MPL115A2 i2c to rPi stopped working

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
vkocjancic
 
Posts: 4
Joined: Tue Sep 20, 2022 4:04 pm

MPL115A2 i2c to rPi stopped working

Post by vkocjancic »

Hi.

I have connected MPL115A2 barometer to rPi. Connected VDD to 3.3V output, GND to GND, SCL to GPIO3 (SCL) on pi and SDA on GPIO2 (SDA) on pi.
It worked fine and it's address was 0x60. I tinkered with driver a bit, because my program is in C and your driver is C++ compatible only. Got some data off of module, albeit I think it was not exact (but that was a matter of more tinkering). I shut down the pi and disconnected the board with MPL115A2. Today, when I started it up, it doesn't want to recognize module via i2cdetect. I tried disabling i2c and enabling it again. To no awail. I restarted rPi numerous times. It detects your MMA8451 just fine on 0x1D address, but it does not detect MPL115A2 on 0x60 anymore.

I have re-soldered and re-checked all connections. I have checked, if there is contact between GPIOs and the MPL115A2 chip on your board and there is. Have I somehow bricked the chip and is it possible to recover?

Best regards,
Vlad

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

Re: MPL115A2 i2c to rPi stopped working

Post by adafruit_support_carter »

Today, when I started it up, it doesn't want to recognize module via i2cdetect.
To be clear here - address 0x60 is not showing up? But the expected address for the MMA8451 does show up?

User avatar
vkocjancic
 
Posts: 4
Joined: Tue Sep 20, 2022 4:04 pm

Re: MPL115A2 i2c to rPi stopped working

Post by vkocjancic »

Hi.

I have two I2C modules. One is MPL115A2 and the other is MMA8451. A day ago, both showed up on i2cdetect. MPL115A2 on address 0x60 and MMA8451 on 0x1D.

Now, MPL115A2 is not detected at all, but MMA8451 is still on 0x1D.

As mentioned, I have checked every pin of a main chip on MPL115A2 against GPIO on rPi. All have contact with the board. I re-soldered everything because I thought it was a loose connection, but that apparently wasn't it.

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

Re: MPL115A2 i2c to rPi stopped working

Post by adafruit_support_carter »

If you post a photo of your setup, we can look for any obvious hardware issues. Not showing up in an I2C scan would have nothing to do with the custom C driver. And it was originally working. So seems like something happened.

User avatar
vkocjancic
 
Posts: 4
Joined: Tue Sep 20, 2022 4:04 pm

Re: MPL115A2 i2c to rPi stopped working

Post by vkocjancic »

The only thing that I can think of is that I somehow accidentally short circuited the module with my fingers or something.

I have attached two images. On showing board from top, the other from the bottom. Blue line is GND, red line is 3.3V, yellow line is SDA and red line is SCL.
The board mounts directly to rPi GPIO.
Attachments
back
back
1663790847481.jpg (414.59 KiB) Viewed 53 times
front
front
1663790847491.jpg (348.74 KiB) Viewed 53 times

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

Re: MPL115A2 i2c to rPi stopped working

Post by adafruit_support_carter »

If connections have been checked and all seem good, no shorts, etc. then unknown. But accidental short would be a likely candidate unfortunately. It's at least not corrupting the I2C bus and preventing the MMA from reporting.

Linking these as possible options for making these kind of Pi specific assemblies:
https://www.adafruit.com/product/3203
https://www.adafruit.com/product/2314

User avatar
vkocjancic
 
Posts: 4
Joined: Tue Sep 20, 2022 4:04 pm

Re: MPL115A2 i2c to rPi stopped working

Post by vkocjancic »

Cheers. I hoped that I could avoid that one. Anyway... already ordered another two modules from local distributer. Just in case.

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

Return to “Other Products from Adafruit”