wiring diagram for the r522 pin male