I removed a photosensor from an OLD hp Inkject Printer. The photosensor is called "C8941-80018". I can't find any datasheet online. Does anyone know what wire color is what?
Best Answer
The colors differ from module to module. Some modules have Black-Green-Blue instead of White-Green-Red - At least Google Images say so.
The module itself is nothing different from a LED-Phototransistor Combo. According to your drawing, from the top-view, left side is LED (you can verify this by seeing a diode symbol on the topside) and right side is transistor. And the connection should be something like this:
A DB-25 cable with only 6 wires is probably configured as a nullmodem. Try to find a straight EIA-232 cable for connection between DCE (Data Communication Equipment, i.e. modem) and DTE (Data Terminal Equipment, aka PC), this should have all 25 pins connected.
A DB-15 VGA cable should also give you 13 wires, but return ground for red, blue and green may share the same wire (they shouldn't).
Obligatory link to the XKCD comic about standards:
So yeah, there are standards. There are so many of them that it's effectively the same as having no standard, as every possible wire arrangement likely has a standard that describes it.
Best Answer
The colors differ from module to module. Some modules have Black-Green-Blue instead of White-Green-Red - At least Google Images say so.
The module itself is nothing different from a LED-Phototransistor Combo. According to your drawing, from the top-view, left side is LED (you can verify this by seeing a diode symbol on the topside) and right side is transistor. And the connection should be something like this:
simulate this circuit – Schematic created using CircuitLab
From a Google search, you can find a picture from the bottom side of the module. And this picture verifies what I've shown above:
So;