Library for connecting an Absolute Encoder to Particle Electron

It would be great if someone can point me to a library to connect Absolute Rotary Encoder to Particle Electron. The encoder provides the rotational direction and number of rotations.

The encoder can use any of these protocols

  1. Ethernet/IP
  2. PROFIBUS DP
  3. PROFINET IO/RT
  4. PROFINET IO/RT Class B
  5. SSI

Thanks

Pari

Hi @pari

I would choose the SSI interface which is a bit-serial shift-register type of interface similar to SPI or i2c (but not compatible with either of them). I quickly searched and found some code at the end of this thread in the Arduino forum that might help you:

http://forum.arduino.cc/index.php?topic=156812.0

1 Like