Fork me on GitHub

Project Notes

#198 HallEffectSwitch

Using a Hall effect switch (A3144).

The Build

Here’s a quick video of the circuit in action:

HallEffectSwitch

Notes

Hall-effect sensors generally support one of three modes:

  • switch - turn on in the presence of a magnetic field of a specified polarity
  • latch - turn on in the presence of a magnetic field, and stay on until exposed to the reverse polarity
  • linear sensor - output is proportional to the magnetic field strength

A common use for Hall-effect sensors is to detect and measure rotation. A good demonstration of this is to sequence a PoV display as demonstrated in Great Scott’s latest video - HACKED!: Old Fan becomes a POV Display.

The components I have are marked “44E/938” and are nominally compatible with the A3144 or OH3144. These are switches that turn on when facing a south magnetic polarity.

44E938

With the beveled-edges and package markings to the front, the pin-outs from left to right are:

Pin Use
1 VCC
2 Ground
3 Open collector output

The chip is rated for continuous output current of 25mA, so that is sufficient to drive an LED (as demonstrated here). For other switching applications, the output can be used to switch a transistor or pull a microcontroller output low.

It works across a wide supply voltage range of 4.5 to 24 volts - which is very handy!

Since the chip is configured as open collector, the LED and and current-limiting resistor sink into the output pin (rather than be driven by the output pin).

Testing with some neodymium magnets, I get a strong full-on when the south pole of the magnets are within 23mm directly to the front of the chip. The output remains on until I pull back to over 40mm.

Construction

Breadboard

The Schematic

The Build

Credits and References

About LEAP#198 Sensors

This page is a web-friendly rendering of my project notes shared in the LEAP GitHub repository.

Project Source on GitHub Return to the LEAP Catalog
About LEAP

LEAP is my personal collection of electronics projects - usually involving an Arduino or other microprocessor in one way or another. Some are full-blown projects, while many are trivial breadboard experiments, intended to learn and explore something interesting.

Projects are often inspired by things found wild on the net, or ideas from the many great electronics podcasts and YouTube channels. Feel free to borrow liberally, and if you spot any issues do let me know or send a pull-request.

NOTE: For a while I included various scale modelling projects here too, but I've now split them off into a new repository: check out LittleModelArt if you are looking for these projects.

Project Gallery view the projects as an image gallery Notebook reference materials and other notes Follow the Blog follow projects and notes as they are published in your favourite feed reader