<p>I am not entirely familiar with the ANET A8 electronics, but it's very unlikely it's any different from how any other mainboard works, so any instructions that work for RAMPS should work for your board as well.</p>
<p>The sensor you linked to has an operating voltage range of &quot;6V to 36V&quot;. However, the endstop connectors (on any mainboard I've come across) only provide 5V - not enough for the sensor to work. You could verify that this is also the case for your ANET board with a multimeter.</p>
<p>(Assuming the colour coding is standard) you'll need to connect the black wire to GND, the red wire to 12V, and the yellow wire <strong>through a diode</strong> to the signal pin of the endstop connector. The anode of the diode should connect to the signal pin and the cathode to the wire coming from the sensor.</p>
<p>The diode is required, because otherwise the 12V signal from the sensor will damage your electronics, which can only accept 5V. Any ordinary diode will do (for instance 1N4148). You should enable endstop pullups in your firmware when using this method (though if your board already has physical pullups this is not necessary but won't hurt either).</p>
<p>Note that if the sensor is inductive, it will also need an appropriate (metal) surface to trigger off. Unfortunately, it is not clear from the product description what type of sensor you have bought, and (amusingly) gearbest doesn't know either:</p>
<blockquote>
<p>Question:</p>
<p>Hello, is this Sensor capazitiv or induktiv? Thank you verry much.</p>
<p>Reply:</p>
<p>It is an auto leveling sensor for 3D printers</p>
</blockquote>

CC BY-SA 3.0
2017-01-29T09:54:31.537Z
I believe its a non-standard mainboard from a firmware point of view, and people seem to be changing the firmware when they use this inductive sensor. I know when I switched to an opto sensor, I needed to invert the signal to the mainboard.
Sean Houlihane
CC BY-SA 3.0
2017-01-07T23:02:55.660Z
2017-01-07T23:02:55.660Z
2020-06-18T08:29:41.667Z
Tom van der Zanden
<p>You will have to:</p>

<ol>
<li><p>Find and print something on Thingiverse to mount sensor;</p></li>
<li><p>Change firmware to Skynet and change the offset values accordingly, in order for the new sensor to recognize the bed.</p></li>
</ol>

<p>There is official Facebook page of Anet A8 printers as well as Skynet firmware. You can ask there if you need further help. Though the above steps are easy. </p>

CC BY-SA 3.0
2017-01-30T16:22:36.040Z
Thank you for the suggestion. I don't use facebook, and I'm not about to start though.
Onno
CC BY-SA 3.0
2017-05-19T20:22:06.140Z
I don't use facebook. In the end I managed to hook it up using a voltage divider and Skynet, as I already mentioned in the comments on the question.
Onno
CC BY-SA 4.0
2019-11-03T07:38:04.180Z
For those who read this old answer, Skynet3D was a girl of Marlin firmware, the changes for Anet printers have been merged into Marlin firmware.
0scar
CC BY-SA 3.0
2017-01-27T16:49:49.240Z
2017-05-09T01:34:06.943Z
2017-05-09T01:34:06.943Z
Anupam Chawaria
<p>I'm guessing you have the Anet sensor? If so and you are using the stock firmware that came with your A8 - it's not going to recognise the sensor  but you can download and flash the Anet A8L firmware that is designed to run with the sensor from the Anet site -  I stumbled on this while searching for stock firmware.</p>

<p>I hope this helps you out.</p>

CC BY-SA 3.0
2017-05-07T03:56:47.090Z
Do you have the link? The [Anet website](http://www.anet3d.com/English/Technical_Support/Data_Download/) does not offer any downloads currently. I found this link, [The Firmware Links You May Need](http://anet3d.en.made-in-china.com/custom-detail/xmQExQndGJUQxmQExQndGJUQ/The-Firmware-Links-You-May-Need.html), which links to dropbox locations. Is that what you mean?
Greenonline
CC BY-SA 3.0
2017-05-19T20:23:01.970Z
I used Skynet, as explained in my comment on the original question dated Jan 30th.
Onno
CC BY-SA 3.0
2017-05-07T02:30:44.037Z
2017-05-09T01:33:31.993Z
2017-05-09T01:33:31.993Z
Andy Davies
<p>I bought an Anet A8 over christmas. When I bought my printer from Gearbest, I also bought the inductive sensor that they <a href="http://www.gearbest.com/3d-printer-parts/pp_591321.html" rel="nofollow noreferrer">sell</a>.</p>

<p>It doesn't seem to work, and I think it might be broken. However, I have no idea how I can test if it is broken. This is what the wiring <a href="http://rotjes.bangblog.eu/reddit/DSC_0112.JPG" rel="nofollow noreferrer">looks</a> like and how it's connected to the <a href="http://rotjes.bangblog.eu/reddit/DSC_0113.JPG" rel="nofollow noreferrer">board</a></p>

<p>I'm not sure if I need to modify the wiring in order to hook it up to the A8's motherboard. I have no idea what the pinout is on the A8's mobo, and it's not indicated either. Most guides deal with using RAMPS when it comes to installing such a sensor. I'd like to know how to connect this to my board, if possible.</p>

<p>The printer works fine otherwise, so I don't think the board is broken or anything. For now I've resumed using the normal endstop, but I would like to enable bed levelling by installing this sensor. (or a different one if necessary)</p>

<p>How do I get this working?</p>

CC BY-SA 3.0
2017-01-29T10:00:05.013Z
Those connections don't fill me with confidence, the wiring colours are unusual. Hard to tell unless you can track down the actual sensor datasheet (the vendor has likely just put this together speculatively from off the shelf parts)
Sean Houlihane
CC BY-SA 3.0
2017-01-30T16:23:54.170Z
@SeanHoulihane I've managed to connect it using instructions I've found on Youtube after looking up stuff related to Tom's answer. I went for the voltage divider option.
Onno
<electronics><anet-a8>
Connecting an inductive sensor to the Anet A8
Onno
# Connecting an inductive sensor to the Anet A8

(Asked by: username_0 on 2017-01-07)

I bought an Anet A8 over christmas. When I bought my printer from Gearbest, I also bought the inductive sensor that they [sell](http://www.gearbest.com/3d-printer-parts/pp_591321.html).

It doesn't seem to work, and I think it might be broken. However, I have no idea how I can test if it is broken. This is what the wiring [looks](http://rotjes.bangblog.eu/reddit/DSC_0112.JPG) like and how it's connected to the [board](http://rotjes.bangblog.eu/reddit/DSC_0113.JPG)

I'm not sure if I need to modify the wiring in order to hook it up to the A8's motherboard. I have no idea what the pinout is on the A8's mobo, and it's not indicated either. Most guides deal with using RAMPS when it comes to installing such a sensor. I'd like to know how to connect this to my board, if possible.

The printer works fine otherwise, so I don't think the board is broken or anything. For now I've resumed using the normal endstop, but I would like to enable bed levelling by installing this sensor. (or a different one if necessary)

How do I get this working?

**Tags:** electronics, anet-a8
> **Comments:**
> **username_1**: Those connections don't fill me with confidence, the wiring colours are unusual. Hard to tell unless you can track down the actual sensor datasheet (the vendor has likely just put this together speculatively from off the shelf parts)  
> **username_0**: @SeanHoulihane I've managed to connect it using instructions I've found on Youtube after looking up stuff related to Tom's answer. I went for the voltage divider option.  

---

## 3 answers

### Answer by username_2 on 2017-01-07. Score: 2 | Accepted answer

I am not entirely familiar with the ANET A8 electronics, but it's very unlikely it's any different from how any other mainboard works, so any instructions that work for RAMPS should work for your board as well.

The sensor you linked to has an operating voltage range of "6V to 36V". However, the endstop connectors (on any mainboard I've come across) only provide 5V - not enough for the sensor to work. You could verify that this is also the case for your ANET board with a multimeter.

(Assuming the colour coding is standard) you'll need to connect the black wire to GND, the red wire to 12V, and the yellow wire **through a diode** to the signal pin of the endstop connector. The anode of the diode should connect to the signal pin and the cathode to the wire coming from the sensor.

The diode is required, because otherwise the 12V signal from the sensor will damage your electronics, which can only accept 5V. Any ordinary diode will do (for instance 1N4148). You should enable endstop pullups in your firmware when using this method (though if your board already has physical pullups this is not necessary but won't hurt either).

Note that if the sensor is inductive, it will also need an appropriate (metal) surface to trigger off. Unfortunately, it is not clear from the product description what type of sensor you have bought, and (amusingly) gearbest doesn't know either:

> Question:
>
> Hello, is this Sensor capazitiv or induktiv? Thank you verry much.
>
> Reply:
>
> It is an auto leveling sensor for 3D printers

> **Comments:**
> **username_1**: I believe its a non-standard mainboard from a firmware point of view, and people seem to be changing the firmware when they use this inductive sensor. I know when I switched to an opto sensor, I needed to invert the signal to the mainboard.  

---

### Answer by username_3 on 2017-01-27. Score: 0

You will have to:

1. Find and print something on Thingiverse to mount sensor;
2. Change firmware to Skynet and change the offset values accordingly, in order for the new sensor to recognize the bed.

There is official Facebook page of Anet A8 printers as well as Skynet firmware. You can ask there if you need further help. Though the above steps are easy.

> **Comments:**
> **username_0**: Thank you for the suggestion. I don't use facebook, and I'm not about to start though.  
> **username_0**: I don't use facebook. In the end I managed to hook it up using a voltage divider and Skynet, as I already mentioned in the comments on the question.  
> **username_4**: For those who read this old answer, Skynet3D was a girl of Marlin firmware, the changes for Anet printers have been merged into Marlin firmware.  

---

### Answer by username_5 on 2017-05-07. Score: 0

I'm guessing you have the Anet sensor? If so and you are using the stock firmware that came with your A8 - it's not going to recognise the sensor but you can download and flash the Anet A8L firmware that is designed to run with the sensor from the Anet site - I stumbled on this while searching for stock firmware.

I hope this helps you out.

> **Comments:**
> **username_6**: Do you have the link? The [Anet website](http://www.anet3d.com/English/Technical_Support/Data_Download/) does not offer any downloads currently. I found this link, [The Firmware Links You May Need](http://anet3d.en.made-in-china.com/custom-detail/xmQExQndGJUQxmQExQndGJUQ/The-Firmware-Links-You-May-Need.html), which links to dropbox locations. Is that what you mean?  
> **username_0**: I used Skynet, as explained in my comment on the original question dated Jan 30th.  

---

