Jump to content
  • 0

DAQHAT doesn't connect after implementation of a second i2c bus on raspberry pi


aremund

Question

Hello,

I have troubles with two DAQHATs mcc152.

To read data from to identical temperature sensors I opened a second i2c bus (4 next to 1) on my raspberry pi now with this second i2c bus the daqhats are not responding/connecting anymore. Before everything was working and if I close the second i2c bus, they work again without any  problem. Now I have the question if these daqhats only work with one i2c bus? And if you have any idea how I can use the daqhats with 2 i2c buses?

Thank you already in advance for your help.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Hello Fausto,

Thank you for sending me the other post.

For the second i2c-bus I tried to use the GPIO pins 23/24, 5/6 and 17/27 as far as I can see in the Interface Specifications these pins are not used by the mcc 152.

Nevertheless I get still the same error message:

raise HatError(self._address, "Board not responding.")
daqhats.hats.HatError: Addr 0: Board not responding.

Maybe you can give me another advice.

Best,

Anna

 

Link to comment
Share on other sites

  • 0

Hello @aremund.

Those pins are used by the MCC 152 and should not be shared with other non-MCC DAQ HATs. Take a look at the pinout chart in the following link. 
 


I don’t have an option for you to use a third party HAT with the MCC 152. 

The links I found point a user to using the RPi pins used by the MCC 152. 

https://www.instructables.com/Raspberry-PI-Multiple-I2c-Devices/

https://pinout.xyz/pinout/i2c

What is the other device you are wanting to use with the RPi module and MCC152?


Regards,

Fausto

Link to comment
Share on other sites

  • 0

Hello Fausto,

As far as I can see the mentioned GPIO pins (23/24, 5/6 and 17/27) should be free to use next to the mcc152 daqhat.

Exactly according to the link I sent, I implemented the second I2C bus.

I try to connect 2 mcc152 and two temperature and RH sensors SHT85.

Best,

Anna

Link to comment
Share on other sites

  • 0

I need the second I2C bus because in addition to the daq hats I would like to read two temperature and RH sensors SHT85. And I need the second I2C bus because I cannot read the data from two SHT85 sensors from the same I2C bus.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...