gopal_amlekar
Junior Member level 1
- Joined
- Jun 14, 2009
- Messages
- 17
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,283
- Location
- Pune, India
- Activity points
- 1,468
Hi,
I want to interface a shaft encoder to a MCU. Now the shaft encoder operates at 12V while the MCU at 5V. The best way I thought, is to use a digital opto-coupler so the input diode is connected to shaft encoder output signals and optocoupler output is connected to MCU.
I am confused in connection of shaft encoder to the optocoupler input diode.
The encoder has a differential signal output (driven internally by 26LS31). Specifications of the shaft encoder are **broken link removed**.
So what I am thinking is connect the non-inverted (K1, for e.g.) output to Anode of optocoupler diode through a resistor and connect the inverted (K1 bar) output of encoder to the cathode of optocoupler diode.
Is it the right way to interface differential signals? Or I should use two different optocouplers for this purpose?
Can anyone please advise?
Thanks....
I want to interface a shaft encoder to a MCU. Now the shaft encoder operates at 12V while the MCU at 5V. The best way I thought, is to use a digital opto-coupler so the input diode is connected to shaft encoder output signals and optocoupler output is connected to MCU.
I am confused in connection of shaft encoder to the optocoupler input diode.
The encoder has a differential signal output (driven internally by 26LS31). Specifications of the shaft encoder are **broken link removed**.
So what I am thinking is connect the non-inverted (K1, for e.g.) output to Anode of optocoupler diode through a resistor and connect the inverted (K1 bar) output of encoder to the cathode of optocoupler diode.
Is it the right way to interface differential signals? Or I should use two different optocouplers for this purpose?
Can anyone please advise?
Thanks....