1
\$\begingroup\$

I have an incremental rotary encoder (Bournes-EMS22Q) that I would like to have available on a wired network via RJ45 or via serial TTL (we have a serial-to-ethernet converter we can use Netburner SBL2E). This seems like a fairly simple problem however the more I look into it the more complex it gets, there doesn't seem to be an off-the-shelf solution and it looks like I'll have to make something myself.

Has anyone come across this problem before? How can I get from the encoder output (5 pin) to serial/ethernet?

I'm now looking at a chip-level solution using this 32-bit Quaderature Counter which gives me an SPI output but how do I go from SPI in this case to serial TTL/Ethernet? Will I need to use a microcontroller?

Is there a magical hardware component that I'm missing? Any recommendations on how to solve this problem greatly appreciated.

\$\endgroup\$
3
  • 1
    \$\begingroup\$ your question has nothing to do with IOT \$\endgroup\$
    – jsotola
    Commented Apr 28, 2020 at 18:58
  • \$\begingroup\$ I guess.... but I need to be able to access its output over a network \$\endgroup\$
    – AVD
    Commented Apr 28, 2020 at 19:41
  • \$\begingroup\$ it seems to me that your question is about using a microcontroller to read the signals from the rotary encoder ... what you do with the data afterwards is a separate issue \$\endgroup\$
    – jsotola
    Commented Apr 28, 2020 at 19:54

1 Answer 1

2
\$\begingroup\$

You need a microcontroller and custom firmware to read and interpret the encoder then transmit the message over serial. In essence, you have to do it manually. No magic pre-packaged solution.

If unfamiliar with microcontrollers, you can try a PICAXE or Arduino.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks, I've been going crazy trying to find a prepackaged solution. Looks like I'll need to bite the bullet and get my hands dirty. \$\endgroup\$
    – AVD
    Commented Apr 28, 2020 at 19:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.