# Capacitive Auto-Leveling on TAZ 5

**URL:** <https://forum.lulzbot.com/t/capacitive-auto-leveling-on-taz-5/1730>\
**Category:** Hardware\
**Created:** [May 8, 2015, 3:36pm UTC](https://forum.lulzbot.com/t/capacitive-auto-leveling-on-taz-5/1730 "2015-05-08T15:36:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![vitormhenrique](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.lulzbot.com/vitormhenrique/32/9222_2.png) [@vitormhenrique](https://forum.lulzbot.com/u/vitormhenrique)\
**Post date:** [May 8, 2015, 3:36pm UTC](https://forum.lulzbot.com/t/capacitive-auto-leveling-on-taz-5/1730/1 "2015-05-08T15:36:16Z")

</div>

Guys,

This was my approach of automating the bed leveling of lulzbot taz 5.

I created a small [probe holder](http://www.thingiverse.com/thing:816452) and used a 12mm capacitive proximity sensor.

 ![IMG_0880.JPG](https://us1.discourse-cdn.com/flex020/uploads/lulzbot/original/2X/1/18ac872eb971ab87e119324d6ef6637eeaacca8f.jpeg)  
I’m using an OMRON E2K-X4ME1 Proximity Sensor, Capacitive, 12mm, NPN, NO it is more expensive than other sensors, but I’m getting super reliable measures and it is working great.

I did not test it using 5V, the rambo board inside TAZ have a spare +24v output, and there are plenty empty pins on the original z-axis cable to pass +24V to the sensor. I’m using an Opto-isolator to connect the sensor to the endstop. I made a small board with proper molex connectors and heatshrinked everything. I prefer using a proper 24V instead of running the sensor on a not “supported” condition, and using a small and cheap Opto-isolator is perfect to protect your printer.

 ![IMG_0883.JPG](https://us1.discourse-cdn.com/flex020/uploads/lulzbot/original/2X/3/3d964ec919bc9c477906d1df2596af639c090996.jpeg)  
The schematics of the circuit is pretty simple:  
 ![Opto-isolator.jpg](https://us1.discourse-cdn.com/flex020/uploads/lulzbot/original/2X/7/730894754dbd737d0fae0f07b62a4b48e66dc824.jpeg)  
I’ll post more details and information tonight.

---

_[View the full topic](https://forum.lulzbot.com/t/capacitive-auto-leveling-on-taz-5/1730)._
