User Tools

Site Tools


testing_i2c_wiring

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
testing_i2c_wiring [2019/10/07 23:29] – [How it works] telltesting_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.  If the cable can be removed and tested seperately, do that first using the "ohms" To see if the i2c port is alive, and getting properly conveyed to the other end of a cable, one can grab a multimeter.  If the cable can be removed and tested seperately, do that first using the "ohms"
-or "continuity" function.  Be sure to check for shorts between wires as well as continuity of each wire from end to end.+or "continuity" function.  Be sure to check for shorts between wires as well as continuity of each wire from end to end.  Also be sure to visually inspect the cable, looking for damaged pins, or pins not fully inserted into the connector housing.
  
 We can also test the far end of i2c cable, to see if we can "see" the RoboRIO through the cable. We can also test the far end of i2c cable, to see if we can "see" the RoboRIO through the cable.
  
-* Set the digital multimeter to read DC voltage or "volts" +  * Set the digital multimeter to read DC voltage or "volts" 
-* 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 "3.3v" terminal.  Expect to see about 3.3 volts, plus or minus a tenth of a volt or so. +  * Touch the red (positive) meter lead to the "3.3v" terminal.  Expect to see about 3.3 volts, plus or minus a tenth of a volt or so. 
-* 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