From RepRap
Revision as of 07:31, 12 December 2018 by Byro (talk | contribs) (Typo: devise to device)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Crystal Clear action run.png

Release status: working

Hall effect endstop sensor
Attribution - ShareAlike
CAD Models
see files
External Link


The Hall-O is a 32mm long Hall Effect Sensor PCB that reacts to magnetic forces.

It is a non-contact proximity sensing device, which measures the distance to a magnet.

Therefore it is ideally suited as a precise endstop device.

It is powered by 5V DC, and has dual output (analog and digital).

When the magnetic field gets stronger, the output of the sensor will go to either Vmax or GND (south or north pole) in a linear way.

With a magnet of 3mm in diameter and 2mm thick(3x2), the reaction starts at approx. 4mm and reaches Vmax at approx 1.5mm distance to the sensor.

For up to date information, follow my blog

Price for complete Hall-O € 9,- (soldered, incl. 1m Cable and magnet)

Price for Hall-O DIY kit € 7,- (incl. 1m Cable and magnet)

Price for only Hall-O PCB € 3,50

For purchasing or more information, please contact MaukCC, or one of the resellers.

All parts are licensed under Attribution - ShareAlike.

Analog output

The analog output comes straight from the sensor and is (when no magnetic force is applied) 2,5V.

When the south pole of a magnet approaches the sensor, the voltage will go up to Vcc.

When the north pole of a magnet approaches the sensor, the voltage will go down to GND.

If the Hall-O is used as an endstop device, 1 unit can be used for min and max endstop.

This can be done by applying a north pole to one side, and a south pole to the other.

Digital output

Digital output only works with south pole magnetics.

When the output voltage becomes greater than the Vref, the Digital output will go from 5V to GND.

Vref is regulated by a potentiometer.

Normally R2=22K and R5=10K, and Vref will give a range from 1 to 6 mm of the hall sensor.

When R2=82K and R5=47K, Vref will give a range from 3 to 4 mm of the hall sensor. So 1 turn of the potentiometer will have a higher resolution

Board images







The holders for mendel and Cartesio are found at Thingiverse

Parts List

Qnty PartNr device Vendor
1 LED1 LED Green 1206
2 R1, R3 560 R1206
3 R5, R7, R9 10K R1206
1 R8 1M R1206
1 R2 22K R1206
1 R6 1K R1206
1 R4 10K TRIMM3314
1 Q1 BC848
1 IC2 A1302UA
1 C1 10uF/16V tant caseA
1 C2 100nF
1 IC3 LM358D
1 Magnet 3x2
1m Cable
1 Hall-Θ PCB MaukCC

For everyone who can not get the A1302UA (RS no. 680-7504), The SS495B should be a direct replacement, but I have not tested this.

Hall-O DIY kit

There is a special page, for the brave that want to solder their Hall-O themselves.

You can find it at the Hall-O DIY kit page.


There is a small magnet in the bag, so be careful when you open it.

First attach the cables to the board.

Cut off 1 mm of insulation and put tin on the wire

Then push the wire through the hole at the pad, from the bottom to the top, and solder it to the pad.


Pushing it through the hole, makes sure the cables do not break from the pad when the cables move/vibrate.

Cut the cable to the desired length.

Solder the connector that comes with your "motherboard" to the cable coming from the Hall-O.

Download the Hall-O holder of choice at Thingiverse

Mount the holder to the Hall-O (The distance between the mounting holes is 17mm) and to the machines frame with M3(or M4 for Cartesio) bolts.

You probably want the sensor at a 90 degree angle from the board, since this is where you are going to measure.

Mount it at about 3mm distance from the place where you actually want the Axis to stop.

The sensor should be at 3mm distance from a plastic printed part.

Now to get to the interesting part: mounting the supplied magnet.

Make a mark on the plastic printed part nearest to the sensor.

Drill a hole of 3mm 2mm deep.

Make the hole a bit soft by holding a (hot) soldering iron to it, and push the magnet into the hole.

Do NOT hold the hot soldering iron to the magnet, or you will be left with a round metal piece.(which is a dead magnet)

You can also just use some glue to attach the magnet.

For digital application make sure the south-pole* is facing outward, otherwise the whole thing will do nothing and you have to take the magnet out again, which is a pain, I can tell you.

  • You can test which side is south-pole by holding the magnet to the Hall-O sensor, 1 side of the magnet will engage the LED, and 1 side will not.(The Hall-O must be powered)


Connect the connector to the "motherboard".

Make sure in the firmware the endstop is set to invert, because it switches from 5V to GND.

It is not required to have pullup resistors enabled in your firmware, because they are on the board it self.

If it is already enabled, leave it, it will not interfere.

For digital application you can now fine tune where the axis should stop by turning the potentiometer on the Hall-Θ.


If your motherboard is the Sanguinololu, make sure the endstop link on the bottom is soldered.


See Generation_6_Electronics#Hall-Θ