Originally Posted by
maxspongebob
From Amazon:
Module Interface Description
VCC: Positive power supply, 3.3 V to 5 V
GND: Negative power supply
DO: Digital signal output
AO: Analong signal output
All you need to do, is hook the VCC Pin to +5V DC, Connect GND to ground, and DO is the digital output that you would connect to your BOB on one of the digital inputs.
No need for the AO pin as that is an analog signal. You don't need that.
Also, then mount a magnet on the machine where you want the switch to trigger. I would expect that the Output of the module DO will go low (zero volts) when the magnet gets close to the sensor. When it is not close, it should be high (5 volts). Also, it looks like the module has 2 LED's on it so you can tell then the magnet has triggered the sensor.