Soldering directly to a CNY 70 reflective sensor.
This is the second one i have killed.
I am thinking next time i should use a socket.
It is a hack for a rotary encoder on a little gear motor.
In the pic the blue wire is ground, red wire 5v and white wire is signal.