I was thinking about the homing on the PUMA... today it dawned on me that there is a variable resistor (potentiometer) attached to each motor. If this resistor was given a reference voltage and ground... the output would vary from the reference (
VCC) to 0 (
GND). The trick is to detect only a single point.
Using a
741 OP AMP IC, you can accomplish this fairly quickly.
So if you use this circuit... then attach the output to an OPTO-ISOLATOR with the appropriate resistor... for example a
4N35 IC... then you get a
HIGH for anything above the set point, and a
LOW for anything below that point... just like you would get from a HOME switch.
You then could replace one of the fixed resistors in the voltage divider with a 10-turn potentiometer... and really fine-tune the HOME position. Or... you could see where it stops... and just set the offset in the
INI file.
In any event... it should work very well.
Thoughts?
Jerry