I have a motor controller that has an electronic stop function where if I put 5v on a pin the motor runs. Once that 5v gets interrupted (goes to ground) the motor stops immediately.
On my device I have what’s called a “safety edge” - basically a bumper. At normal times the bumper is simply a wire with a 8k ohm resistor. If the bumper gets pressed the resistance goes to 0 ohm.
I have a feeling this is super basic but what’s the circuit that allows me to feed my controller with 5v and then cut off that 5v if my number goes from 8k ohm to 0 ohm (gets pressed)?
5v gets interrupted
is not the same thing asgoes to ground
\$\endgroup\$