M2 Auto-Leveling Kit (Beta)

The place to discuss your hardware and software/firmware modifications...
User avatar
Tim
Posts: 1205
Joined: Thu Apr 10, 2014 2:19 pm
Location: Poolesville, Maryland
Contact:

Re: M2 Auto-Leveling Kit (Beta)

Post by Tim » Thu Sep 03, 2015 6:59 pm

askernas wrote:One question, after watching the youtube video.. Is the voltage coming out of the Z-min 12V even though I have upped my PSU to a 24V PSU?
Just saw this post---voltage coming out of the signal for Z-min should never exceed 5V, because it is a direct input into the microcontroller, and the microcontroller runs at 5V. Although Josh says that the sensor will work if powered to 5V (which is 1V below its stated minimum supply rating), that puts it out of spec for its response time. Although the sensor is quite accurate, how accurately you can measure the bed depends on how quickly you can read back the signal from the Z-min while the bed is moving, so slower response means less accuracy. But if you instead power the sensor at 24V, the output will be pulled up to that, and you will need a voltage divider to drop it down. On the post where I described my auto-leveling setup, I showed a fairly simple circuit diagram for driving a discrete NPN transistor with the sensor output to properly control Z-min without worrying about over-voltage.
Have anyone verified the 4mm induction sensor works with only the bare M2 heat bed metal plate?
I haven't, but based on tests with a 2mm induction sensor, I'm pretty sure that the glass is going to be too thick for the 4mm sensor to detect the bed underneath. But I need to try it before I can say for sure.

askernas
Posts: 59
Joined: Fri May 30, 2014 9:57 pm

Re: M2 Auto-Leveling Kit (Beta)

Post by askernas » Thu Sep 03, 2015 8:54 pm

Tim wrote:
askernas wrote:One question, after watching the youtube video.. Is the voltage coming out of the Z-min 12V even though I have upped my PSU to a 24V PSU?
Just saw this post---voltage coming out of the signal for Z-min should never exceed 5V, because it is a direct input into the microcontroller, and the microcontroller runs at 5V. Although Josh says that the sensor will work if powered to 5V (which is 1V below its stated minimum supply rating), that puts it out of spec for its response time. Although the sensor is quite accurate, how accurately you can measure the bed depends on how quickly you can read back the signal from the Z-min while the bed is moving, so slower response means less accuracy. But if you instead power the sensor at 24V, the output will be pulled up to that, and you will need a voltage divider to drop it down. On the post where I described my auto-leveling setup, I showed a fairly simple circuit diagram for driving a discrete NPN transistor with the sensor output to properly control Z-min without worrying about over-voltage.
I saw that post, thank you, it was very informative.
Obviously, I need to alter resistor values as described in Thomas video of hooking it up if I take a 24V source rather than a 12V source.
Either I'll make use of one of the Voltage Converters I have lying back home for other projects or I'll go with resistors, your NPN transistor solution.

However, what My question really boiled down to, was from where the power was taken. Do you take it directly from the power inputs on the machine, or from a socket on the board, and if it's a socket form the board, is it still 24V or are there a ramped down voltage somewhere?

I haven't been digging into the RAMBo schematics much to be honest, as they frankly are a bit gibberish to me ;)
Tim wrote:
askernas wrote:Have anyone verified the 4mm induction sensor works with only the bare M2 heat bed metal plate?
I haven't, but based on tests with a 2mm induction sensor, I'm pretty sure that the glass is going to be too thick for the 4mm sensor to detect the bed underneath. But I need to try it before I can say for sure.
I am currently printing on BuildTak which is put directly on to the metal heat bed plate that came with my M2. No glass or mirrors or boroscillates used in the current setup. Buildtak is thin enough that it should not mess things up, but the metal heatbed plate is rather thin, so who knows if it will work.

After reading some more about this, and specifically posts about warping on thinner aluminium, I will see if I can go down the machined tool plate path to get a thicker (and ultra level) plate to work with.
Not sure I can get one here in Sweden as virtually no companies are interested in selling one small piece and treat one side, without charging silly money for it. Still looking around, though =)

Thank you so much for answering.
I've mostly been reading here, usurping the wisdom of others where I have so little to contribute ;)
Had this been about Oracle Databases or reading minds, however, I could have contributed a lot more... ;)

User avatar
Tim
Posts: 1205
Joined: Thu Apr 10, 2014 2:19 pm
Location: Poolesville, Maryland
Contact:

Re: M2 Auto-Leveling Kit (Beta)

Post by Tim » Thu Sep 03, 2015 9:51 pm

askernas wrote:However, what My question really boiled down to, was from where the power was taken. Do you take it directly from the power inputs on the machine, or from a socket on the board, and if it's a socket form the board, is it still 24V or are there a ramped down voltage somewhere?
The only voltages available from the RAMBo are either 24V or 5V. Since the sensor is rated at 6-36 V, the 24V is a perfectly good source. I don't have a RAMBo on my M2 anymore (swapped it out for an experimental Smoothieboard), but when I was last using one on my M2, I had a similar extra connection to drive an LED strip, and I tied it into the same terminal that was driving the electronics enclosure fan. The fans don't take much current relative to what the MOSFET on that terminal can drive, and the sensor is pretty low-current as well (much less than my LED strip), so the only real issue is "wire management", cramming more wires into the electronics enclosure and getting multiple wires into the terminal connector and screwed down tightly.

User avatar
insta
Posts: 2007
Joined: Tue Sep 16, 2014 3:59 am

Re: M2 Auto-Leveling Kit (Beta)

Post by insta » Thu Sep 03, 2015 11:28 pm

