Hey guys, Im trying to figure out how to wire my Optical interupt switch to a BOB, it will be used for spindle index for threading. The switch i have is a OPB917BZ from RS, this particular switch has been discused before on cnc zone but i cannot seam to find the thread anymore, it mentioned useing a limiting resistor of 220r so i got some of those at the same time. the switch has 5 wires, red,black,green,white,blue, to my knowledge (and my knowledge of electronics is VERY limited) the red and black will go to a 5v ps (il use a usb charger) one of the 220 resistors will go in the red line between the ps and the switch. the other 3 wires i have no idea about, i assume just 1 of them will go to the BOB as the signal pulse at a spare pin and il enable it in mach,but wich one of the 3 i duno.
Any help on this will be much appresiated,
thanx in advance
Simon