Grand Central M4 i2c problem

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
enauman
 
Posts: 17
Joined: Sat Dec 26, 2020 12:16 am

Grand Central M4 i2c problem

Post by enauman »

I didn't study the pinouts carefully enough on my GC Express M4 and used pins 20 & 21 as output pins while also connecting a barometric sensor to the i2c pins. The sensor wasn't working properly and eventually I discovered that 20 & 21 are connected to the SCL and SDA pins. I changed my pin assignments but the sensor still doesn't work properly, it provides readings for maybe a minute and then stops. I got another bmp180 sensor thinking I had damaged the first and that one doesn't work properly either. Could I have damaged the i2c pins by using them as output pins? I would like to know if that's likely before I go and get another GC.

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

Re: Grand Central M4 i2c problem

Post by adafruit_support_carter »

Most likely not. Or, hopefully not. Not if incorrect pins were connected to the sensor's SCL/SDA.

The Grand Central M4 pinout is here for reference:
https://learn.adafruit.com/adafruit-gra ... al/pinouts

A good way to sanity check the I2C connection is to run an I2C scan:
https://learn.adafruit.com/scanning-i2c ... s/overview
and verify the expected sensor address shows up.

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

Return to “Metro, Metro Express, and Grand Central Boards”