Hot answers tagged

4

The limiting factor is the bus capacitance. This is the limit of the total capacitance of the bus from all devices connected to it plus the capacitance of the wires used. It is also affected by the value of the pullup resistors. The limit, according to the specifications, is 400pF. An Arduino has an input capacitance of 10pF. So ignoring the wires that's ...


2

Seems like the module has a defect, since the same code on another board produces the expected output on the I2C lines


2

I think what you're seeing is the result of: lcd.print(lcdtext); and the fact that lcdtext is not null-terminated. print() is expecting a string, that is some sequence of zero or more non-'\0' characters followed by a '\0' character. Not having null-terminated it yourself, in practice it will continue reading memory after your the location of lcdtext in ...


2

PCF8574 takes around 256us to update pins (at standard 100khz i2c). This too high compared to hx711 sck timing constraint which is 50us max. So, it's not possible to communicate with hx711 using PCF8574. wasted two days in finding out this.


1

There may be a couple of issues to consider: In the 6050 specification we see that the 6050 can be configured to show up at address 0x68 or 0x69. In the photo there appears to be no connection to a pin (AD0?) which may control the 6050 address. The code appears to expect the 6050 at address 0x68. (Note: The board the 6050 comes on may already deal with ...


1

The number is as many as you want. There are switches that allow you to select different busses and each buss supports its full complement. From my point you are trying to use a solution before you have defined the problem fully. I have a feeling they will not be within a few inches of each other so consider an alternative designed for this type of use. CAN,...


1

In an ideal world you would have your other sensor on a separate I2C bus. It can be done with software, but chances are you will have to re-write the library that supports it to use bit-banged I2C. Yes, you could use an I2C MUX to share the single hardware I2C channel, however that will both be awkward and the results will be sub-optimal anyway. Most I2C MUX ...


Only top voted, non community-wiki answers of a minimum length are eligible