Cheap-O (the sub $2 magnetic endstop)

by hmeyer, published

Cheap-O (the sub $2 magnetic endstop) by hmeyer Jun 3, 2012


This is the simplified DIY version of a magnetic endstop. Instead of using a hall effect sensor and some logic, it uses a hall switch. So the board is much simpler.
PLUS - it has a control LED.

Cheap-O in action: youtube.com/watch?v=smRay_nAUWA

Update: Improved STL for super slim design.

Recent Comments

view all

if you flip the magnet it stops working entirely.

Perhaps the magnetic pole affects the switch? ie flip the magnet?

I have +5 at the side opposite the LED, and Ground at the center, as per the datasheet. However, it appears that the TLE is fine with negative Vs, so swapping things around would also work.

In my final version, I connected the LED resistor to +5 rather than ground, and reversed the LED, which gave it the expected behavior.

More from 3D Printer Parts

view more


Liked By

view all

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag


Get a TLE4905 (for about 1 EUR), 2 x 4.7 nF caps, a LED, 1.2kOhm and 3.3kOhm resistors and a tiny piece of strip board pcb (I needed 7 strips by 5 holes).
Drill 2 3 mm holes.
Solder according to photos and schematic.
Glue a magnet to your axis (I used 3 mm neodym cubes).

enjoy your cheap and accurate endstop.


You must be logged in to post a comment.

raldrich on Sep 11, 2012 said:

Am I reading it wrong, or does your schematic have the resistor values swapped?

raldrich on Sep 12, 2012 said:

I built a couple, with the resistors changed around, and they seem to work so far, except for one thing that I don't understand.

In your video, the LED comes on when the magnet approaches the sensor.

With mine, the LED goes off when the magnet approaches the sensor. Should I care?

hmeyer on Sep 12, 2012 said:


hmeyer on Sep 12, 2012 said:

Oh. You are correct. I'll have to correct that.

aubenc on Jun 4, 2012 said:

I love it!

looks like you forgot the capacitors in the instructions 8-) no problem, we can see them in the pics and schematics.

Thank you for sharing this!

hmeyer on Jun 4, 2012 said:

Thank you. Just added the caps.