Hot answers tagged

5 votes
Accepted

I2C sensors not working when I connect to LCD 20X04

Welcome to Stack Exchange! I can spot a few problems with the circuit. As @hcheung said, the I2C pull-up resistors should only be wired between SDA>3.3V and SCL>3.3V (in parallel), not in series ...
user avatar
2 votes

I2C sensors not working when I connect to LCD 20X04

Thank you for all your help. I now realize that I have made the wrong I2C circuits. Then I modified them and now the program and the sensors work perfectly. Here is my circuit now.
user avatar
1 vote

Can't read through I2C from RTC

You are doing things in the wrong order. Wire.beginTransmission(0x68); Wire.write(0x06); Wire.requestFrom(0x68,1); seconds = Wire.read(); ret = Wire.endTransmission(); The request is sent on ...
user avatar
  • 35k
1 vote

Configure Trinket M0 as I2C peripheral

I have two Adafruit Trinket M0 arduino boards running on my bench right now talking to each other over I2C. The trick is that you need to install a pull-up resistor between SDA and +3V, and another ...
user avatar

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