

The Hall Effect Current Sensor is a device that measures the current flowing through a conductor by detecting the magnetic field generated by the current. It provides an electrical output proportional to the current, enabling precise and non-invasive current measurement. These sensors are widely used in applications requiring current monitoring, protection, and control.








Below are the general technical specifications for a typical Hall Effect Current Sensor. Note that specific models may vary, so always refer to the datasheet of the exact sensor you are using.
The Hall Effect Current Sensor typically comes with three or more pins. Below is a general pinout description:
| Pin | Name | Description |
|---|---|---|
| 1 | Vcc | Power supply input (3.3V or 5V, depending on the sensor model). |
| 2 | GND | Ground connection. |
| 3 | Vout | Analog output voltage proportional to the measured current. |
| 4 | (Optional) NC | Not connected or reserved for additional features (varies by model). |
Power the Sensor:
Connect the Conductor:
Read the Output:
Below is an example of how to interface a Hall Effect Current Sensor with an Arduino UNO to measure current.
// Example code for interfacing a Hall Effect Current Sensor with Arduino UNO
// This example assumes a sensor with a sensitivity of 66mV/A and a 5V supply.
const int sensorPin = A0; // Analog pin connected to the sensor's Vout
const float sensitivity = 0.066; // Sensor sensitivity in V/A (66mV/A)
const float Vcc = 5.0; // Supply voltage to the sensor
const float zeroCurrentVoltage = Vcc / 2; // Output voltage at 0A (midpoint)
void setup() {
Serial.begin(9600); // Initialize serial communication
}
void loop() {
int sensorValue = analogRead(sensorPin); // Read the analog value from the sensor
float voltage = sensorValue * (Vcc / 1023.0); // Convert ADC value to voltage
float current = (voltage - zeroCurrentVoltage) / sensitivity;
// Calculate current in Amperes
Serial.print("Current: ");
Serial.print(current, 2); // Print current with 2 decimal places
Serial.println(" A"); // Append unit
delay(500); // Wait for 500ms before the next reading
}
No Output or Incorrect Readings:
Output Voltage Does Not Change:
Noisy Output Signal:
Temperature Drift:
Q: Can I use the Hall Effect Current Sensor to measure AC current?
A: Yes, Hall Effect Current Sensors can measure both AC and DC currents. Ensure your circuit and microcontroller can handle the sensor's output signal.
Q: How do I calculate the current from the sensor's output voltage?
A: Use the formula:
Current (A) = (Vout - Vzero) / Sensitivity
Where Vout is the sensor's output voltage, Vzero is the output voltage at 0A, and Sensitivity is the sensor's sensitivity in V/A.
Q: Can I use this sensor with a 3.3V microcontroller?
A: Yes, as long as the sensor supports a 3.3V supply and the output voltage range is compatible with the microcontroller's ADC input.
Q: What happens if the current exceeds the sensor's range?
A: The sensor may saturate, and the output voltage will no longer be proportional to the current. Prolonged overcurrent may damage the sensor. Always choose a sensor with an appropriate current range for your application.