Hi guys,
I still can't solve a problem with my opto endstops (see
this page).
I know that the endstops are correctly assembled because I tested them powered directly from a power station with 5V - I connected GND and VCC to the screw terminal and LED began shining. The voltage on VCC was 5V and on the SIG 0V. When I get a piece of metal into the IR beam, the LED went out and the voltage on SIG was 5V.
That's right, but when I try to connect the endstop to the board (Sanguinololu 1.3a with Sprinter software) where the voltage is between the first and the third (on the board there is written GND and SIG but I don't know why the voltage isn't between GND and V+) pin 5V, the endstop doesn't run and the voltage on screw terminal is strange - VCC 1.8V and SIG 0.8V. The opto switch don't change its state (SIG voltage is still the same) and motors can move only one direction.
My Sprinter setting of endstops is:
#define X_ENDSTOP_INVERTING true
#define Y_ENDSTOP_INVERTING true
#define Z_ENDSTOP_INVERTING true
Thank you for your help.