Magnetic Sensor
Last updated
Last updated
This sensor can detect magnetic field, it returns a digital value,
Returns 0 when a magnetic field is detected, otherwise returns 1.
Voltage: 3.3V~5V
Type: Digital Module
Interface: 3Pin PH2.0
Connect the sensor to Robotbit Shield’s 3Pin port.
Connect the sensor to Robotbit’s pin and 3V pin.
Reading the sensor value
Reading the sensor value