Search
Filters
Close

Cal Magnetic Sensor

Detect magnetic fields. Great for your robot finding unseen targets.
SKU: 45-2306
$14.95
Sensor Type
Three Wire Analog Sensor
Dimensions
32 mm x 32 mm x 5 mm
Mounting Holes
24 mm x 24 mm, 4mm
Power
5 V DC, 3 mA
Signal Logic Levels
Analog 0 V - 5 V

Cable not included

The Magnetic 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 0 to 680 where 340 indicates no magnetic field.

Sensor Type
Three Wire Analog Sensor
Dimensions
32 mm x 32 mm x 5 mm
Mounting Holes
24 mm x 24 mm, 4mm
Power
5 V DC, 3 mA
Signal Logic Levels
Analog 0 V - 5 V

Cable not included

The Magnetic 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 0 to 680 where 340 indicates no magnetic field.

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