3-pin connector (mini):
Black wire: Ground
Red wire: 6~12V voltage
Yellow wire: RPM sensor