Close
0%
0%

PiHat SFP "encoder"

cheap access to SFP eeprom and DOM data from a raspberry Pi

Similar projects worth following
this project is a small PCB "piHat" design to interface the I2C bus of SFP and SFP+ modules with a raspberry Pi.
Basic I2C tools from raspbian will permit to read or write the eeprom data

(Please note that this project is NOT fiber optic network interface. just a cheap way to edit the internal data of the optic module)

This project is inspired from this

http://eoinpk.blogspot.fr/2014/05/raspberry-pi-and-programming-eeproms-on.html

Some basic software is available from this site.

sfpflashV3.tar.gz

PCB manufacturing Gerber Files

force-download - 7.88 kB - 05/04/2017 at 12:28

Download

specification-SFP.pdf

lots of technical data about SFP and the eeprom content.

octetstream - 946.21 kB - 05/03/2017 at 23:29

Preview

  • 3 × 10K Resistor SMD 1206 case
  • 1 × SFP cage and connector RS Components order code 896-7469 and 896-7471
  • 1 × 100nF Capacitor SMD 1206 case
  • 1 × 40pin 2lines 2.54" female header. exemple RS Components order code 254-6182
  • 1 × 60x30mm double layer PCB Can be manufactured from the plans but I still have some PCB available.

View project log

  • 1
    Step 1

    One hole of the metal cage is misplaced.

    You just have to cut or bend this pin and it will be ok.

View all instructions

Enjoy this project?

Share

Discussions

Matthew Nielsen wrote 05/05/2022 at 22:46 point

I hope you don't mind, I've uploaded your Gerber files to a git repo and renamed them so they are usable with online fabs such as OshPark: https://github.com/xunker/pihat_sfp_encoder_gerbers . I didn't see any licensing information here, and if you would like me to remove the repo I am happy to.

  Are you sure? yes | no

PcDwarf wrote 05/09/2022 at 15:11 point

no problem, this is a free design.

consider its licence to be Creative Commons CC-BY

  Are you sure? yes | no

Joe wrote 07/15/2021 at 07:04 point

Do you know if by reading the information of the SFF GPON transceiver I can obtain the distance traveled by the fiber? to detect faults? 

  Are you sure? yes | no

PcDwarf wrote 05/09/2022 at 15:13 point

as far as i know, no it can't, but maybe some SFP will have proprietary extension allowing it.

  Are you sure? yes | no

jgarland wrote 08/29/2017 at 18:22 point

I used your code to read the data from the SFF GPON transceiver module in the Adtran device that my phone company uses to terminate my gigabit internet service. I cracked open the Adtran TA-324 and soldered on a header for the I2C interface and plugged my raspberry pi into it. https://paste.ubuntu.com/25424322/

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates