Duet3D / RepRapFirmware

OO C++ RepRap Firmware
GNU General Public License v3.0
945 stars 535 forks source link

[FeatureRequest]: Analog Endstops #938

Open Aquilux opened 11 months ago

Aquilux commented 11 months ago

Is your feature request related to a problem? Please describe.

I would like to use pressure sensitive resistors as my end stops. If this is already possible, could someone please direct me to documentation on it?

Describe the solution you propose.

To enable this I would like to use the same behavior seen in M558 in relation to analog probes but on end-stops as defined in M574

Describe alternatives you've considered

I can not find any documentation that identifies this behavior currently I am setting this up using the NO switch option and pull-up resistor

Provide any additional context or information.

My intent is to use a pull up resistor to the signal line, and connect the signal line to ground through the variable resistor. As force is applied to the resistor a corresponding voltage level should be seen on the sense pin. This is the chart I have for the resistor I'm using and I am under the impression the curve is similar to other examples: https://m.media-amazon.com/images/W/MEDIAX_792452-T2/images/I/51W2phEiw1L._SL1001_.jpg