Difference between revisions of "I2c bus"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
| + | = Wiring = | ||
| + | <pre> | ||
| + | Color i2cbus Raspberry Pi | ||
| + | yellow SCL GPIO 3 / SCL (Pin 5) | ||
| + | orange SDA GPIO 2 / SDA (Pin 3) | ||
| + | Red VCC / V 3,3V (pin 1) | ||
| + | Black GND GND (Pin 6) | ||
| + | </pre> | ||
| + | = How many devices on the bus? = | ||
https://www.bluedot.space/tutorials/how-many-devices-can-you-connect-on-i2c-bus/ | https://www.bluedot.space/tutorials/how-many-devices-can-you-connect-on-i2c-bus/ | ||
= Pull up resistor calculation = | = Pull up resistor calculation = | ||
Revision as of 10:14, 7 February 2020
Wiring
Color i2cbus Raspberry Pi yellow SCL GPIO 3 / SCL (Pin 5) orange SDA GPIO 2 / SDA (Pin 3) Red VCC / V 3,3V (pin 1) Black GND GND (Pin 6)
How many devices on the bus?
https://www.bluedot.space/tutorials/how-many-devices-can-you-connect-on-i2c-bus/
Pull up resistor calculation
Stackoverflow
Ti.com
Therefore,we can selectany available resistor value between 966.667Ωand 1.77kΩ. The valueof the pull up resistor can be selected basedon the trade-off for the power consumption and speed.