Changes

Jump to navigation Jump to search
Line 306: Line 306:     
  Make Notes!!
 
  Make Notes!!
 +
 +
===How do I connect things at the Raspberry Pi End for an MCP23017?===
 +
 +
The I2C connection requires only two wires 2nd the Raspberry Pi is specifically designed to accept an I2C connection on Pins 3 (SDA Data) & Pin 5 (SCL Clock).
 +
 +
Also Two Interrupt lines are also required and these can be any pin address in the webconf drop down.  It defaults to
 +
 +
{| class="wikitable"
 +
|+ Raspberry Pi GPIO Pins
 +
|-
 +
! Odd Pins !! Function !! Function !! Even Pins
 +
|-
 +
|  Pin 1 || <span style="color:#FFFFFF; background:#aa5500">3v3 Power</span> || <span style="color:#FFFFFF; background:#ff0000">5v0 Power</span> ||  Pin 2
 +
|-
 +
|  Pin 3  || <span style="color:#FFFFFF; background:#aa9900">I2C SDA Data Pin</span> || <span style="color:#FFFFFF; background:#ff0000">5v0 Power</span> || Pin 4
 +
|-
 +
|  Pin 5  || <span style="color:#FFFFFF; background:#aa9900">I2C SCL Clock Pin</span>  || <span style="color:#FFFFFF; background:#000000">0v Ground</span> || Pin 6
 +
|-
 +
|  Pin 7  || - || - || Pin 8
 +
|-
 +
|  Pin 9  || <span style="color:#FFFFFF; background:#000000">0v Ground</span> || - || Pin 10
 +
|-
 +
|  Pin 11  || - || - || Pin 12
 +
|-
 +
|  Pin 13 || - || <span style="color:#FFFFFF; background:#000000">0v Ground</span> || Pin 14
 +
|-
 +
|  Pin 15 || - || - || Pin 16
 +
|-
 +
|  Pin 17 || <span style="color:#FFFFFF; background:#aa5500">3v3 Power</span> || - || Pin 18
 +
|-
 +
|  Pin 19 || - || <span style="color:#FFFFFF; background:#000000">0v Ground</span> || Pin 20
 +
|-
 +
|  Pin 21 || - || - || Pin 22
 +
|-
 +
|  Pin 23 || - || - || Pin 24
 +
|-
 +
|  Pin 25 || <span style="color:#FFFFFF; background:#000000">0v Ground</span> || - || Pin 26
 +
|-
 +
|  Pin 27 || - || - || Pin 28
 +
|-
 +
|  Pin 29 || - || <span style="color:#FFFFFF; background:#000000">0v Ground</span>  || Pin 30
 +
|-
 +
|  Pin 31 || - || - || Pin 32
 +
|-
 +
|  Pin 33 || - || <span style="color:#FFFFFF; background:#000000">0v Ground</span>  || Pin 34
 +
|-
 +
|  Pin 35 || - || <span style="color:#FFFFFF; background:#aa9900">MCP23017 INT-A Pin</span>  || Pin 36
 +
|-
 +
|  Pin 37  || <span style="color:#FFFFFF; background:#aa9900">MCP23017 INT-B Pin</span> || -|| Pin 38
 +
|-
 +
|  Pin39  ||  <span style="color:#FFFFFF; background:#000000">0v Ground</span> || - || Pin 40
 +
|}
 +
 
=== Connecting via the GPIO Pins. ===
 
=== Connecting via the GPIO Pins. ===
  
1,019

edits

Navigation menu