Log distance Signal

BTW, using an opto coupler can prevent ground loop problems.

A 6N137/138 is a good choice.