askernas wrote:
Tim wrote:
askernas wrote:One question, after watching the youtube video.. Is the voltage coming out of the Z-min 12V even though I have upped my PSU to a 24V PSU?
Just saw this post---voltage coming out of the signal for Z-min should never exceed 5V, because it is a direct input into the microcontroller, and the microcontroller runs at 5V. Although Josh says that the sensor will work if powered to 5V (which is 1V below its stated minimum supply rating), that puts it out of spec for its response time. Although the sensor is quite accurate, how accurately you can measure the bed depends on how quickly you can read back the signal from the Z-min while the bed is moving, so slower response means less accuracy. But if you instead power the sensor at 24V, the output will be pulled up to that, and you will need a voltage divider to drop it down. On the post where I described my auto-leveling setup, I showed a fairly simple circuit diagram for driving a discrete NPN transistor with the sensor output to properly control Z-min without worrying about over-voltage.
I saw that post, thank you, it was very informative.
Obviously, I need to alter resistor values as described in Thomas video of hooking it up if I take a 24V source rather than a 12V source.
Either I'll make use of one of the Voltage Converters I have lying back home for other projects or I'll go with resistors, your NPN transistor solution.

However, what My question really boiled down to, was from where the power was taken. Do you take it directly from the power inputs on the machine, or from a socket on the board, and if it's a socket form the board, is it still 24V or are there a ramped down voltage somewhere?

I haven't been digging into the RAMBo schematics much to be honest, as they frankly are a bit gibberish to me ;)
Tim wrote:
askernas wrote:Have anyone verified the 4mm induction sensor works with only the bare M2 heat bed metal plate?
I haven't, but based on tests with a 2mm induction sensor, I'm pretty sure that the glass is going to be too thick for the 4mm sensor to detect the bed underneath. But I need to try it before I can say for sure.
I am currently printing on BuildTak which is put directly on to the metal heat bed plate that came with my M2. No glass or mirrors or boroscillates used in the current setup. Buildtak is thin enough that it should not mess things up, but the metal heatbed plate is rather thin, so who knows if it will work.

After reading some more about this, and specifically posts about warping on thinner aluminium, I will see if I can go down the machined tool plate path to get a thicker (and ultra level) plate to work with.
Not sure I can get one here in Sweden as virtually no companies are interested in selling one small piece and treat one side, without charging silly money for it. Still looking around, though =)

Thank you so much for answering.
I've mostly been reading here, usurping the wisdom of others where I have so little to contribute ;)
Had this been about Oracle Databases or reading minds, however, I could have contributed a lot more... ;)
Crazy idea, but why not print a mount for a dremel to go where the extruder is, bolt on some cheap aluminum, and mill the surface directly with the M2?
Custom 3D printing for you or your business -- quote [at] pingring.org

User avatar
ednisley
Posts: 1188
Joined: Fri Apr 11, 2014 5:34 pm
Location: Halfway up the Hudson
Contact:

Re: M2 Auto-Leveling Kit (Beta)

Post by ednisley » Fri Sep 04, 2015 12:49 am

insta wrote:mill the surface directly with the M2?
Swarf!

viewtopic.php?f=14&t=2655&start=10#p16053

Image

User avatar
insta
Posts: 2007
Joined: Tue Sep 16, 2014 3:59 am

Re: M2 Auto-Leveling Kit (Beta)

Post by insta » Fri Sep 04, 2015 1:34 am

ednisley wrote:
insta wrote:mill the surface directly with the M2?
Swarf!

viewtopic.php?f=14&t=2655&start=10#p16053

Image
Clamp the machine on the edge of a table facing forward at a 90 degree angle and let gravity fix all ills.
Custom 3D printing for you or your business -- quote [at] pingring.org

User avatar
ednisley
Posts: 1188
Joined: Fri Apr 11, 2014 5:34 pm
Location: Halfway up the Hudson
Contact:

Re: M2 Auto-Leveling Kit (Beta)

Post by ednisley » Fri Sep 04, 2015 12:38 pm

insta wrote:let gravity fix all ills
About the only thing gravity helps with is putting those chips in the least accessible and most damaging location possible. With the Sherline, that's inside the keyboard, but an M2's electronics box, Z-axis leadscrew, and XY linear guides are ripe with potential. [sigh]

One of my near-term projects is a vacuum chuck for engraving. The general idea involves milling vents and channels in a block of machinable plastic, then flycutting it in situ to be absolutely flat & perpendicular to the Sherline's spindle. I expect the shop will be ankle-deep in blue wax when I'm done...

goopyplastic
Posts: 17
Joined: Fri Aug 07, 2015 10:37 pm

Re: M2 Auto-Leveling Kit (Beta)

Post by goopyplastic » Sun Sep 06, 2015 10:14 pm

This is probably a dumb question, but is this only for the v4 hotends? the sensor seems much too short to work with the v3b

User avatar
insta
Posts: 2007
Joined: Tue Sep 16, 2014 3:59 am

Re: M2 Auto-Leveling Kit (Beta)

Post by insta » Sun Sep 06, 2015 11:44 pm

goopyplastic wrote:This is probably a dumb question, but is this only for the v4 hotends? the sensor seems much too short to work with the v3b
Isn't the entire length of the sensor body threaded? I bet you could just turn it in the mount until it's in the right spot.
Custom 3D printing for you or your business -- quote [at] pingring.org

goopyplastic
Posts: 17
Joined: Fri Aug 07, 2015 10:37 pm

Re: M2 Auto-Leveling Kit (Beta)

Post by goopyplastic » Mon Sep 07, 2015 7:40 pm

insta wrote:
goopyplastic wrote:This is probably a dumb question, but is this only for the v4 hotends? the sensor seems much too short to work with the v3b
Isn't the entire length of the sensor body threaded? I bet you could just turn it in the mount until it's in the right spot.
Don't think so, gonna need a new v3 specific mount I think for example:

Image

Post Reply