Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

I2C problems
#1
Photo 

Good evening all. I've managed to build a 4Pro transmitter PCB which basically works. I can't say soldering SMD devices is easy, but with a headband magnifier and a good work vice it is manageable. Just be careful not to sneeze or the components will disappear  Smile
However there seems to be a problem with the I2C bus. On startup, the transmit LED only flashes 5 times then hangs. Looking at the serial monitor it fails to read or send the temperature/humidity data (SHT31). If I disable the T0 and T1 options in config options the system continues sending all the other data, and the test i2c detect sketch does not find any devices. If I fit the same arduino nano to an old Pro 2 Tx board with the same SHT31 it works perfectly, even with just the USB input as power.
On the 4Pro board the SCLOCK bus is high at 5v but the SDAT is only around 3 volts. Looking at the schematic, I would expect SDAT to be normally high 5V. I've checked the 4K7 pullup R6 and it is correct. Could the problem be one or more faulty I2C bus extender chips (IC3/4)perhaps? It's obviously not a dead short. Any other ideas before I start trying to isolate the SDA input pins on the bus extenders? Thank you.
Devon Sun
Reply
#2

Hi Devon Sun

Congratulations for having finnished building your new 4Pro TX unit.

What happens if you connect the SHT31 to the normal I2C port and not to the I2C extended port? Does the i2c detect sketch find it?
The I2C extended ports should be used with the I2C extend circuit (one of two the small PCB's suplied together with the TX board) on the other end.

Waiting to hear from you.

Rgs.
Werk_AG

Reply




Users browsing this thread: 1 Guest(s)