The resistor divider is a nice trick and would work if the device actually is a switch. However, the data sheet says that the output is "digital, high in air", that the operating voltage range is 5-12V and that there is reverse polarity protection. So, it seem likely that the device is NOT just a switch but has some internal electronics.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16