I2C with pullups #11292
Replies: 3 comments 3 replies
-
SoftI2C may be your answer. The reason for pullups on I/O pins is usually connected with the boot process, but you'd need to study the chip datasheet to be sure. |
Beta Was this translation helpful? Give feedback.
-
Did you try to use Pins 2 and 8 for I2C? The ESP32 devices usually allow free assignment of pins. At a ESP32C3 board here, the following statement is accepted: |
Beta Was this translation helpful? Give feedback.
-
GPIO18 is apparently used for serial bootloading as a TX line for UART1. It is a strong design suggestion by Espressifthat this pin be tied to 3.3V to prevent it floating. Their modules include that pullup in the module.
That pullup also affects use of one of the DACs. We were just discussing that over here: adafruit#7871 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to find a small board with pull ups for the I2C lines. The wemos S2 pico has them but the display makes it a bigger board than I would like. The https://www.wemos.cc/en/latest/_static/files/sch_c3_mini_v2.1.0.pdf has a couple of pull ups for I02 & I08 but the I2C is on I010 & I08, similarly the https://www.wemos.cc/en/latest/_static/files/sch_c3_pico_v1.0.0.pdf. Maybe I could use a machine.SoftI2C on I02 & I08?
Does anybody know the purpose of apparently random 10k pull ups on these boards? The one on I018 in https://www.wemos.cc/en/latest/_static/files/sch_s2_mini_v1.0.0.pdf for example?
Beta Was this translation helpful? Give feedback.
All reactions