Brown or Black Wire is the Ground Wire which will connect to the GND on the CP
Red is the positive lead and will go to the 3.3v connection on the CP
Yellow is the signal and will be clipped to A1 or A2 on the CP