Site icon Circuit Ideas for You

Hall Effect Sensor Circuit with IC LM393

In this post Hall Effect Sensor Circuit with IC LM393 is used to detect magnetic field.

It gives output when a magnet comes near.

The module uses LM393 comparator to give digital output.

It is used in motor speed detection, position detection and security systems.

Circuit Working:

Parts List:

ComponentValueQuantity
Resistors1k 1/4 watt6
Potentiometer 10k 1
CapacitorsCeramic 0.1μF2
SemiconductorsIC Comparator LM3931
Any LED2
Hall Effect Sensor Module1
4 pin Connector1

The Hall sensor has three pins.

Pin 1 VCC, Pin 2 GND, Pin 3 OUT.

Sensor gives small voltage change when magnetic field is near.

This voltage is compared inside LM393 comparator.

The comparator compares sensor signal with reference set by 10k potentiometer.

If sensor signal is higher than reference then comparator output changes the state.

LED DO glows when magnet is detected.

Another LED PWR shows power supply.

Formulas:

Comparator output depends on input voltage difference.

Vout = High if Vin+ > Vin-

Vout = Low if Vin+ < Vin-

Reference voltage set by potentiometer is:

Vref = (R2 / (R1 + R2)) * Vcc

here,

For example with 10k pot and Vcc = 5V

Vref can be adjusted between 0V and 5V.

Output current for LED = (Vcc – Vf) / R

So the resistor controls how much current flows through the LED.

How to Build:

To build a Hall Effect Sensor Circuit with IC LM393 follow the below mentioned steps:

Conclusion:

Hall Effect Sensor Circuit with IC LM393 is easy to use.

It detects magnet presence.

Output is digital and analog.

Sensitivity can be adjusted with potentiometer.

Circuit is useful for motor speed, magnetic switches and automation projects.

References:

Hall effect sensor

Exit mobile version