testing_i2c_wiring
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| testing_i2c_wiring [2019/10/07 23:29] – [How it works] tell | testing_i2c_wiring [2022/02/03 09:08] (current) – tell | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| To see if the i2c port is alive, and getting properly conveyed to the other end of a cable, one can grab a multimeter. | To see if the i2c port is alive, and getting properly conveyed to the other end of a cable, one can grab a multimeter. | ||
| - | or " | + | or " |
| We can also test the far end of i2c cable, to see if we can " | We can also test the far end of i2c cable, to see if we can " | ||
| - | * Set the digital multimeter to read DC voltage or " | + | |
| - | * connect the black (negative) meter lead to the ground pin of the i2c cable | + | * connect the black (negative) meter lead to the ground pin of the i2c cable |
| - | * Touch the red (positive) meter lead to the " | + | * Touch the red (positive) meter lead to the " |
| - | * Then, touch the red lead to SCL. Expect to read about 3.3v here also. | + | * Then, touch the red lead to SCL. Expect to read about 3.3v here also. |
| - | * Repeat for SDA. We also expect to read 3.3v here. | + | * Repeat for SDA. We also expect to read 3.3v here. |
| Why 3.3v on the SCL and SDA data pins? The RoboRIO has a [[pullup resistor]] on each of those pins which weakly connect them to the 3.3v supply when they are not otherwise pulled low. If we can see that voltage, the wire is likely connected. | Why 3.3v on the SCL and SDA data pins? The RoboRIO has a [[pullup resistor]] on each of those pins which weakly connect them to the 3.3v supply when they are not otherwise pulled low. If we can see that voltage, the wire is likely connected. | ||
testing_i2c_wiring.1570505381.txt.gz · Last modified: 2019/10/07 23:29 by tell
