Fiber Duplex Breakout code examples

Hi All,

Im thinking of misusing the Fiber Duplex Breakout (https://www.sparkfun.com/products/17510) as an optical humidity sensor driver as described in this example:

https://sites.google.com/site/opendevki … ure-sensor

https://docs.google.com/document/d/1vBO … upTjs/edit

However, I know nothing about fiber optics. I see the git link for the breakout is currently broken, is there some chance some example code can be provided in order to understand the interface. I’m particularly interested in the process of measuring the returned light intensity.

Thanks in advance

Hi olboss.

These are just a serial to optical bridge so there’s no code needed, they just do their thing when you pass serial data through them.

It might be possible to hack them to get an analog output, but they are really just setup for digital so I don’t know how well they would perform in detecting the intensity of light.

Ok, thanks for tthe info