3

I need to use the ID_SD and ID_SC pins for a ultrasonic sensor. Is this possible?

I am already using SDA and SCL for i2c communication so disabling the i2c bus in raspi-config is not an option.

This stackexchange post sheds some light on it but seems to suggest it might be possible. Does anyone have any input on this? Thank you.

Shoumik
  • 33
  • 1
  • 4

1 Answers1

1

As far as I am aware you will be fine provided

  1. You are not using a HAT which is configured via ID_SD and ID_SC.
  2. You are not using a Pi3 or if you are using a Pi3 you will not be using the ID_SD or ID_SC GPIO in I2C mode.

The Pi3 uses I2C bus 0 for internal purposes. Setting the ID_SD and ID_SC GPIO as I2C will confuse I2C bus 0.

joan
  • 71,852
  • 5
  • 76
  • 108