IMPORTANT The VCC and the Ground need to be shared by both circuits, otherwise the communication won't work.
You could opto-isolate them instead:
http://www.standardics.nxp.com/products/p82b/datasheet/p82b96.pdf
More information about formatting options
Shared VCC isn't required
IMPORTANT The VCC and the Ground need to be shared by both circuits, otherwise the communication won't work.
You could opto-isolate them instead:
http://www.standardics.nxp.com/products/p82b/datasheet/p82b96.pdf