Results 1 to 10 of 21
Thread: Solenoid for Z probing
-
04-25-2015, 10:56 AM #1
- Join Date
- Oct 2014
- Posts
- 114
Solenoid for Z probing
I am trying to use a solenoid instead of a proximity sensor to probe the bed, since the proximity sensor is heat sensitive and gives different results based on temp. The solenoid is connected to Pin5 and 2 on the PWM above the Mega chip.
I chanded the FW and when I send a M402 i only read 4.77v. Since my solenoid is 5v it is not enough to trigger it and I thought I should have 12v on that pin 5 anyway. Any ideas?
-
04-26-2015, 08:21 AM #2
Can you post some pictures of the probe engaged and retracted? Did you do anything to handle the inductive kick when the power cycles off to the solenoid? And... If it is a solenoid, why do you need to use the PWM mode of the output pins? Wouldn't just on or off make sense?
-
04-26-2015, 10:11 AM #3
- Join Date
- Oct 2014
- Posts
- 114
http://cdn.sparkfun.com/datasheets/R...s/ZHO-420S.pdf
This is the solenoid, yes on/off would be good enough, thought that is what I am doing. Got only e1 out left. That is why I thought about pin 5
Can't upload pics, it's not workingLast edited by Fri; 04-26-2015 at 11:56 AM.
-
04-26-2015, 01:36 PM #4
OK... Do you understand why I was questioning if PWM (Pulse Width Modulation) made sense? That kind of feels like a bad thing to do with a solenoid.
-
04-26-2015, 01:40 PM #5
- Join Date
- Oct 2014
- Posts
- 114
Good, thanks, where could I attache that solenoid right now I am working on a ramps board, which out would you use to turn it on when z probing?
-
04-26-2015, 01:50 PM #6
Well... I don't know off the top of my head. I would have to have schematics and more details from you. But here is what I can tell you off the top of my head. Most (if not all???) of the GPIO (General Purpose Input Output) pins can be configured as input or output. The pins that can do PWM are most likely not GPIO pins. They are even more flexible than GPIO pins. My guess is they can be configured to be just plain, stupid, simple Input or Output. If so... You can just use the same pin in a crippled mode.
But otherwise, you should be able to connect to some other GPIO pin and say it is output, and just set it high or low as needed.Last edited by Roxy; 04-26-2015 at 02:09 PM.
-
04-26-2015, 02:05 PM #7
- Join Date
- Oct 2014
- Posts
- 114
Okay, some other people have done this and refer to the output as ramps digital output and assign pin 63.
-
04-26-2015, 02:12 PM #8
Do you have a reverse biased diode across the solenoid? If this question doesn't make sense to you, please say so! It is very possible to fry your electronics doing this kind of stuff if you don't account for the inductive kick.
-
04-26-2015, 02:47 PM #9
- Join Date
- Oct 2014
- Posts
- 114
No right now I am just trying to find a 12v out that will react to the M401 with pin64 for z probe, the solenoid is not connected, but also, no this doesn't make sense to me. I am just trying to follow this http://community.robo3d.com/index.ph...stock-r1.3864/
-
04-26-2015, 03:14 PM #10
This circuit does have a reverse biased diode across its solenoid! If you follow its directions you will not cook your electronics.
Ender 3v2 poor printing quality
10-28-2024, 09:08 AM in Tips, Tricks and Tech Help