T tzfpg Active Member Licensed User Longtime User May 20, 2021 #1 Hi, I follow this post https://www.b4x.com/android/forum/threads/i2c-address-scanner.75815/#content using esp32 to scan i2c address, but can't find the address. I connect ds1307 sda to esp32 pin 21 and scl to pin 22, but fail to find address. But I use wemos d1 or arduino uno can found address 0x68. Anyone using esp32 with ds1307 before? How can solve this problem?
Hi, I follow this post https://www.b4x.com/android/forum/threads/i2c-address-scanner.75815/#content using esp32 to scan i2c address, but can't find the address. I connect ds1307 sda to esp32 pin 21 and scl to pin 22, but fail to find address. But I use wemos d1 or arduino uno can found address 0x68. Anyone using esp32 with ds1307 before? How can solve this problem?
janderkan Well-Known Member Licensed User Longtime User May 20, 2021 #2 I2C on Esp32 works flawlessly also with DS1307. Do you know that IO21 is on pin 33 and IO 22 is on pin 36 on this module ? What module do you have ? Attachments 1621495516520.png 265.9 KB · Views: 286 Last edited: May 20, 2021 Upvote 0
I2C on Esp32 works flawlessly also with DS1307. Do you know that IO21 is on pin 33 and IO 22 is on pin 36 on this module ? What module do you have ?
T tzfpg Active Member Licensed User Longtime User May 20, 2021 #3 janderkan said: I2C on Esp32 works flawlessly also with DS1307. Do you know that IO21 is on pin 33 and IO 22 is on pin 36 on this module ? View attachment 113742 What module do you have ? Click to expand... yes, I know. my model same as picture. I connect on pin 33 and 36. Upvote 0
janderkan said: I2C on Esp32 works flawlessly also with DS1307. Do you know that IO21 is on pin 33 and IO 22 is on pin 36 on this module ? View attachment 113742 What module do you have ? Click to expand... yes, I know. my model same as picture. I connect on pin 33 and 36.
rbghongade Active Member Licensed User Longtime User May 20, 2021 #4 Are you using a breakout board for DS1307? If not check for the pull-up resistors on SDA and SCL lines. Upvote 0
Are you using a breakout board for DS1307? If not check for the pull-up resistors on SDA and SCL lines.
T tzfpg Active Member Licensed User Longtime User May 21, 2021 #5 I connect without using breakout board and pull-up resistor. It is we need to used pull-up resistor in order to used DS1307? How many Kilo Ohm pull-up resistor I needed for 5v power? Upvote 0
I connect without using breakout board and pull-up resistor. It is we need to used pull-up resistor in order to used DS1307? How many Kilo Ohm pull-up resistor I needed for 5v power?
rbghongade Active Member Licensed User Longtime User May 21, 2021 #6 Please use 4.7K resistors as pull up resistors. Upvote 0