Analog Hall Effect Magnetic Sensor Module Arduino Compatible
ARD2-2235
$3.95
QTY | Price |
---|---|
1 | $3.95 |
Description
This Arduino compatible Analog Hall Effect Magnetic Sensor Module is used to detect the relative strength of a magnetic field. It uses a Hall Effect Magnetic Sensor to differentiate between the North and South pole of the magnet.
This Analog Hall Effect Magnetic Sensor Module consists of three pins. The sensor must be connected to GND and 5V of the Arduino board. The output voltage is measured by analog pin A5 on the Arduino board. The strength of the field is given by an analog voltage at the signal pin of the module. The output of the module increases in the presence of a magnetic field and it decreases in the absence of a magnetic field. By using a potentiometer, you can adjust the sensitivity of the sensor.
The example program measures the output voltage of the sensor and presents the measured value in the serial monitor of the Arduino. The LED on the board flashes at a speed dependent on the strength of the magnetic field. This can be demonstrated with a small magnet.
Test Code
int sensorPin = A5; // select the input pin
int ledPin = 13; // select the pin for the LED
int sensorValue = 0; // variable to store the value coming from the sensor
void setup () {
pinMode (ledPin, OUTPUT);
Serial.begin (9600);
}
void loop () {
sensorValue = analogRead (sensorPin);
digitalWrite (ledPin, HIGH);
delay (sensorValue);
digitalWrite (ledPin, LOW);
delay (sensorValue);
Serial.println (sensorValue, DEC);
}
Features
- Analog magnetic sensor module and a digital interface
- Built-in 13 LED build a simple circuit to produce a magnetic flash
- Black PCB board, made of flame retardant epoxy resin material
Specifications
Working Voltage
DC 5V
Material
Printed circuit board (PCB)
PCB Board Material
Flame retardant epoxy resin
Standard Forward Voltage
3.0–4.5V
Current
8mA
Colour
Black
Dimensions
Chip Length
18 mm
Chip Width
15 mm
Overall Length
25 mm
Overall Width
15 mm
You Might Also Like
All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.