If your FIS tacho device doesn,t requires too much current at the inputs the opto is the solution ( remember that the signal is inverted. in other words when pic pin is low the output is high) I have separated the two grounds, but they can be common.
If on the other hand you will require more current at the input then use the second solution which uses two transistors.
Cheers
Al.
Bookmarks