12 volt input

ddutton:
Am i correct in dealing with 12 or any volt input. On my generator when the 12 volt run light comes on I want it to input to pin 3. Can i run the 12 volt to a relay and on the other side use the board 5 v pin to input to pin 3.

Have you determined the voltage on the lamp is DC or is it AC?

Paul