Ethernet RJ45

Table of Contents

  1. Hardware

Hardware

This is the standard RJ45 pinout for Ethernet MDI Jack. To make it easier, Sparkfun offers a RJ45 Breakout Board. the following is for a specific magjack but for all straight through jacks see next section.

Example Bel Stewart MagJack SI-60002-F (no LEDs) and SI-50196-F (has LEDs)

            |   |   |   |         
          --||--||--||--||-----   Socket mbed
        /  8 | 6 | 4 | 2 |    /|       1 TD+
       /    7   5   3   1    / |       2 3.3V
      /                     /  |       3 TD-
     /    Bel Stewart      /   |       4 RD+
    /      MagJack        /    |       5 3.3V
   /     SI-60002-F      /     |       6 RD-
  /___________________  /      |       7 N.C.                                                      
 |      --------       |       |       8 GND                                                      
 |    --        --     |       |                                                               
 | --- |          ---- |      /                                                                
 ||    /--/-/-/-/-/-/-||     /                                 ___                   ________   
 ||   /  8 7 6 5 4 3 2||    /              ________________  -/   \-        ____    |   ____ |  
 ||  /  / / / / / / / ||   /      ,= ,++, /,  ,  ,  ,  ,  ,\|,  ,  ,| ,  , /,  ,| , |,  ,  ,_|  
 || /  / / / / / / / /||  /      ============================================================  
 ||/  ' ' ' ' ' ' ' ' || /        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
 | ------------------- |/         |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
  ---------------------                                               ^  ^  ^  ^                
  Ethernet Socket Front           mbed Board                         TD+TD-RD+RD-               

Straight jacks (No Built-In Magnetics) MDI interface:

            |   |   |   |         
          --||--||--||--||-----   Socket mbed
        /  8 | 6 | 4 | 2 |    /|       1 TD+
       /    7   5   3   1    / |       2 TD-
      /                     /  |       3 RD+
     /                     /   |       4 
    /                     /    |       5
   /                     /     |       6 RD-
  /___________________  /      |       7                                                       
 |      --------       |       |       8                                                       
 |    --        --     |       |                                                               
 | --- |          ---- |      /                                                                
 ||    /--/-/-/-/-/-/-||     /                                 ___                   ________   
 ||   /  8 7 6 5 4 3 2||    /              ________________  -/   \-        ____    |   ____ |  
 ||  /  / / / / / / / ||   /      ,= ,++, /,  ,  ,  ,  ,  ,\|,  ,  ,| ,  , /,  ,| , |,  ,  ,_|  
 || /  / / / / / / / /||  /      ============================================================  
 ||/  ' ' ' ' ' ' ' ' || /        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
 | ------------------- |/         |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
  ---------------------                                               ^  ^  ^  ^                
  Ethernet Socket Front           mbed Board                         TD+TD-RD+RD-               

Please note that other brands and references might not match the above, as is the case with Han Run HY911103A

            |   |   |   |         
          --||--||--||--||-----   Socket mbed
        /  8 | 6 | 4 | 2 |    /|       1 TD+
       /    7   5   3   1    / |       2 TD-
      /                     /  |       3 3.3V
     /     Han Run         /   |       4 GND
    /      MagJack        /    |       5 GND
   /      HY911103A      /     |       6 3.3V
  /____________________ /      |       7 RD+                                
 |      --------       |       |       8 RD-
 |    --        --     |       |
 | --- |          ---- |      / 
 ||    /--/-/-/-/-/-/-||     /                                 ___                   ________   
 ||   /  8 7 6 5 4 3 2||    /              ________________  -/   \-        ____    |   ____ |  
 ||  /  / / / / / / / ||   /      ,= ,++, /,  ,  ,  ,  ,  ,\|,  ,  ,| ,  , /,  ,| , |,  ,  ,_|  
 || /  / / / / / / / /||  /      ============================================================  
 ||/  ' ' ' ' ' ' ' ' || /        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
 | ------------------- |/         |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
  ---------------------                                               ^  ^  ^  ^                
  Ethernet Socket Front           mbed Board                         TD+TD-RD+RD-               

Please note that other brands and references might not match the above, as is the case with Han Run HR911105A and ERNI 203198 (has LEDs)

            |   |   |   |         
          --||--||--||--||-----   Socket mbed
        /  8 | 6 | 4 | 2 |    /|       1 TD+
       /    7   5   3   1    / |       2 TD-
      /                     /  |       3 RD+
     /     Han Run         /   |       4 3.3V
    /      MagJack        /    |       5 3.3V
   /      HR911105A      /     |       6 RD-
  /____________________ /      |       7 N.C.                                
 |      --------       |       |       8 GND
 |    --        --     |       |
 | --- |          ---- |      / 
 ||    /--/-/-/-/-/-/-||     /                                 ___                   ________   
 ||   /  8 7 6 5 4 3 2||    /              ________________  -/   \-        ____    |   ____ |  
 ||  /  / / / / / / / ||   /      ,= ,++, /,  ,  ,  ,  ,  ,\|,  ,  ,| ,  , /,  ,| , |,  ,  ,_|  
 || /  / / / / / / / /||  /      ============================================================  
 ||/  ' ' ' ' ' ' ' ' || /        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
 | ------------------- |/         |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
  ---------------------                                               ^  ^  ^  ^                
  Ethernet Socket Front           mbed Board                         TD+TD-RD+RD-               

Please note that other brands and references might not match the above, as is the case with Sparkfun PRT-08534

            |   |   |   |         
          --||--||--||--||-----   Socket mbed
        /  8 | 6 | 4 | 2 |    /|       1 TD+
       /    7   5   3   1    / |       2 TD-
      /                     /  |       3 3.3V
     /     Sparkfun        /   |       4 N.C.
    /      MagJack        /    |       5 N.C.
   /      PRT-08534      /     |       6 3.3V
  /____________________ /      |       7 RD+                                
 |      --------       |       |       8 RD-
 |    --        --     |       |  NOTE: GND is done through the shield pins
 | --- |          ---- |      / 
 ||    /--/-/-/-/-/-/-||     /                                 ___                   ________   
 ||   /  8 7 6 5 4 3 2||    /              ________________  -/   \-        ____    |   ____ |  
 ||  /  / / / / / / / ||   /      ,= ,++, /,  ,  ,  ,  ,  ,\|,  ,  ,| ,  , /,  ,| , |,  ,  ,_|  
 || /  / / / / / / / /||  /      ============================================================  
 ||/  ' ' ' ' ' ' ' ' || /        |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
 | ------------------- |/         |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |    
  ---------------------                                               ^  ^  ^  ^                
  Ethernet Socket Front           mbed Board                         TD+TD-RD+RD-               

All wikipages