The device and the module must have a common ground. Connect the open collector output to the Dx terminal.