Product Description:
Specifications:
Specification | Value |
---|---|
Sensor Type | Hall Effect |
Output | Analog |
Power Supply | 3.3V - 5V |
Output Voltage | Proportional to magnetic field strength |
Mounting | Through-hole or surface mount |
Dimensions | Approximately 32mm x 14mm |
Features:
- Linear Output: Provides an analog output voltage proportional to the magnetic field strength.
- High Sensitivity: Detects even weak magnetic fields.
- Small Size: Compact module for easy integration into projects.
- Wide Applications: Ideal for speed sensing, position sensing, and proximity detection.
How To Use:
Using the KY-024 Hall Effect Sensor Module with Arduino:
Required Components:
- Arduino board (e.g., Uno, Nano)
- KY-024 Hall Effect Sensor Module
- Jumper wires
- Magnet (for testing)
Wiring:
- Power: Connect the +5V pin of the module to the 5V pin of the Arduino.
- Ground: Connect the GND pin of the module to the GND pin of the Arduino.
- Output: Connect the AO pin of the module to an analog pin on the Arduino (e.g., A0).
Arduino Code:
C++
const int hallSensorPin = A0; void setup() { Serial.begin(9600); } void loop() { int sensorValue = analogRead(hallSensorPin); Serial.println(sensorValue); delay(100); }
Explanation:
- Analog Read: The analogRead() function reads the analog voltage from the hall sensor pin and returns a value between 0 and 1023.
- Serial Output: The code prints the sensor value to the Serial Monitor.
Package Includes:
1x KY-024 Linear Magnetic Hall Sensor Module