Introduction Hall Effect Switches, Sensors, and Circuits
Hall effect sensors are solid state magnetic sensor devices used as either magnetic switches or to measure magnetic fields. There are three basic types I'm concerned with here: The Hall effect switch, the Hall effect latch, and the ratiometric or analog output sensor. For more on the general operation see my You Tube video above. Here I'm concerned with illustrating various electronic circuits and how to connect the sensors and use them.
A Hall effect switch will turn on in the presence of south magnetic field on its face or north magnetic field on the opposite side. It will turn off when the magnet is removed.
A Hall effect latch works like a switch, but will stay on when the magnet is removed. It will turn off if the north pole is applied to the face or the power is turned off. Below I have the schematic on how to use a Hall switch to make a single pole on/off switch.
A ratiometric Hall effect sensor outputs an analog voltage proportional to the magnetic field intensity. The devices I will use on a separate page are unipolar and in general with no magnetic field applied the output is one-half the supply voltage. The voltage will increase with the south magnetic pole on the face or decrease with the north magnetic pole on the face.
Here we will cover switches and latches that start as ratiometric then add comparators, Schmitt triggers, and output transistors. List below are the specification sheets for the Hall sensors used in my You Tube video.
- Spec. sheets:
- UGN3013 Hall Switch (PDF file)
- TL173C 12-Volt Ratiometric Hall Sensor (PDF file)
- UGN3503 5-Volt Ratiometric Hall Effect Sensor (PDF file)
- Honeywell SS466 Hall Latch (PDF file)
Pictured above are typical pin outs on Hall sensors. The south pole of the magnet goes towards the 'face' turning the device on. The north pole on the face will have no effect unless the device is a latch, which it will turn off if it's already on.
Let's consider a UGN3013T five volt Hall effect switch. To trip the switch on requires typically 500 gauss to a max of 750 gauss. But to release or cut off is a typical 225 gauss to as low as 110 gauss. So we have a reasonable range of 275 that we need to stay in for reliable operation. So it's obvious even a small iron magnet may work well or has to be very close to the sensor. Note this is an old obsolete part I just happened to have. Newer units are much more sensitive.
Pictured above is the internal block diagram of a Hall effect switch in this case a UGN3013T. It includes the Hall plate, an amplifier, Schmitt trigger, and open collector transistor output. Some may use a an open drain MOSFET instead of a bipolar transistor.
Ratiomteric Hall sensor with LM311 comparator forms a Hall effect switch with open collector output form a switch with an adjustable trigger point. Vcc is 5-volts if using sensor such as UGN3502 and 12-volts for a TL174C. This can be directly connected to the input port of a micro-controller or other 5-volt digital logic.
By adding a JK flip-flop to our Hall effect switch in Fig. 3 we form a Hall effect latch. The state of Q and QNOT "flip" with every ON-OFF cycle at TP2.
Fig. 5 show how to use a Hall switch with open-collector/drain output with a CD4027 JK flip-flop to form a latch circuit.
This completes our introduction to Hall effect sensors and circuits.
- Updated-Added Dec. 2014
- Constant Current Circuits with the LM334
- LM317 Constant Current Source Circuits
- Introduction Hall Effect Switches, Sensors, and Circuits
- Using Ratiometric Hall Effect Sensors
- Pulse Width Modulation Power Control for Microcontrollers
- Introduction to PIC12F683 Programming
- Basic Transistor Driver Circuits for Micro-Controllers
- Opto-Isolated Transistor Drivers for Micro-Controllers
- Added Nov. 16, 2014
- ULN2003A Darlington Transistor Array with Circuit Examples
- Tutorial Using TIP120 and TIP125 Power Darlington Transistors
- Driving 2N3055-MJ2955 Power Transistors with Darlington Transistors
- Understanding Bipolar Transistor Switches
- N-Channel Power MOSFET Switching Tutorial
- P-Channel Power MOSFET Switch Tutorial
- H-Bridge Motor Control with Power MOSFETS
- More Power MOSFET H-Bridge Circuit Examples
- Build a High Power Transistor H-Bridge Motor Control
- New YouTube Videos Nov. 2014
- View all of my You Tube Videos
- Using the ULN2003A Transistor Array with Arduino
- Using the TIP120 & TIP120 Darlington Transistors with Arduino
- Using Power MOSFETS with Arduino
- Using PNP Bipolar Transistors with Arduino, PIC
- Using NPN Bipolar Transistors with Arduino, PIC
- How to build a Transistor H-Bridge for Arduino, PIC
- Build a Power MOSFET H-Bridge for Arduino, PIC