Problem with RAMPS and induction Sensor March 23, 2015 10:45AM |
Registered: 10 years ago Posts: 13 |
Re: Problem with RAMPS and induction Sensor March 23, 2015 01:11PM |
Registered: 9 years ago Posts: 869 |
Re: Problem with RAMPS and induction Sensor March 23, 2015 03:01PM |
Registered: 10 years ago Posts: 13 |
Re: Problem with RAMPS and induction Sensor March 23, 2015 05:20PM |
Registered: 9 years ago Posts: 869 |
Re: Problem with RAMPS and induction Sensor April 02, 2015 07:00PM |
Registered: 12 years ago Posts: 1,352 |
Seems like the sensor is working.Quote
HoloPed
...When the output pin is not connected to the RAMPS, I measure 0v when the sensor is in the air, and 5v when it's touching metal. ...
A pullup on a pin is an internal resistor (inside microcontroller) that is tied on that pin and to the "high" level, e.g. 5volts. A pulldown is the other way, ties that pin to gnd, 0volts. So if you activate the pull~up (or ~down), it will just read 5v (respectively 0v), even if the pin is not connected to anything. If you have a pullup on that pin then it might perhaps still read 5v even when the sensor tries to output 0 (depends on sensor output stage and rating, as it may sink all pullup current or only part of it - didnt seen any datasheet). But you could (and probably should) try without any kind of resistors, no pullup and no pulldown, since the sensor output already seem to have a default state (which is what the pull-ups/downs are for - in case a default state is "missing").Quote
HoloPed
However, the Z-Min endstop status is always OPEN or TRIGGERED (depending if I invert the logic in the firmware) and doesn't change state when touching metal. I tried to enabled / disable ENDSTOPPULLUP_ZMIN, same result.