Grand Central M4 i2c problem
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- enauman
- Posts: 17
- Joined: Sat Dec 26, 2020 12:16 am
Grand Central M4 i2c problem
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.
- adafruit_support_carter
- Posts: 29189
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Grand Central M4 i2c problem
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.
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.
Please be positive and constructive with your questions and comments.