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 ...
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.
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
i2c × 711arduino-uno × 203
wire-library × 71
arduino-nano × 60
lcd × 50
sensors × 49
arduino-mega × 41
serial × 38
communication × 36
spi × 32
mpu6050 × 32
esp32 × 29
attiny × 28
esp8266 × 27
c × 23
accelerometer × 21
arduino-ide × 19
display × 19
pins × 18
interrupt × 17
c++ × 16
nodemcu × 16
raspberrypi × 16
programming × 15
arduino-due × 15