This sensor has two parts. The transmitting part has red wire and black wire. The red wire is 5V +. The black wire is GND. The receiving part has three wires. The yellow wire is signal.
Specification:
Voltage : 5V
Current : 5mA
Distance: 0 ~ 300mm
Weight: 6g
responsive time : 1ms
SEN03012
You can use this module to count goods at product line or anti-theft system