Budget Friendly Aut...
Clear all

Budget Friendly Auto Bed Leveling for Ender 5

1 Posts
1 Users
Member Admin
Joined: 5 years ago
Posts: 101
Topic starter  

We are back again with another budget friendly auto bed leveling solution; this time around we install it on the Ender 5! It's basically the same kit but we have to print different parts and the assembly is just a little different. We will be basing our kit on the Hero Me Gen5 cooling system, and some people have expressed concern of print quality for these, as well as being able to use PETG for temperature resistance. There is a good alternative, called Treatstock! We recommend having the parts you need or are most worried to print made of ABS from a company on treatstock; that way you are guaranteed good results. I don't print ABS often, sometimes I order from there some fan ducts or hot-end mounts.

DISCLAIMER: This kit is designed for someone who is capable of DIY electronics, and requires some basic soldering skills as well as know-how to put things together and 3D print with PETG material on some pieces. Anyway, let's get started with our kit details. First, let's get the materials out of the way.

What's needed to install Capacitive Auto Bed Leveling on Ender 5?

Preparing your Ender 5 for Auto Bed Leveling

If you have a stock Ender 5 main board, we recommend using the TH3D Firmware and enable the EZABL support. A bootloader is required on the stock board; visit the link provided above for the how-to burn a boot loader and upgrade firmware. You will need to use the offsets that are listed in the HeroMe Gen5 PDF file for the mount that you used.

If you have a SKR Mini E3 main board, we recommend using our custom firmware which is already enabled for EZABL and it has the proper offsets for the EZABL_No_Duct_12mm mount. You will need to adjust offsets for your mount. Download the firmware with the link below, and use VSCode with PlatformIO plugin to customize it. Visit the forums for more information on how-to setup VSCode and PlatformIO; and don't be afraid to ask us questions there!

[download id="305"]

Prepare your Auto Bed Leveling Kit

Once all of your parts arrive, it's time to start preparing for installation. The first task you have to perform is to modify the 12v Optocoupler into a 24v Optocoupler by removing the current resistor at R1, and replacing it with a 4.7k Ohm resistor. This is quite simple, we recommend just snipping the old resistor at the base of the PCB and while holding your soldering iron to the pads push the new ones through the holes which will remove the old leads.

After you have modified the Optocoupler with the new 4.7k ohm resistor, it's time to wire it up. We will attach the capacitive sensor leads as shown in the diagram below, two wires will need to be used here which will terminate on the stock Ender 5 power supply. You will also need to decide if you are going to use dupont cables or cut and solder onto your Z endstop wires. Attach everything as shown. (Photo by

You will need to get the V+ and V- power from the PSU on the right side of the printer. It has a few screws to remove, and open the bottom cover to get to them. The screws to the left of the RED + BLACK wires that go out through the bottom of the cover will give you 24V DC to power your sensor with. I recommend crimping some spade terminals on the end of the wire that will attach to the PSU so they are secured in the screw clamps.

Once you have your Octocoupler wired up, I suggest using a Digital Multimeter (DMM) on the Sensor Output pins. I always take the Capacitive sensor and manually trigger it; Once it triggers you should see the light on the octocoupler light up, and the voltage on the sensor output pins go to 0v. When you pull the sensor away from trigger, it should increase voltage (but never exceed 5v) and switch back and forth as you re-trigger it. Do this a few times to verify you won't fry the board.

Installing the ABL Sensor and Verifying Operation

Now that everything is wired up and ready, let's go ahead and install the mount onto the HeroMe Gen5 gantry plate by first threading some bolts through the mount, and then run them through the spacer that you printed. This will prevent the mount from hitting the belt, as it interferes with the mount due to how it attaches to the gantry. Then thread the screws into the gantry plate (your nuts should be in place already) and install the ABL sensor into the mount. You want to get the sensor within 5mm from the bed when the nozzle is touching it, you will adjust sensitivty later.

After everything is put together and zip-tied up; it's time to test and verify that it's working!

The next step you want to do is to check if the endstop is properly being recognized by your
Make sure you have your Z endstop wire connected with the jumper wires.
Start by moving the Z up until the light on the sensor and the octocoupler turn off.
Next, connect to your printer over your preferred slicer (or Octoprint) and issue an M119 and
see if the Z_min is showing TRIGGERED or open.
If it shows open place your finger or an object under the sensor so the light comes ON and then
issue M119 again. If it shows TRIGGERED then proceed to setting your sensor sensitivity.
If it does not then reverse the 2 endstop wires.

Next you will need to adjust the sensitivity of the sensor, so you should set your nozzle and temps to the highest you will use while printing. You will run your Z axis all the way down until the nozzle is just touching the bed; Then use your MOVE AXIS option in the PREPARE menu of your printed LCD to move the axis up 2mm. This is the position you want the sensor to trigger, and if the LED is not lit up on the octocoupler and sensor, use a small flat head screwdriver to adjust the sensitivity screw on the sensor clockwise until it lights up.

Do NOT change the sensitivity if you are getting different heights between prints due to
temperature changes. This should be handled by the ZOffset and/or BabyStepping the Z
height. Under normal conditions at most you should only have to occasionally Babystep
about 0.1-0.2mm. If you are getting more than that please contact our support to go through
more advanced troubleshooting steps. Large babystep changes are usually related to a
physical machine issue if M48 is returning a consistent reading under 0.01mm.

Lastly, you will need to setup your Z Offset; Some people just do this on the LCD screen and choose to "Store Settings" after they have. You will usually have to babystep for the first layer on almost every print. See the section below from TH3D.

I HIGHLY recommend you watch the video as it is much easier to see what to do. Here is a video
on how to set the Z Offset:
Now that we have the sensor installed and calibrated you need to set your Z Offset. This is the
distance the printer needs to move the head down to place it on the bed after the sensor
To set your Z Offset heat the bed to your normal print temp and do a G28 to home the sensor.
Your EZABL™ sensor should be in the middle of the bed. Let it sit there for 5 minutes after the
bed has reached its target printer temperature. After homing the Z will show 5mm. This is NOT
included in the ZOffset. Move Z down 5mm before proceeding.
What you will do now is grab a sheet of standard paper and then move the nozzle down by
0.1mm until it just grabs the paper. Once you do that you can look at your printer LCD and note
the number that the Z shows. This will be a negative number. That is what your Z Offset is.

Thanks to TH3D and for doing most of the hard work, we just wanted to apply our own remix to the ABL scene! As always, have questions or problems leave us a comment and we will help you to the best of our ability! Once it's all done.. hit the print button and enjoy results!

Business IT Solutions -
Plastic Process Engineering

Scroll to Top