Search
Filters
Close

Magnetic Sensor

Detect magnetic field strength using the Modern Robotics Magnetic Sensor.
SKU: 45-2020
$22.95

The Magnet Sensor detects a magnetic field and returns the strength based on the distance away from the sensor. When the returned value is increasing the sensor is detecting the north pole of the magnet. If the value returned is decreasing then the sensor is detecting the south pole magnet. The sensor value ranges from -340 to +340 where 0 indicates no magnetic field.

Sensor Type: Three Wire Analog Sensor
Dimensions: 32 x 32 x 12 millimeters
Mounting Holes: 24 x 24 millimeters
Power: 5 volts DC, 20 mA max.
Signal Logic Levels: Analog 0 – 5 volts

Magnetic Sensor Moving IMage

PDF

Sensor Documentation

All the information you need about
Modern Robotics Sensors in one document.

PDF File

The Magnet Sensor detects a magnetic field and returns the strength based on the distance away from the sensor. When the returned value is increasing the sensor is detecting the north pole of the magnet. If the value returned is decreasing then the sensor is detecting the south pole magnet. The sensor value ranges from -340 to +340 where 0 indicates no magnetic field.

Sensor Type: Three Wire Analog Sensor
Dimensions: 32 x 32 x 12 millimeters
Mounting Holes: 24 x 24 millimeters
Power: 5 volts DC, 20 mA max.
Signal Logic Levels: Analog 0 – 5 volts

Magnetic Sensor Moving IMage

PDF

Sensor Documentation

All the information you need about
Modern Robotics Sensors in one document.

PDF File

Android Studio Example Program

Download the below program for an example of how to read this Analog sensor. The FTC SDK will supply a value from 0-5 representing a voltage.

In your configuration file, name an Analog Input "light" and name a Core Device Interface Module "Device Interface Module 1"

Android Studio Class MRI_Analog_Example.java